Fixed mpv youtube-quality script
This commit is contained in:
parent
8a92a9c488
commit
da3b812e71
1 changed files with 6 additions and 5 deletions
|
@ -258,7 +258,8 @@ function reload_resume()
|
||||||
local reload_duration = mp.get_property_native("duration")
|
local reload_duration = mp.get_property_native("duration")
|
||||||
local time_pos = mp.get_property("time-pos")
|
local time_pos = mp.get_property("time-pos")
|
||||||
|
|
||||||
mp.set_property_number("playlist-pos", playlist_pos)
|
--mp.set_property_number("playlist-pos", playlist_pos)
|
||||||
|
mp.commandv("playlist-play-index", playlist_pos)
|
||||||
|
|
||||||
-- Tries to determine live stream vs. pre-recordered VOD. VOD has non-zero
|
-- Tries to determine live stream vs. pre-recordered VOD. VOD has non-zero
|
||||||
-- duration property. When reloading VOD, to keep the current time position
|
-- duration property. When reloading VOD, to keep the current time position
|
||||||
|
|
Loading…
Add table
Reference in a new issue