Skip to content

Commit

Permalink
Fixed occasional double seek on MPlayer based players.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-123 committed Jun 8, 2013
1 parent 7a78cf2 commit b68615e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syncplay/constants.py
Expand Up @@ -57,8 +57,8 @@
VLC_SOCKET_OPEN_WAIT_TIME = 0.5

#These are not changes you're looking for
MPLAYER_SLAVE_ARGS = [ '-slave', '--hr-seek=absolute', '-nomsgcolor', '-msglevel', 'all=1:global=4:cplayer=4']
MPV_SLAVE_ARGS = [ '--slave-broken', '--hr-seek=absolute', '-msglevel', 'all=1:global=4']
MPLAYER_SLAVE_ARGS = [ '-slave', '--hr-seek=always', '-nomsgcolor', '-msglevel', 'all=1:global=4:cplayer=4']
MPV_SLAVE_ARGS = [ '--slave-broken', '--hr-seek=always', '-msglevel', 'all=1:global=4']
MPLAYER_ANSWER_REGEX = "^ANS_([a-zA-Z_]+)=(.+)$"
UI_COMMAND_REGEX = r"^(?P<command>[^\ ]+)(?:\ (?P<parameter>.+))?"
UI_OFFSET_REGEX = r"^(?:o|offset)\ ?(?P<sign>[/+-])?(?P<time>\d{1,4}(?:[^\d\.](?:\d{1,6})){0,2}(?:\.(?:\d{1,3}))?)$"
Expand Down

0 comments on commit b68615e

Please sign in to comment.