playlist script, add options without rewriting path
Posted: 04 Nov 2019 13:37
I want to add option (namely, demux) without changing url. But, as path is not changed, script entered for second time and, in the end, it doesn't work (though, somehow no infinite loop happen). I need a way to tell vlc, that rewriting is final and no consecutive playlist script runs should happen.
Adding "no-lua" option doesn't work:
Also, i found no way to save global state in playlist scripts.
Only way I found is to append "?" to url (which luckily doesn't change its meaning in HTTP) to distingiush next runs from the first one.
Adding "no-lua" option doesn't work:
Code: Select all
item.options = {":demux=avformat :no-lua"}
Only way I found is to append "?" to url (which luckily doesn't change its meaning in HTTP) to distingiush next runs from the first one.