Posts: 270
Joined: Oct 2017
Reputation:
10
jim_p
Senior Member
Posts: 270
A confession about the functionality for tvg-name and channel-id. As I said above, when I was first compiling my list, the epg was not working for some channels if I set them with their channel-id, so I set every channel with its tvg-name and that worked 100%.
On the other hand, the same list with the same epg url was working fine on a friend's android app. The epg was working for all channels, regardless if they were set with channel-id or tvg-name. That led to an argument between us, because he did not want to change his list and make it "kodi compatible" too as I suggested. And since then, I have refused to contribute anything to that list, which I now maintain and keep for myself.
Posts: 2,641
Joined: May 2007
Reputation:
125
The tvg-id being set to channel id or tvg-name being set to the channel name in the xml tv should both work. As far I’m aware that is the de-facto standard. If this is not working correctly please provide an example and I will look into it.
Was it some other combination your friend was using that didn’t work?
Posts: 2,641
Joined: May 2007
Reputation:
125
Setting tvg-name to the channel id is just wrong. That is what tvg-id is for. You made the right call.
Congrats on getting yours published!
Posts: 270
Joined: Oct 2017
Reputation:
10
jim_p
Senior Member
Posts: 270
2021-10-22, 06:12
(This post was last modified: 2021-10-22, 13:57 by jim_p.)
So, for my example the priority order is
digea.ert1.gr (channel id defined by epg.xml) > ERT 1 (display name defined by epg.xml) > ERT1 (= the name I gave at the end of the line)
Correct?
Posts: 270
Joined: Oct 2017
Reputation:
10
jim_p
Senior Member
Posts: 270
So the order I posted above is correct and I can keep the tvg-names based on channel id (or tvg-id).
As for their names at the end of each line, all my channels have no spaces in their names. Even the ones that are named with 2 words are merged into 1.
Posts: 2,641
Joined: May 2007
Reputation:
125
Cool, then that will work just fine.
Posts: 270
Joined: Oct 2017
Reputation:
10
jim_p
Senior Member
Posts: 270
2021-11-09, 07:24
(This post was last modified: 2021-11-09, 18:45 by jim_p.)
Can I somehow... force-refresh the epg which is inside the m3u file or the entire m3u fiile? Right now I just disable and re-enable the addon. I am asking because today I noticed something really weird.
As I have mentioned above, I now have all my channels switched to their tvg-id. And earlier I noticed that the epg is completely missing for some of them, although it had no issues ~20 days ago that I made the changes in the m3u. The odd part is that some channels now have their epg after a specific time, e.g. after 8am, and nothing before that!
Because I do not have enough spare time lately, I admit that I have used the list (with the xml.gz inside it and the channels named after their tvg-id) very rarely. I will try setting them on their tvg-name and report back.
Posts: 270
Joined: Oct 2017
Reputation:
10
jim_p
Senior Member
Posts: 270
2021-11-09, 18:42
(This post was last modified: 2021-11-09, 18:42 by jim_p.)
Same thing with the channels set to their tvg-name.
There is no issue though if I add the epg url seperately in simple iptv's settings, in either xml or xml.gz format.
The addon is now on v19.0.2.1 and it was recently updated as it seems.
Posts: 2,641
Joined: May 2007
Reputation:
125
2021-11-09, 23:46
(This post was last modified: 2021-11-09, 23:51 by phunkyfish.)
You can set an update interval in the addon settings. What do you mean by channels set to their tvg-id or tvg-name? Do you mean the channel name, I.e. the end of the M3U after the comma is set to that value?
You should set both tvg-name and tvg-id for each channel in the M3U. The tvg-name should be set to the Display name from the xmltv and the tvg-id should be set the channel id from the xmltv.