Append location to name...

Append location to name...

Postby edit4ever » Sat Jan 07, 2017 4:28 pm

I've been developing a grabber for tvheadend and came across a situation when adding/removing a lineup. When the system gets the response for antenna lineups, it seems they all have the name "Local Over the Air Broadcast". When you have multiple lineups, this is confusing. It would seem that it would make sense to append the location (zip code) to the name as in "Local Over the Air Broadcast - 92101". This would be similar to the name structure for cable/satellite lineups.

Anyone see any issues with changing the ota lineup names to this format?
edit4ever
 
Posts: 1
Joined: Wed Jan 04, 2017 11:28 am

Re: Append location to name...

Postby rkulagow » Mon Jan 09, 2017 10:17 am

Which REST endpoint are you accessing?
rkulagow
SD Staff
 
Posts: 882
Joined: Tue Aug 14, 2007 3:15 pm

Re: Append location to name...

Postby pete318 » Tue Jan 10, 2017 11:53 am

I think I know what you mean. I resolved this by using a treeview:

LineupPlusHeadend.png
LineupPlusHeadend.png (27.63 KiB) Viewed 595 times


Although as you can also see, other lineups DO include location. So, it's a bit inconsistent.
pete318
 
Posts: 4
Joined: Wed Nov 23, 2016 6:30 pm

Re: Append location to name...

Postby rkulagow » Mon Mar 06, 2017 8:19 pm

So would this response be more useful if it actually included the official USPS city name for the zip code, or just append the zip code to the end of "Local Over the air"?
rkulagow
SD Staff
 
Posts: 882
Joined: Tue Aug 14, 2007 3:15 pm


Return to Developer

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron