Giter VIP home page Giter VIP logo

Comments (17)

Isayso avatar Isayso commented on July 29, 2024

Can you give me an example file?

from playlisteditortv.

BPanther avatar BPanther commented on July 29, 2024

Here 2 examples:

#EXTM3U tvg-url="https://kodi-unlimited-support.de/tv/epg.gz"
#EXTINF:-1 tvg-id="DasErste.de" tvg-name="ARD" group-title="IPTV-Germany",ARD
#EXTVLCOPT:http-user-agent=MYUSERAGENT/1.1
http://...
#EXTINF:-1 tvg-id="ARTEDeutsch.de" tvg-name="ARTE HD" group-title="IPTV-Germany",ARTE HD
#EXTVLCOPT:http-user-agent=MYUSERAGENT/1.1
http://...

from playlisteditortv.

Isayso avatar Isayso commented on July 29, 2024

Is this line always the same in the whole file? What should I do with it?

from playlisteditortv.

BPanther avatar BPanther commented on July 29, 2024

No, if exist, #EXTVLCOPT can have different values, e.g.

#EXTVLCOPT:http-user-agent=MYUSERAGENT/1.0
#EXTVLCOPT:http-user-agent=ANOTHERUSERAGENT/1.1
#EXTVLCOPT:video-filter=invert:croppadd{croptop=50,cropbottom=50}

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.

from playlisteditortv.

TangoCash avatar TangoCash commented on July 29, 2024

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}

#EXTM3U
#EXTINF:9,v1.avi
#EXTVLCOPT: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

from playlisteditortv.

Isayso avatar Isayso commented on July 29, 2024

A quick shot. Please try it. If you find bugs, send me the corresponding dataset and error description.
Not as vlc option, yet.

PlaylistEditorIPTV_v1.7.2DEBUG.zip

from playlisteditortv.

BPanther avatar BPanther commented on July 29, 2024

Looks great, thank you very much. But now the cursor keys are not working.

from playlisteditortv.

Isayso avatar Isayso commented on July 29, 2024

That's ..... no idea why. Will look into it

from playlisteditortv.

Isayso avatar Isayso commented on July 29, 2024

Next try ;)

from playlisteditortv.

BPanther avatar BPanther commented on July 29, 2024

Wow, great work. Thank you very much. :)

from playlisteditortv.

Isayso avatar Isayso commented on July 29, 2024

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

PlaylistEditorIPTV_v1.7.2DEBUG.zip

from playlisteditortv.

BPanther avatar BPanther commented on July 29, 2024

Edit/change of the m3u is now OK, but play with VLC does not working.

from playlisteditortv.

Isayso avatar Isayso commented on July 29, 2024

I guess I need a working file or vlc option string to test it.

from playlisteditortv.

BPanther avatar BPanther commented on July 29, 2024

Here a entry from https://github.com/iptv-org/iptv/blob/master/streams/us.m3u

#EXTINF:-1 tvg-id="WGNDT1.us" status="online" user-agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36 OPR/65.0.3467.48",WGN Chicago IL (WGN-TV1) (720p)
#EXTVLCOPT:http-referrer=https://plus.teleup.com/
#EXTVLCOPT:http-user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36 OPR/65.0.3467.48
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

#EXTINF:-1 tvg-id="BBCWorldNewsEurope.uk" status="online" user-agent="Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148",BBC World News (480p)
#EXTVLCOPT:http-user-agent=Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
http://ott-cdn.ucom.am/s24/index.m3u8

Or both a little bit shorter:

#EXTINF:-1 tvg-id="WGNDT1.us",WGN Chicago IL (WGN-TV1) (720p)
#EXTVLCOPT:http-referrer=https://plus.teleup.com/
#EXTVLCOPT:http-user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36 OPR/65.0.3467.48
https://cdn1-8p.teleuptv.net/3773db6d-881b-4096-b9cc-b4fe99ab68ac/index.m3u8

#EXTINF:-1 tvg-id="BBCWorldNewsEurope.uk",BBC World News (480p)
#EXTVLCOPT:http-user-agent=Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
http://ott-cdn.ucom.am/s24/index.m3u8

from playlisteditortv.

BPanther avatar BPanther commented on July 29, 2024

Wow, you're great - it works perfect. Thank you very much. :)

from playlisteditortv.

Isayso avatar Isayso commented on July 29, 2024

Please test it for a while. I don't use this kind of links, will probably not find bugs.

from playlisteditortv.

Isayso avatar Isayso commented on July 29, 2024

done in release v1.7.2

from playlisteditortv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.