Fix mpv.net 'auto load folder' playlist advancement bug
This commit is contained in:
parent
095cc4d834
commit
b7999e13ff
@ -269,6 +269,7 @@ MPV_ARGS = {'force-window': 'yes',
|
||||
'term-playing-msg': '<SyncplayUpdateFile>\nANS_filename=${filename}\nANS_length=${=duration:${=length:0}}\nANS_path=${path}\n</SyncplayUpdateFile>',
|
||||
'keep-open-pause': 'yes'
|
||||
}
|
||||
MPV_NET_EXTRA_ARGS = { 'auto-load-folder': 'no' }
|
||||
|
||||
IINA_PROPERTIES = {'geometry': '25%+100+100',
|
||||
'idle': 'yes',
|
||||
|
||||
@ -8,6 +8,7 @@ class MpvnetPlayer(MpvPlayer):
|
||||
|
||||
@staticmethod
|
||||
def run(client, playerPath, filePath, args):
|
||||
args.extend(constants.MPV_NET_EXTRA_ARGS)
|
||||
constants.MPV_NEW_VERSION = True
|
||||
constants.MPV_OSC_VISIBILITY_CHANGE_VERSION = True
|
||||
return MpvnetPlayer(client, MpvnetPlayer.getExpandedPath(playerPath), filePath, args)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user