Closed sabre6 closed 1 year ago
hey, I have no idea what an XC login is, if it involves an m3u file / EPG file it might work, if not probably not.
Thank you. I might have a work around. I get an error when trying to create an edited .xml file. Do you know what this might be?
2023-03-11T12:59:31.251182 saving retrieved epg file: /home/pi/xxxx/xxxx/test/original.xml
2023-03-11T12:59:31.938941 Traceback (most recent call last):
File "/home/pi/xxxx/yyyy/m3u-epg-editor-py3.py", line 1045, in
It's hard to say without being able to see the data but the error indicates that there's nothing/no value/a completely missing value in one or more of your m3u item tvg-id attribute values.
ok, thank you. Is the program able to edit a .m3u and .xml from a file location on my pi, or does it need to be from url?
Both http(s):// and file:// type URIs are supported. The Python script in this repo can pull files from local/remote web servers and local/remote file servers. Network connectivity allowing, a raspberry pi can act as a web server and/or a file server.
Thank you. So to use a file, it would be like this?
python3 /tmp/m3u-epg-editor-py3.py -m="file:///tmp/downloaded_m3u_file" -e="file:///tmp/downloaded_xml_file" -g=.......
Yep that's the way, just make sure that you get the number of forward slashes right. The right number of slashes differs depending on whether you're using script CLI arguments as in your sample and OS shell or if you're using JSON config. You have the general right idea though.
Thank you so much. Wonderful little program.
Hi @sabre6, I think this might be done, I'm going to close it. Feel free to reopen if need be.
Hi there,
Been using this great app for a few years now, using m3u login. But my IPTV provider will take that away soon and only use XC login. I don't suppose there is any option to make this work with an XC login?
Thank you.