-
Notifications
You must be signed in to change notification settings - Fork 30
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
Use the tvg-name attribute value from the M3U file to create EPG xml data #42
Comments
Is this a statement or a question? If something isn't working as expected, please describe the problem in terns of what you see and what you expect to happen. Needs more info. |
It's a RFE. If there is no EPG for a channel, use the m3u "tvg-name" name for the EPG. |
For example: joe@emby:/opt/tv/m3u$ cat no_epg_channels.txt |
You started out with:
..which appears to be describing the scenario where your EPG provider is not supplying any EPG data for a number of channels. Then you continued with:
..which appears to be a request for this script to create or invent EPG data for channels where it doesn't exist. This needs more info / a detailed coherent explanation. |
Sorry for not being clear, english is my 3rd language and we do not use it much here.
This is mostly exactly correct. The EPG data does not exist from the provider link for the channel, this is true, but provider did provide some information in the channel name in the m3u. I noticed in my provider, for VOD they include the name in the m3u, for example: #EXTINF:-1 tvg-id="" tvg-name="Behind the Bullet - 2019" tvg-logo="[some image]" group-title="[VOD ACTION]",Behind the Bullet - 2019 [stream link.mp4] Many providers do not populate an EPG for VOD, but there is some information from the M3U that could be inserted into the EPG to make it easier to read on emby or plex. My provider uses tvg-name. Provider populated some information in the M3U for PPV/NHL/NBA and others like they did for VOD. I hope this is more clear. |
Thanks that has clarified things. If we do go down this road, it's worth highlighting now that the best you could expect from this script in terms of population of EPG data from the data that is present and usable in the M3U file would be the creation of In other words, to use the data in line number 1 from your no_epg_channels.txt file in your comment above
..it would be possible for this script to populate the output EPG with data that looks like this and no more:
I honestly have no idea if doing this would be enough to make Emby / Plex happier but if you think that this is of some value, I'd be happy to take a look at implementing this change in some way. Let me know, thanks. |
Yes please I think this would be of value. |
Thank you, I'll take a look asap and update back here when there's something ready for a test. |
Hi @ihavealegohead, I noticed your edited previous comment and see your screenshot. I have my doubts that the change being applied is going to give you what you want. I'm making the change now, we'll know soon enough. |
Ok there is a new branch here: https://github.com/jjssoftware/m3u-epg-editor/tree/EPG-extension ..currently containing one new commit: A new When EPG processing is enabled and when this new As previously mentioned, only I'm going to be very surprised if this alone results in the desired behaviour in Emby's EPG view as you have described in your screenshot. Give it a try and let me know how it goes. |
Thank you very much for the changes. My friend is helping me with my English hopefully this very helpful : I see now that the channel element from m3u is now in the guide, and this is good: joe@emby:/opt/xteve/m3u$ diff yv.xml /tmp/test/streams.xml
|
Thanks for the feedback, it is at the moment as I suspected it would turn out: populating the EPG with The corresponding It is easy enough to say "create this fake data" and I would guess that creating |
In fact this is what I do. I have a crob job that runs at 5am for m3u-epg-editor and then an EMBY job that runs at 5:15. Would it make sense to limit the EPG to range? --range [RANGE], -r [RANGE] This of course is acceptable and desirable. |
Thanks for that, that's a really good call on using the |
There is now another commit in the branch, this latest one introduces the creation of the required As part of this change I had to introduce the use of a new python module which enables timestamps in the EPG on the You might find that you need to install the tzlocal module if your python install doesn't already have it, i.e.: Please give this updated version a try and let me know how it goes. |
Looks good - this is a VOD view: Thanks for making the feature ! |
Thanks for the update, it sounds good if this works as expected for you. I'll merge the branch to master and generally clean up later on tonight |
Many PPV/NHL/NBA/NFL do not have a EPG entry .
Usually stored in: tvg-name in the m3u, for example:
tvg-name="[PPV-4] ALVAREZ VS SEALS UNDERCARDS 7PM ET"
Usually used with ""no_tvg_id": true"
The text was updated successfully, but these errors were encountered: