Closed TazDevilLooney closed 11 months ago
Oh i forgot, i'm using your latest linux addition on Debrain bullseye.
provide example xmltv.xml file
I'm currently using the Xemo, Daddylive and TV Guide is that's any help. My xmltv.xml fire size is 25mb in size! only using those three service. I've tried all the resets but still it's very large. I'm not sure if it grows over time or not. The xmltv.xml is one long line of information with no character formatting.
<tv source-info-url="https://github.com/cabernetwork/cabernet" source-info-name="cabernet" generator-info-name="cabernet" generator-info-url="https://github.com/cabernetwork/cabernet"><channel id="437"><display-name>1 #0 Spain</display-name><display-name>#0 Spain</display-name><display-name>437</display-name><display-name>1 437</display-name></channel><channel id="521"><display-name>2 #Vamos Spain</display-name><display-name>#Vamos Spain</display-name><display-name>521</display-name><display-name>2 521</display-name></channel><channel id="501"><display-name>3 18+ (Player-01)</display-name><display-name>18+ (Player-01)</display-name><display-name>501</display-name><display-name>3 501</display-name></channel><channel id="502"><display-name>4 18+ (Player-02)</display-name><display-name>18+ (Player-02)</display-name><display-name>502</display-name><display-name>4 502</display-name></channel><channel id="503"><display-name>5 18+ (Player-03)</display-name><display-name>18+ (Player-03)</display-name><display-name>503</display-name><display-name>5 503</display-name></channel><channel id="504"><display-name>6 18+ (Player-04)</display-name><display-name>18+ (Player-04)</display-name><display-name>504</display-name><display-name>6 504</display-name></channel><channel id="505"><display-name>7 18+ (Player-05)</display-name><display-name>18+ (Player-05)</display-name><display-name>505</display-name><display-name>7 505</display-name></channel><channel id="506"><display-name>8 18+ (Player-06)</display-name><display-name>18+ (Player-06)</display-name><display-name>506</display-name><display-name>8 506</display-name></channel><channel id="507"><display-name>9 18+ (Player-07)</display-name><display-name>18+ (Player-07)</display-name><display-name>507</display-name><display-name>9 507</display-name></channel><channel id="508"><display-name>10 18+ (Player-08)</display-name><display-name>18+ (Player-08)</display-name><display-name>508</display-name><display-name>10 508</display-name></channel><channel id="509"><display-name>11 18+ (Player-09)</display-name><display-name>18+ (Player-09)</display-name><display-name>509</display-name><display-name>11 509</display-name></channel><channel id="510"><display-name>12 18+ (Player-10)</display-name><display-name>18+ (Player-10)</display-name><display-name>510</display-name><display-name>12 510</display-name></channel><channel id="511"><display-name>13 18+ (Player-11)</display-name><display-name>18+ (Player-11)</display-name><display-name>511</display-name><display-name>13 511</display-name></channel><channel id="512"><display-name>14 18+ (Player-12)</display-name><display-name>18+ (Player-12)</display-name><display-name>512</display-name><display-name>14 512</display-name></channel><channel id="513"><display-name>15 18+ (Player-13)</display-name><display-name>18+ (Player-13)</display-name><display-name>513</display-name><display-name>15 513</display-name></channel><channel id="514"><display-name>16 18+ (Player-14)</display-name><display-name>18+ (Player-14)</display-name><display-name>514</display-name><display-name>16 514</display-name></channel><channel id="515"><display-name>17 18+ (Player-15)</display-name><display-name>18+ (Player-15)</display-name><display-name>515</display-name><display-name>17 515</display-name></channel><channel id="516"><display-name>18 18+ (Player-16)</display-name><display-name>18+ (Player-16)</display-name><display-name>516</display-name><display-name>18 516</display-name></channel><channel id="517"><display-name>19 18+ (Player-17)</display-name><display-name>18+ (Player-17)</display-name><display-name>517</display-name><display-name>19 517</display-name></channel><channel id="518"><display-name>20 18+ (Player-18)</display-name><display-name>18+ (Player-18)</display-name><display-name>518</display-name><display-name>20 518</display-name></channel><channel id="519"><display-name>21 18+ (Player-19)</display-name><display-name>18+ (Player-19)</display-name><display-name>519</display-name><display-name>21 519</display-name></channel><channel id="520"><display-name>22 18+ (Player-20)</display-name><display-name>18+ (Player-20)</display-name><display-name>520</display-name><display-name>22 520</display-name></channel><channel id="857"><display-name>23 20 Mediaset Italy</display-name><display-name>20 Mediaset Italy</display-name><display-name>857</display-name><display-name>23 857</display-name></channel><channel id="726"><display-name>24 3sat DE</display-name><display-name>3sat DE</display-name><display-name>726</display-name><display-name>24 726</display-name></channel><channel id="360"><display-name>25 5 USA</display-name><display-name>5 USA</display-name><display-name>360</display-name><display-name>25 360</display-name></channel><channel id="800"><display-name>26 6'eren Denmark</display-name><display-name>6'eren Denmark</display-name><display-name>800</display-name><display-name>26 800</display-name></channel><channel id="862"><display-name>27 8Sky Cinema Comedy Italy</display-name><display-name>8Sky Cinema Comedy Italy</display-name><display-name>862</display-name><display-name>27 862</display-name></channel><channel id="868"><display-name>28 8Sky Cinema Suspense Italy</display-name><display-name>8Sky Cinema Suspense Italy</display-name><display-name>868</display-name><display-name>28 868</display-name></channel><channel id="302"><display-name>29 A&E USA</display-name><display-name>A&E USA</display-name><display-name>A&E</display-name><display-name>29 A&E</display-name><icon src="https://www.tvguide.com/a/img/catalog/provider/1/4/1-5704350368.png" /></channel><channel id="51"><display-name>30 ABC USA</display-name><display-name>ABC USA</display-name><display-name>WOLO</display-name><display-name>30 WOLO</display-name><icon src="https://www.tvguide.com/a/img/catalog/provider/1/4/1-4124037679.png" /></channel><channel id="766"><display-name>31 ABCNY USA</display-name><display-name>ABCNY USA</display-name><display-name>WABCH</display-name><display-name>31 WABCH</display-name><icon src="https://www.tvguide.com/a/img/catalog/provider/1/4/1-4124037679.png" /></channel><channel id="785"><display-name>32 ABS-CBN</display-name><display-name>ABS-CBN</display-name><display-name>785</display-name><display-name>32 785</display-name></channel><channel id="609"><display-name>33 Abu Dhabi Sports 1 Premium</display-name><display-name>Abu Dhabi Sports 1 Premium</display-name><display-name>609</display-name><display-name>33 609</display-name></channel><channel id="600"><display-name>34 Abu Dhabi Sports 1 UAE</display-name><display-name>Abu Dhabi Sports 1 UAE</display-name><display-name>600</display-name><display-name>34 600</display-name></channel><channel id="610"><display-name>35 Abu Dhabi Sports 2 Premium</display-name><display-name>Abu Dhabi Sports 2 Premium</display-name><display-name>610</display-name><display-name>35 610</display-name></channel><channel id="601"><display-name>36 Abu Dhabi Sports 2 UAE</display-name><display-name>Abu Dhabi Sports 2 UAE</display-name><display-name>601</display-name><display-name>36 601</display-name></channel><channel id="666"><display-name>37 ACC Network USA</display-name><display-name>ACC Network USA</display-name><display-name>ACCN</display-name><display-name>37 ACCN</display-name><icon src="https://www.tvguide.com/a/img/catalog/provider/1/4/1-7628459480.png" /></channel><channel id="664"><display-name>38 ACC Network USA</display-name><display-name>ACC Network USA</display-name><display-name>664</display-name><display-name>38 664</display-name></channel><channel id="295"><display-name>39 Adult Swim</display-name><display-name>Adult Swim</display-name><display-name>TOONHD</display-name><display-name>39 TOONHD</display-name><icon src="https://www.tvguide.com/a/img/catalog/provider/1/4/1-768522282.png" /></channel><channel id="784"><display-name>40 Alkass Four</display-name><display-name>Alkass Four</display-name><display-name>784</display-name><display-name>40 784</display-name></channel><channel id="781"><display-name>41 Alkass One</display-name><display-name>Alkass One</display-name><display-name>781</display-name><display-name>41 781</display-name></channel><channel id="783"><display-name>42 Alkass Three</display-name><display-name>Alkass Three</display-name><display-name>783</display-name><display-name>42 783</display-name></channel><channel id="782"><display-name>43 Alkass Two</display-name><display-name>Alkass Two</display-name><display-name>782</display-name><display-name>43 782</display-name></channel><channel id="303"><display-name>44 AMC USA</display-name><display-name>AMC USA</display-name><display-name>AMC</display-name><display-name>44 AMC</display-name><icon src="https://www.tvguide.com/a/img/catalog/provider/1/4/1-4839631057.png" /></channel><channel id="304"><display-name>45 Animal Planet</display-name><display-name>Animal Planet</display-name><display-name>ANIMAL</display-name><display-name>45 ANIMAL</display-name><icon src="https://www.tvguide.com/a/img/catalog/provider/1/4/1-6675065041.png" /></channel><channel id="531">
This one works in the package.......... https://i.mjh.nz/PlutoTV/gb.xml
` ?xml version="1.0" encoding="UTF-8"?><!DOCTYPE tv SYSTEM "xmltv.dtd">
So this is associated with importing Cabernet xmltv.xml file. What is the error on the clent side when you do the import?
I tried very hard to get a log of some description but the logs showed nothing about it. I tried using the merge again and it just highlights the epg in red and no error presented. Then i thought i'd try the IPTV Simply TV client and put the information in there. Same result with no error, no EPG but got some channel names and numbers, no thumbnails though.
After a bit more digging i managed to get a send and reply from the cabernet webserver.
While accessing the m3u and xml only........
Client asked for information from server -> OK
Server reply to the client was to |PTR| 7.2.0.10.in-addr.arpa
-> Errrr, Ummm
Reply should of been 10.0.. so were it's sending the reply i have no idea. I tried the web but nothing exists.
However i can bring the website up on a different machine no problem.
I use ssh to remote to the server and that works correct. I even gave the client and server DNS names but was still diverting to this mystery address. I guess i didn't notice before as all the software was on one unit (local host). Now i have two ( Server and Client ) This for some reason has popped up.
So my assumption of an issue with the m3u and xmltc.xml seems to be incorrect. I guess to be absolutely sure i need to rework the servicer unit. All it had was Pi-4, Debian bullseye + updates
It comes with Python2 as stock and upgraded it to v3.9 and removed v2 from the machine.
Python 3.7+ / sudo apt-get install python3-pip python-dev
python cryptography module / sudo apt-get install libssl-dev libffi-dev cargo pkg-config
pip install cryptography --no-binary cryptography
python requests module / pip install requests
(optional) streamlink module / pip install streamlink
ffmpeg and ffprobe / pip install python-ffmpeg
pip install ffprobe-python
sudo apt-get install ffmpeg
sudo apt-get install libavcodec-extra
sudo apt install ffmpeg:armhf
The Cabernet software was unzipped in the home folder. Can't really see much to go wrong really. I'm really busy the next few days but i'll restore it all if required. Please let me know your wishes.
On a plus note i copied the EPG to the client and was accepted. I also searched the m3u and xml files for the mystery address and nothing was found.
Thanks for your patients regarding this. :)
I see no info to help identify the issue. If you are using Kodi, you can turn on extreme logging. Without some kind of info, I will not be able to help.
Yeah I have the same/similar issue. Kodi just wont seem to acknowledge the EPG file(s) from cabernetwork, it simply does not work. I'm using the IPTV Simple Client.
If I use the EPG's that i.mjh.nz provide, they work just fine. If I implement them into cabernetwork and use the xmltv.xml provided by cabernetwork, then they don't work
Here's the log when it failed.
The log indicates the xmltv.xml had mismatched tags at character offset 0.
"display-name>
2023-10-13 15:08:53,993-NOTICE:utils Running threaded task EPG:Refresh XUMO EPG 2023-10-13 15:08:55,843-INFO:epg XUMO:default Processing 351 EPG Channels for day 2023-10-13 2023-10-13 15:08:55,844-INFO:epg XUMO:default Processing 12060 Programs 2023-10-13 2023-10-13 15:08:59,410-NOTICE:utils channels Update request ignored, retrying 6, database is locked 2023-10-13 15:09:04,937-NOTICE:utils channels Update request ignored, retrying 5, database is locked 2023-10-13 15:09:10,598-NOTICE:utils channels Update request ignored, retrying 4, database is locked 2023-10-13 15:09:16,319-NOTICE:utils channels Update request ignored, retrying 3, database is locked 2023-10-13 15:09:22,110-NOTICE:utils channels Update request ignored, retrying 2, database is locked 2023-10-13 15:09:27,841-NOTICE:utils channels Update request ignored, retrying 1, database is locked 2023-10-13 15:09:33,602-NOTICE:utils channels Update request ignored, retrying 0, database is locked 2023-10-13 15:09:39,093-NOTICE:utils channels Update request ignored, retrying 9, database is locked 2023-10-13 15:09:44,684-NOTICE:utils channels Update request ignored, retrying 8, database is locked 2023-10-13 15:09:50,405-NOTICE:utils channels Update request ignored, retrying 7, database is locked 2023-10-13 15:09:55,936-NOTICE:utils channels Update request ignored, retrying 6, database is locked 2023-10-13 15:10:01,507-NOTICE:utils channels Update request ignored, retrying 5, database is locked 2023-10-13 15:10:06,898-NOTICE:utils channels Update request ignored, retrying 4, database is locked 2023-10-13 15:10:12,680-NOTICE:utils channels Update request ignored, retrying 3, database is locked 2023-10-13 15:10:18,021-NOTICE:utils channels Update request ignored, retrying 2, database is locked 2023-10-13 15:10:23,792-NOTICE:utils channels Update request ignored, retrying 1, database is locked
2023-10-13 15:04:30,991-INFO:channels DaddyLive: Found 682 stations on instance default 2023-10-13 15:04:36,012-NOTICE:utils channels Update request ignored, retrying 9, database is locked 2023-10-13 15:04:41,764-NOTICE:utils channels Update request ignored, retrying 8, database is locked 2023-10-13 15:04:47,435-NOTICE:utils channels Update request ignored, retrying 7, database is locked 2023-10-13 15:04:53,077-NOTICE:utils channels Update request ignored, retrying 6, database is locked
Considering what you are doing, it might be normal. restart cabernet and continue
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I can confirm this is an issue. If header information is missing in the xmltv.xml file then Kodi/IPTV simple doesn't like it.
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE tv SYSTEM "xmltv.dtd">
If schema/dtd info missing then PVR IPTV Simple rejects the EPG info.
I'm having a problem importing the xmltv.xml into Matthuisman's IPTV Merge in Kodi. It seems the file is missing some header information and the app rejects it however it does import into TVHeadEnd with no issue.
Missing example........
xml version="1.0" encoding="ISO-8859-1" DOCTYPE tv SYSTEM "xmltv.dtd"
Thanks for your time :)