XMLTV guide data
-
- Expert
- Posts: 11404
- Joined: Wed Jan 24, 2007 1:04 am
- Device ID: 10A05954 10802091 131B34B7 13231F92 1070A18E 1073ED6F 15300C36
- x 45
Re: XMLTV guide data
Just to be clear, you are using the DeviceAuth(s) of the tuner for the "key" (changes every 8 hours and on reboot of hdhr, also requires device to have internet access) and not just mykey for the "key" and you also subscribe to the dvr service and you have a modern tuner that supports the dvr.
Re: XMLTV guide data
Thanks for checking, my DeviceID":"10A45CDA"
Re: XMLTV guide data
I am not seeing your account as being subscribe to the DVR guide service. This is a requirement for XMLTV access.
Re: XMLTV guide data
So I am not subscribed to the DVR service, I assumed since my Flex-4k could download the guide data that I could as well. I guess I missed the subscription requirement.
Re: XMLTV guide data
I subscribed Premium because I would like to use XMLTV epg with Emby.
But Now I understand that every 8 hours deviceauth expires.
So I have to open http://hdhomerun.local/discover.json copy new auth and past in Emby.
Every day If I want to be really up to date.
Is there a way to avoid that?
Why not giving me a link to an API with no need to authcode? Maybe simply a device code and your serve verify the service is active?
Although maybe someone could suggestb me a scripto for linux (I run Emby on synology) to download discover.json, extract the deviceauth, generate the api url with actual deviceauth and download it in a folder. Than I point emby to that folder?
I don't code from ages, should be very simple, maybe someone of you is already able to do that?
Thank!!!
But Now I understand that every 8 hours deviceauth expires.
So I have to open http://hdhomerun.local/discover.json copy new auth and past in Emby.
Every day If I want to be really up to date.
Is there a way to avoid that?
Why not giving me a link to an API with no need to authcode? Maybe simply a device code and your serve verify the service is active?
Although maybe someone could suggestb me a scripto for linux (I run Emby on synology) to download discover.json, extract the deviceauth, generate the api url with actual deviceauth and download it in a folder. Than I point emby to that folder?
I don't code from ages, should be very simple, maybe someone of you is already able to do that?
Thank!!!
Re: XMLTV guide data
OK I'm getting improvementelwizard wrote: Sun Apr 06, 2025 2:34 am I subscribed Premium because I would like to use XMLTV epg with Emby.
But Now I understand that every 8 hours deviceauth expires.
So I have to open http://hdhomerun.local/discover.json copy new auth and past in Emby.
Every day If I want to be really up to date.
Is there a way to avoid that?
Why not giving me a link to an API with no need to authcode? Maybe simply a device code and your serve verify the service is active?
Although maybe someone could suggestb me a scripto for linux (I run Emby on synology) to download discover.json, extract the deviceauth, generate the api url with actual deviceauth and download it in a folder. Than I point emby to that folder?
I don't code from ages, should be very simple, maybe someone of you is already able to do that?
Thank!!!
with
curl http://IP/discover.json | jq -r '.DeviceAuth'
I'm getting the string I need.
I'll go on now, I have to create the wget command with the url + string I have got, should be simple...
Re: XMLTV guide data
Sorry, I really need an help.
I got the correct way to get the deviceauth an do a wget with the url + code.
But both with wget and curl if I try to get https://api.hdhomerun.com/api/xmltv?Dev ... *********p
i get an error 400: bad request
If I past the same url in windows chrome I see the xmltv guide without problems....
I got the correct way to get the deviceauth an do a wget with the url + code.
But both with wget and curl if I try to get https://api.hdhomerun.com/api/xmltv?Dev ... *********p
i get an error 400: bad request
If I past the same url in windows chrome I see the xmltv guide without problems....
Re: XMLTV guide data
The xmltv service requires the use of gzip compression which browsers do by default.lwizard wrote: Sun Apr 06, 2025 6:57 am Sorry, I really need an help.
I got the correct way to get the deviceauth an do a wget with the url + code.
But both with wget and curl if I try to get https://api.hdhomerun.com/api/xmltv?Dev ... *********p
i get an error 400: bad request
If I past the same url in windows chrome I see the xmltv guide without problems....
Add the following to wget: --header="Accept-Encoding: gzip"
Add the following to curl: -H "Accept-Encoding: gzip"
The file saved to disk will be gzip compressed.
Re: XMLTV guide data
Thank you so much!
Worked perfectly.
Worked perfectly.
Re: XMLTV guide data
Thanks everyone for their help. I finally have epg123 setup with my HDHomerun Quattro with a fully functioning epg. My problem was I didn't have the epg 123 service starting with Windows. Now everything works fine.
Playlist: http://192.168.1.***/lineup.m3u (ip of your HDHomeRun)
epg: http://192.168.1.***:9009/output/hdhr2mxf.xmltv (ip of your computer that has epg123)
edited to correct spelling in epg link
Playlist: http://192.168.1.***/lineup.m3u (ip of your HDHomeRun)
epg: http://192.168.1.***:9009/output/hdhr2mxf.xmltv (ip of your computer that has epg123)
edited to correct spelling in epg link
Last edited by paulsaz on Mon Apr 28, 2025 4:41 pm, edited 1 time in total.
Re: XMLTV guide data
You know you can get the m3u from http://192.168.1.***:9009/output/hdhr2mxf.m3u as well. The benefit being the m3u and xmltv channel IDs will be the same so programs can generally automatically map guide listings to tuner channels.paulsaz wrote: Mon Apr 21, 2025 6:15 pm Thanks everyone for their help. I finally have epg123 setup with my HDHomerun Quattro with a fully functioning epg. My problem was I didn't have the epg 123 service starting with Windows. Now everything works fine.
Playlist: http://192.168.1.***/lineup.m3u (ip of your HDHomeRun)
epg: http://192.168.1.***:9009/output/hdhr2mxr.xmltv (ip of your computer that has epg123)
Re: XMLTV guide data
Thanks. I'm moving my plex server from a Shield TV to a old Pentium silver laptop running Windows 11 Pro with a 5tb usb 3.0 HD and will use these settings above for my tivimate settings on the network. So far I'm happy with the laptop using between 6 and 8 watts for the always on server.garyan2 wrote: Fri Apr 25, 2025 10:38 pmYou know you can get the m3u from http://192.168.1.***:9009/output/hdhr2mxf.m3u as well. The benefit being the m3u and xmltv channel IDs will be the same so programs can generally automatically map guide listings to tuner channels.paulsaz wrote: Mon Apr 21, 2025 6:15 pm Thanks everyone for their help. I finally have epg123 setup with my HDHomerun Quattro with a fully functioning epg. My problem was I didn't have the epg 123 service starting with Windows. Now everything works fine.
Playlist: http://192.168.1.***/lineup.m3u (ip of your HDHomeRun)
epg: http://192.168.1.***:9009/output/hdhr2mxr.xmltv (ip of your computer that has epg123)