dyphire / mpv-scripts

userscripts for mpv
MIT License
53 stars 5 forks source link

open_dialog.lua after closing the player and opening it does not remember the audio track #2

Closed AdventurerRussia closed 1 year ago

AdventurerRussia commented 1 year ago

that is, you closed the player and opened it, and your player opens without a sound track already, although in my opinion it should either remember the connected track through your script, or when launching, connect the last track before connecting with your script but the script exposes just a video without sound

image

the video itself https://youtu.be/AkwSAhq8EPs

dyphire commented 1 year ago

The reason for this issue is that you may using watch-later-options=aid in mpv.conf. The open_dialog.lua does not save the path of subtitles and audio tracks, which exceeds its expected function. The real issue is that the option of watch-later-options does not support these properties of audio-file-paths, sub-file-paths, audio-add and sub-add.

AdventurerRussia commented 1 year ago

this is of course sad, except to force the script to enter its history log where all the paths are written.