Skip to content

Commit

Permalink
fixed bookmarks not being set while paused
Browse files Browse the repository at this point in the history
  • Loading branch information
pwicks86 committed Feb 28, 2012
1 parent 35470f1 commit f8def5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bookmarks4vlc.lua
Expand Up @@ -142,7 +142,8 @@ end

-- Return true if the player is playing or paused
function not_stopped()
return vlc.playlist.status() == ("playing" or "paused")
local cur_status = vlc.playlist.status()
return (cur_status == "playing") or (cur_status == "paused")
end

-- Given a time in seconds, go to that time in the currently playing file
Expand Down

0 comments on commit f8def5d

Please sign in to comment.