-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simple IPTV doesn't read the tvg-name tag now #913
Comments
Can you provide a test M3U and xmltv file that demonstrates this and I’ll take a look? In your log it simply shows that no EPG channels were found so difficult to deduce what is going wrong. |
I put them in the same paste bin |
I had other channels with English characters that I had the same issue. I rushed to get you the file so I made a mistake. I will get an updated one this weekend. |
Ok, no problem. |
Okay, I will reconfirm this weekend and see where I went wrong and report back and close out the ticket. |
I didn't realize that the Display name and the tvg-name must be equal. It wasn't this way in the past. |
It has always been like this. That code has not changed in many years. The preference order for matching channels to EPG is as follows: 1 - Match on tvg-id The first one of the above to match will cause that EPG to be chosen. |
Here is the xml and m3u https://paste.kodi.tv/ufugukasaj Screenshot in Kodi 21 (please note, I edited the theme to display weather and date) EPG SIPTV ver 21.9.8 |
Ok, very strange. I can see from the files that tvg-name and display-name do not match. So no EPG displayed is what I would expect. I’m stumped as to why v21 shows data as the code in both branches is identical. |
The changelog says it looks for tvg-id then tvg-name and then channel name. I assume this is done in the playlisterloader.cpp and .h files. I diff'ed the playlisterloader.h between 22.2.2 and 21.7.2 and there are a few slight differences but I don't know C well enough. |
Which version is the changelog entry you are referring to? playlistloader is where we read tvg-id and tvg-name. EPG.cpp is where we lookup an EPG and match against tvg-id, tvg-name and channel name pvr.iptvsimple/src/iptvsimple/Epg.cpp Line 435 in 04df2a9
|
In the changelog it is at v4.5.0 or line 481. Okay on the code. I am not good with C. |
V4.50 is 5 releases ago, so about 6/7 years. so as I said, the code has been that way for a long time. |
In the past SIPTV would read the tvg-name if the tvg-id was left blank and then display the proper guide. In the latest version 22.2.2 it no longer uses the tvg-name if the tvg-id is left blank so you are left without guide data.
https://paste.kodi.tv/zecuvepuhi.kodi
The text was updated successfully, but these errors were encountered: