Closed BPanther closed 2 years ago
Can you give me an example file?
Here 2 examples:
http://...
http://...
Is this line always the same in the whole file? What should I do with it?
No, if exist, #EXTVLCOPT can have different values, e.g.
So i think you can use a new field how tvg-id, but if value empty, then the line for #EXTVLCOPT not included for the selected entry.
The options are the same as the VLC command line (and preferences) options. Instead of use: vlc.exe "D:\videos\v1.avi" --video-filter=invert:croppadd{croptop=50,cropbottom=50}
d:\videos\v1.avi
May take a look at: https://code.videolan.org/videolan/vlc/-/blob/master/modules/demux/playlist/m3u.c#L299 https://code.videolan.org/videolan/vlc/-/blob/master/modules/misc/playlist/m3u.c#L97
A quick shot. Please try it. If you find bugs, send me the corresponding dataset and error description. Not as vlc option, yet.
Looks great, thank you very much. But now the cursor keys are not working.
That's ..... no idea why. Will look into it
Next try ;)
Wow, great work. Thank you very much. :)
bugfix, not tested for all types of files so far. The option is added at the end of all vlc options. Not sure if this is right. The line will be deleted if the column is hidden
Edit/change of the m3u is now OK, but play with VLC does not working.
I guess I need a working file or vlc option string to test it.
Here a entry from https://github.com/iptv-org/iptv/blob/master/streams/us.m3u
https://cdn1-8p.teleuptv.net/3773db6d-881b-4096-b9cc-b4fe99ab68ac/index.m3u8
As you can see, there can be more than one entry #EXTVLCOPT exist. The example needs both for working.
An other entry from https://github.com/iptv-org/iptv/blob/master/streams/uk.m3u
http://ott-cdn.ucom.am/s24/index.m3u8
Or both a little bit shorter:
https://cdn1-8p.teleuptv.net/3773db6d-881b-4096-b9cc-b4fe99ab68ac/index.m3u8
Wow, you're great - it works perfect. Thank you very much. :)
Please test it for a while. I don't use this kind of links, will probably not find bugs.
done in release v1.7.2
Please support the #EXTVLCOPT option for user-agent.