-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
IPTV Manager support #1674
IPTV Manager support #1674
Conversation
Some points open for discussion:
|
I am rather busy now, so I am not ignore you, but I just need to find some time to look into this PR. |
I totally understand. No worries! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this! Looks like a good start. I had some comments.
Still in doubt how to make it more straighforward for other channels to also provide this kind of info. What if 10 channels provide EPG. How long would it take to fetch all of that EPG data.
BTW: if you rebase, the unittests should be working again. |
Thank you for your review! I will process your feedback next Monday.
I think a JSON-EPG is as straightforwarded as you can get. I tried to parse the menu items before using 10 channels should not be an issue, as it is a background process. |
Could you rebase on |
Thanks Bas! Btw, there is an issue with IPTV Manager / IPTV Simple. So IPTV Simple needs to be downgraded in order to get it to work. Will see if I can also fix that one. |
I will most likely do a quick release tonight and then focus on this PR. Still recovering but I can at least type with both hands again. |
@landgenoot Were you able to have a look at my comments? |
Hi Bas, yes. Thanks! However, IPTV manager is still broken. So I need to find some time to fix that one first. Now this PR is not working at all. |
Can you let me know when it's fixed again? So I can test some stuff. Also: I just removed Python 2 from Retrospect. So you might want to do a rebase. |
You can ignore the "Kodi via Zip" tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it all look good. Just a minor suggestion for the JsonHelper to prevent duplicate code.
...and please ignore the 1 code smell from SonarCloud. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Hi Bas, Thank you for your comments, I think all should be fixed now. The workaround is to rename the settings file after automatic configuration. My apologies for not complying to the git commit message convention with Added / Modified. I totally forgot. |
Thanks for you effort @landgenoot. Hopefully the IPTV Manager will fix the issue with the settings. |
Does this work yet? I downloaded IPTV manager and IPTV Simple Client, but I see nothing in Channels or Channel Guide. Is there something else I need to do? |
It does but perhaps this workaround is still needed add-ons/service.iptv.manager#107 |
Het navigeren naar de folder met user data lukt niet zelfs als ik hidden files zichtbaar maak in de settings. Ik krijg de folder niet te zien vanuit de IPTV simple settings, zpadet ik er niet naar kan verwijze in local path. |
Dit is meer een IPTV issue dan een Retrospect issue. Wellicht kunnen zij je verder helpen? |
Ik zal daar verder kijken. |
Functional description
Adds support for IPTV Manager, so that we can zap through the live streams of Retrospect and browse the EPG.
Reasoning
IPTV Manager was created with this use case in mind:
Technical description
For every channel, there can be two optional functions
create_iptv_streams
andcreate_iptv_epg
. When IPTV Manager is enabled in the Retrospect settings, these functions are called (if existent) and should respond respond with a JSON-STREAMS and JSON-EPG. The JSON's should contain URI's with a playvideo action. For every channel, a separate channel group is created in Kodi TV.Tasks & Activities
create_iptv_streams
for NPOcreate_iptv_epg
for NPOcreate_iptv_streams
andcreate_iptv_epg
Check if stream for EPG is available on beforehandFeel free to come up with any other tasks.
resolves #1673