Open JulienPalard opened 8 months ago
The programme you showed is from earlier in the day so would not show in the guide. Do you also have programmes from the present time in the day?
The programme you showed is from earlier in the day so would not show in the guide. Do you also have programmes from the present time in the day?
Could you please also provide a full debug log?
Do you also have programmes from the present time in the day?
Yes I had programs in the future in my xmltv file: the file was generated a few hours before my post with 24h of programs.
Could you please also provide a full debug log?
Here's the full log: kodi.log
Here's an extract:
$ grep -i epg ~/.kodi/temp/kodi.log
2023-10-09 21:00:06.802 T:635381 info <general>: Running database version Epg16
2023-10-09 21:00:07.105 T:635382 debug <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadEPG - EPG Load Start
2023-10-09 21:00:08.294 T:635382 debug <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadChannelEpgs - Loaded channel EPG with id 'france-3-paris-ile-de-france.mafreebox.fr' with display names: 'France 3 Paris Ile-de-France'
2023-10-09 21:00:08.294 T:635382 debug <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadChannelEpgs - Loaded channel EPG with id 'france-5.mafreebox.fr' with display names: 'France 5'
2023-10-09 21:00:08.294 T:635382 debug <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadChannelEpgs - Loaded channel EPG with id 'arte.mafreebox.fr' with display names: 'Arte'
2023-10-09 21:00:08.294 T:635382 debug <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadChannelEpgs - Loaded channel EPG with id 'france-2.mafreebox.fr' with display names: 'France 2'
2023-10-09 21:00:08.295 T:635382 debug <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadChannelEpgs - Loaded channel EPG with id 'la-chaine-parlementaire.mafreebox.fr' with display names: 'La Chaîne Parlementaire'
2023-10-09 21:00:08.295 T:635382 debug <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadChannelEpgs - Loaded channel EPG with id 'arte-allemand.mafreebox.fr' with display names: 'Arte Allemand'
2023-10-09 21:00:08.295 T:635382 debug <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadChannelEpgs - Loaded channel EPG with id 'france-4.mafreebox.fr' with display names: 'France 4'
2023-10-09 21:00:08.295 T:635382 info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadChannelEpgs - Loaded '7' EPG channels.
2023-10-09 21:00:08.304 T:635382 info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadEpgEntries - Loaded '773' EPG entries.
2023-10-09 21:00:08.305 T:635382 info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadEPG - EPG Loaded - 1200 (ms)
2023-10-09 21:00:08.327 T:635438 debug <general>: Thread EPGUpdater start, auto delete: false
2023-10-09 21:00:41.154 T:635470 debug <general>: Thread epg-grid-refresh-timeline-items start, auto delete: false
2023-10-09 21:00:50.376 T:635470 debug <general>: Thread epg-grid-refresh-timeline-items 140440380626624 terminating
2023-10-09 21:00:56.357 T:635438 info <general>: EPG Container: Persisting unsaved events...
2023-10-09 21:00:56.358 T:635438 info <general>: EPG Container: Persisting events done
2023-10-09 21:00:56.358 T:635438 debug <general>: Thread EPGUpdater 140440397412032 terminating
The m3u file is at https://mdk.fr/tele.m3u and the xml file is at https://mdk.fr/xmltv.xml (this one generated to contain 10 days of programs).
I can't find fault with your M3U file or the xmltv.
Can you have a look in the EPG database in kodi and see what is in there?
It's in userdata/Database/epg*.db
. You'll need DB Browser for SQL lite or a similar program to look inside it.
Thanks for the time you spend on this issue.
The Epg db is "almost empty", see:
$ sqlite3 ~/.kodi/userdata/Database/Epg16.db
SQLite version 3.43.1 2023-09-11 12:01:27
Enter ".help" for usage hints.
sqlite> .tables
epg epgtags lastepgscan savedsearches version
sqlite> select * from version;
16|0
sqlite> select * from savedsearches;
sqlite> select * from lastepgscan;
1|2023-10-09 18:44:28
2|2023-10-09 18:44:28
3|2023-10-09 18:44:28
4|2023-10-09 18:44:28
5|2023-10-09 18:44:28
6|2023-10-09 18:44:28
7|2023-10-09 18:44:28
sqlite> select * from epgtags ;
sqlite> select * from epg;
1|2 - France 2|client
2|3 - France 3|client
3|14 - France 4|client
4|5 - France 5|client
5|7 - Arte|client
6|616 - Arte Allemand|client
7|13 - La Chaîne Parlementaire|client
sqlite>
Ok, so now we know that the your tags are not being saved in the DB.
What must be happening is that we load the EPG data in the add-on, but kodi-pvr is never requesting this data from the add-on.
I have the same problem. Strangely, epg worked fine for a while and i didn't changed anything in the parameters.
Here's what the database says
LibreELEC-pi:~ # sqlite3 ~/.kodi/userdata/Database/Epg16.db
SQLite version 3.40.1 2022-12-28 14:03:47
Enter ".help" for usage hints.
sqlite> .tables
epg epgtags lastepgscan savedsearches version
sqlite> select * from version;
16|0
sqlite> select * from savedsearches;
sqlite> select * from lastepgscan;
1|2024-04-28 14:14:29
2|2024-04-28 14:14:29
3|2024-04-28 14:14:29
4|2024-04-28 14:14:29
5|2024-04-28 14:14:29
6|2024-04-28 14:14:29
sqlite> select * from epgtags ;
sqlite> select * from epg;
1|RTL-TVI|client
2|PLUG RTL|client
3|CLUB RTL|client
4|La Une|client
5|Tipik|client
6|La Trois|client
sqlite>
And the log
LibreELEC-pi:~ # grep -i epg ~/.kodi/temp/kodi.log
2024-04-28 12:05:58.277 T:1117 info <general>: Running database version Epg16
2024-04-28 12:05:58.605 T:1117 info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadChannelEpgs - Loaded '6' EPG channels.
2024-04-28 12:05:58.606 T:1117 info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadEpgEntries - Loaded '0' EPG entries.
2024-04-28 12:05:58.607 T:1117 info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadEPG - EPG Loaded - 7 (ms)
2024-04-28 12:05:58.609 T:1117 info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadEPG - EPG file path is not configured. EPG not loaded.
2024-04-28 12:05:59.667 T:1191 info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadChannelEpgs - Loaded '6' EPG channels.
2024-04-28 12:05:59.668 T:1191 info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadEpgEntries - Loaded '0' EPG entries.
2024-04-28 12:05:59.668 T:1191 info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadEPG - EPG Loaded - 3 (ms)
2024-04-28 12:05:59.669 T:1191 info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadEPG - EPG file path is not configured. EPG not loaded.
2024-04-28 12:31:00.495 T:1147 info <general>: [service.iptv.manager] [resources.lib.modules.addon] Requesting epg from plugin://plugin.video.catchuptvandmore/resources/lib/iptvmanager/epg/...
2024-04-28 12:31:00.495 T:1147 info <general>: [service.iptv.manager] [resources.lib.modules.addon] Executing RunPlugin(plugin://plugin.video.catchuptvandmore/resources/lib/iptvmanager/epg/?port=32837)...
2024-04-28 12:31:02.795 T:1191 info <general>: EPG Container: Persisting unsaved events...
2024-04-28 12:31:02.795 T:1191 info <general>: EPG Container: Persisting events done
2024-04-28 12:31:06.662 T:1596 info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadChannelEpgs - Loaded '6' EPG channels.
2024-04-28 12:31:06.663 T:1596 info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadEpgEntries - Loaded '0' EPG entries.
2024-04-28 12:31:06.663 T:1596 info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadEPG - EPG Loaded - 3 (ms)
2024-04-28 14:09:29.170 T:1609 info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadChannelEpgs - Loaded '6' EPG channels.
2024-04-28 14:09:29.171 T:1609 info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadEpgEntries - Loaded '0' EPG entries.
2024-04-28 14:09:29.172 T:1609 info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadEPG - EPG Loaded - 4 (ms)
2024-04-28 16:14:29.772 T:1609 info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadChannelEpgs - Loaded '6' EPG channels.
2024-04-28 16:14:29.774 T:1609 info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadEpgEntries - Loaded '0' EPG entries.
2024-04-28 16:14:29.774 T:1609 info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadEPG - EPG Loaded - 3 (ms)
I'm trying to generate a m3u file matching with an xmltv one, looks like what I generate works, it looks like it (I redacted parts for readability using the
[...]
syntax):It seems to load fine:
But inside Kodi in "TV" → "Guide" I'm getting the channels but no programs in them:
Maybe there's something that should be logged about what's going wrong?
iptvsimple version 20.6.1.