Retrieving Channel Lineup

Want to write your own code to work with a HDHomeRun or work with the HDHomeRun DVR? We are happy to help with concepts, APIs, best practices.
Post Reply
NOYB
Posts: 161
Joined: Thu Dec 12, 2013 2:12 am

Retrieving Channel Lineup

Post by NOYB »

How can I retrieve the complete channel lineup? i.e. All detected channels. Not just those that have not be marked as disabled.

These lineup URLs retrieve only the channels that have not been marked as disabled.
http://192.168.2.202/lineup.xml
http://192.168.2.202/lineup.json

signcarver
Expert
Posts: 9247
Joined: Wed Jan 24, 2007 1:04 am
Device ID: 10802091 131B34B7 13231F92 1070A18E 1073ED6F 15300C36
x 15

Re: Retrieving Channel Lineup

Post by signcarver »

?show=all at end of url

NOYB
Posts: 161
Joined: Thu Dec 12, 2013 2:12 am

Re: Retrieving Channel Lineup

Post by NOYB »

Awesome. Thank you.
Is there an HDHomeRun utility command for this too?

signcarver
Expert
Posts: 9247
Joined: Wed Jan 24, 2007 1:04 am
Device ID: 10802091 131B34B7 13231F92 1070A18E 1073ED6F 15300C36
x 15

Re: Retrieving Channel Lineup

Post by signcarver »

I believe what you are asking for is doing a scan from libhdhomerun/hdhomerun_config such as

hdhomerun_config <device id> scan /tuner<n>

as the json/xml data is more in the lines of the modern method of tuning vs the legacy methods

Post Reply