-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
[DSTV] cached epg on plugin.video.dstv.now broken #187
Comments
Thanks for the info.
Requesting every programs data for every channel must take awhile?
I thought DStv would block something making that many quick requests
…On Thu, 28 Apr 2022, 17:50 David Bezuidenhout, ***@***.***> wrote:
Hi,
The EPG from:
https://github.com/matthuisman/slyguy.addons/blob/master/plugin.video.dstv.now/resources/lib/constants.py#L12
ZA_EPG_URL = 'https://i.mjh.nz/DStv/za.xml.gz'
is no longer working. I suspect that is because it is based on
http://guide.dstv.com/ which is now broken.
Instead https://www.dstv.com/en-za/discover/tv-guide/ works.
I create a fork of iptv-org at https://github.com/tinuva/epg which focus
on the epg for dstv.za
Any chance we can get the addon updated to use
https://tinuva.github.io/epg/guides/za/dstv.com.epg.xml ?
I confirmed works with the plugin by replacing the above line 12 with this
url.
Alternatively would be great if we can get a list of cached options to
select from in the addon settings to allow users the option of selecting
their preferred url.
—
Reply to this email directly, view it on GitHub
<#187>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPQAKOZ5AZPVLLSJBEIPEDVHIRKJANCNFSM5URHMHFQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Initially 2h30m but went up to 5h after adding in a fix for some channels not displaying at all in Kodi.
I would think they same, but if you view the https://github.com/iptv-org/egp repo they have been running it for a long time to both guides.dstv.com and dstv.com/en-za/discover/tv-guide/ Currently I only collect 2 days but it does update daily. |
Is it doing anything in parallel?
…On Thu, 28 Apr 2022, 18:33 David Bezuidenhout, ***@***.***> wrote:
Thanks for the info. Requesting every programs data for every channel must
take awhile?
Initially 2h30m but went up to 5h after adding in a fix for some channels
not displaying at all in Kodi.
I thought DStv would block something making that many quick requests
I would think they same, but if you view the
https://github.com/iptv-org/egp repo they have been running it for a long
time to both guides.dstv.com and dstv.com/en-za/discover/tv-guide/
Currently I only collect 2 days but it does update daily.
—
Reply to this email directly, view it on GitHub
<#187 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPQAKLVLGQ2JRZBPFQT2VLVHIWMFANCNFSM5URHMHFQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Currently it is all running in serial. First objective was to get it working 100% in kodi with the addon for me. Happy to look at changing it to run concurrently as a future improvement. Code runs on nodejs so it should definitely be possible. |
Also, if you know it takes 5 hours, then you could skip the first 5 hours of epg. Anyway, I'll try swap over the EPG source to your url tonight. |
That is a good idea! I am going to try and improve the time regardless. The action is configured to timeout after 8 hours as a safety to prevent forever running. Thank you for the update! |
is your guide ok? in chrome opening https://tinuva.github.io/epg/guides/za/dstv.com.epg.xml gives you "error on line 33 at column 42: xmlParseEntityRef: no name" |
ok, ive updated my server-side code to pull your epg every hour and serve that instead. this way dont need to change add-on and can switch easily if need to in future etc :) Thank you |
I think that is expected. The generator does add html entities, however when using in kodi, those html entities cause those channels to show up empty in kodi. When removing the html entities, this resolve the kodi display issue but then I guess makes the guide give that error in a browser. The aim was to have it work in kodi.
Awesome! Thank you! |
Actually this issue also breaks it for kodi. I am pushing an update to fix the xmlParseEntityRef error. |
Yeh. Needs to be valid xml for Kodi too. Xml has a few special characters
…On Sat, 30 Apr 2022, 19:31 David Bezuidenhout, ***@***.***> wrote:
Actually this issue also breaks it for kodi.
I am pushing an update to fix the xmlParseEntityRef error.
—
Reply to this email directly, view it on GitHub
<#187 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPQAKKMJF3GRZVHA6P36ALVHTOUDANCNFSM5URHMHFQ>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
Cool!
I guess if you knew it takes 5 hours to run, you could skip the first 5
hours of epg to parse :) or offset by 5 hours so your actually requesting
epg data to 48+5 hours away.
…On Thu, 28 Apr 2022, 18:37 David Bezuidenhout, ***@***.***> wrote:
Currently it is all running in serial. First objective was to get it
working 100% in kodi with the addon for me.
Happy to look at changing it to run concurrently as a future improvement.
Code runs on nodejs so it should definitely be possible.
—
Reply to this email directly, view it on GitHub
<#187 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPQAKI3NUW6775BJRDWNODVHIW2XANCNFSM5URHMHFQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hi,
The EPG from:
https://github.com/matthuisman/slyguy.addons/blob/master/plugin.video.dstv.now/resources/lib/constants.py#L12
is no longer working. I suspect that is because it is based on http://guide.dstv.com/ which is now broken.
Instead https://www.dstv.com/en-za/discover/tv-guide/ works.
I create a fork of iptv-org at https://github.com/tinuva/epg which focus on the epg for dstv.za
Any chance we can get the addon updated to use
https://tinuva.github.io/epg/guides/za/dstv.com.epg.xml.gz
?I confirmed works with the plugin by replacing the above line 12 with this url.
Alternatively would be great if we can get a list of cached options to select from in the addon settings to allow users the option of selecting their preferred url.
The text was updated successfully, but these errors were encountered: