Closed vortex91 closed 5 months ago
The url has changed. pushing out a version update 0.1.13 today.
I am not sure if thats the only reason. Epg seems to still udpate. What im stating is from time to time it stops and size of epg is not related to when it stops. For example on 2/12/24 update failed for 16:00 data (pacific time) and after that it worked. My best guess is that program data might have some invalid charachters in description such as < > ' " & and maybe others which im not aware of?
ElementTree auto encodes the strings, so no issues with special characters.
Well what i am certain of is that the size of xml does not matter and that its a preticular item within which causes issue. I can provide ither cabernet logs or client log if you like. test i have done so far
Let me know if you want logs from client or server
updated to latest and still same issue. As of now 2/18/2024 4:00pm pacific time is last epg data which will update. Log below
2024-02-18 23:24:48
2024-02-18 23:24:48,297-INFO:plugin_epg DaddyLive:default EPG update completed
2024-02-18 23:24:54
2024-02-18 23:24:54,300-DEBUG:web_handler [172.17.0.1] "GET /channels.m3u HTTP/1.1" 200 -
2024-02-18 23:24:54
2024-02-18 23:24:54,543-DEBUG:web_handler [172.17.0.1] "GET /xmltv.xml HTTP/1.1" 200 -
2024-02-18 23:24:54
2024-02-18 23:24:54,715-WARNING:epg2xml b'<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE tv SYSTEM "xmltv.dtd"><tv source-info-url="https://github.com/cabernetwork/cabernet" source-info-name="cabernet" generator-info-name'
2024-02-18 23:24:54
2024-02-18 23:24:54
2024-02-18 23:24:54,716-WARNING:epg2xml #### b'<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE tv SYSTEM "xmltv.dtd"><tv source-info-url="https://github.com/cabernetwork/cabernet" source-info-name="cabernet" generator-info-name'
2024-02-18 23:24:54
2024-02-18 23:24:54
2024-02-18 23:24:54,716-WARNING:epg2xml $$$$ b'<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE tv SYSTEM "xmltv.dtd"><tv source-info-url="https://github.com/cabernetwork/cabernet" source-info-name="cabernet" generator-info-name'
2024-02-18 23:24:54
2024-02-18 23:24:55
2024-02-18 23:24:55,516-DEBUG:epg2xml Processing EPG data PlutoTV:default 2024-02-18
2024-02-18 23:24:55
2024-02-18 23:24:55,765-WARNING:epg2xml $$$$ b'
so after 4:00 pm pacific time i was able to update epg without any issues. im guessing that its specific guide data causing the issue and once that time period is gone then it works.
log shows no issues
2024-02-18 23:28:34,233-INFO:epg2xml Connection dropped by client [Errno 32] Broken pipe
this is due to somethign in body of xml which causes issue. WHen this happens i have deleted entire data folder and re-updated entire db but its fails again on same time. I have also tried with 3 different clients.
K it seems like client is timeing out from looking at client logs. How can i edit either gui or options or code directly to remove EPG data of channels which do not have epg data. Currently they are filling up the XML with channel name. I want it to be blank in XML.
Use the channel editor to disable channels.
I do not want to disable. I want to be able to watch the channel. I just dont want that channel to have epg info in XML since its just repeating its name over and over.
I remember you had mentioned grouping instances. is that a feature now? are there docs on how to set that up?
yes. Create multiple instances and disable channels in each one. Example, disable last 50 channels in instance 1 and first 50 channels in instance 2. Then you can request either the m3u or xmtv file using the plugin name/instance name.
Based on testing i have done it would seem taht its not the size or lenght but probably invaalid charachters picked up. As example if epg data for 2/12/2024 is used then it fails.