Jump to content

No Guide Data


Go to solution Solved by rkulagow,

Recommended Posts

Posted

I am trying to get EmbyTV to access unencrypted cableTV (Mediacom).

 

I installed the HDHomeRun tuner (Extend model), updated its firmware, signed up for a SchedulesDirect account, installed and configured the EmbyTV plugin in Emby, added the proper lineup in Emby as well as SchedDirect, but can not seem to get guide data. All I see is a list of my channels in Emby, but not what is on at what time (attachment "emptyguide.png"). When I refresh guide data, it takes about 1 second and then says it completed successfully but still no data.

 

The Emby server log (attachment "embylog.txt") shows that it can't find data for channel xyz for all channels.

 

But if I go to http://www.schedulesdirect.org/getdata (in their "report a lineup problem" page), I DO see data (attachment "sd_data_sample_xml.txt").

 

It seems like the channel mapping on the HDHomerun box is not mapping correctly to the data from Schedules Direct so Emby is never finding program data, or something like that.

 

I tried flagging all the channels as favorites in the HDHomerun app. Restarting the MediaBrowser service doesn't help either.

 

I can view live TV if I go to Channels and then click on a channel. I just never know what is on until it starts playing.

 

Is this something I can fix?

 

BTW: In a different computer, I have a Hauppauge TV tuner card and Windows Media Center has no problem getting guide data.

 

 

 

post-1359-0-64286100-1439265334_thumb.png

sd_data_sample_xml.txt

embylog.txt

bpsully930
Posted

I am having the same issue with my QNAP server and Hdhomerun prime. I also have a WMC box and it gets the data fine but get an empty guide with my QNAP.

Posted

Are you in the same area as me (Des Moines, Iowa) and/or use Mediacom? I'm curious if it's just a matter of how Mediacom is reporting their channels (which is what the HDHomerun box uses) vs what SchedulesDirect is expecting. If the channel number or ID does not match, it makes sense that no schedule data would be found.

Posted

I am trying to get EmbyTV to access unencrypted cableTV (Mediacom).

 

I installed the HDHomeRun tuner (Extend model), updated its firmware, signed up for a SchedulesDirect account, installed and configured the EmbyTV plugin in Emby, added the proper lineup in Emby as well as SchedDirect, but can not seem to get guide data. All I see is a list of my channels in Emby, but not what is on at what time (attachment "emptyguide.png"). When I refresh guide data, it takes about 1 second and then says it completed successfully but still no data.

 

 

[i work for Schedules Direct]

 

I don't know if there's more than one grabber for Emby, but there's an XML service and a JSON service. The XML service is just the US and Canada; the JSON service has a lot more countries and has more metadata available. The two services share the account database, but not the lineup tables, so adding a lineup on the website only updates the XML service. (The JSON lineup management is still being written)

 

If you're using the JSON service then please PM your Schedules Direct username and I can pull the server-side logs for Luke to look at.

Posted

@rkulagow: Maybe I'm just dense, but I couldn't figure out which program to choose from at the SD website (EmbyTV wasn't listed), so I tried checking some individually, and then when those didn't work, I checked them all. Is that what you mean? Otherwise, I'm not sure how to choose XML or JSON at the SD website. I think Emby uses XML from some previous reading, but not 100% sure.

Posted

@rkulagow: Maybe I'm just dense, but I couldn't figure out which program to choose from at the SD website (EmbyTV wasn't listed), so I tried checking some individually, and then when those didn't work, I checked them all. Is that what you mean? Otherwise, I'm not sure how to choose XML or JSON at the SD website. I think Emby uses XML from some previous reading, but not 100% sure.

 

OK; the list of programs that you're using isn't super-critical, other than for our internal metrics. I'll get EmbyTV added.

 

As far as whether you're using the XML service or the JSON service, I know that there's a JSON grabber that Luke is working on but since I don't know if that's what you're using. There are a lot of EmbyTV users pulling data, so maybe if someone can let you know "If your grabber says $foo, it's JSON" then that would help.

 

PM me your Schedules Direct username and I'll see what's happening.

Posted

OK; the list of programs that you're using isn't super-critical, other than for our internal metrics. I'll get EmbyTV added.

 

As far as whether you're using the XML service or the JSON service, I know that there's a JSON grabber that Luke is working on but since I don't know if that's what you're using. There are a lot of EmbyTV users pulling data, so maybe if someone can let you know "If your grabber says $foo, it's JSON" then that would help.

 

PM me your Schedules Direct username and I'll see what's happening.

 

PM sent! Thanks for taking the time to look at this!

 

Like I said, I'm not sure what EmbyTV uses. If the JSON version is currently in progress, I would assume it is currently using XML.

 

If you need me to invoke Emby to attempt to retrieve data, let me know. I can remote in to my home box anytime. I can also post screen grabs of the channel lineup that the HDHomerun interface provides if it will help.

Posted

I'm watching the server for your login, so go ahead and try again so that I can confirm what's happening.

Posted

OK, I can see that your client is requesting the details for your -DEFAULT lineup but not for your -X lineup. So it looks like the server-side is doing the right thing up to this point.

Posted

Thanks again. Hopefully someone from the Emby team can shed some light on this.

 

Here is an excerpt from my server log pertaining to the channel guide request. FYI, 192.168.1.109 is the IP of the HDHomerun box:

2015-08-11 11:13:26.0280 Info - App: StartupTrigger fired for task: Refresh Channels
2015-08-11 11:13:26.0280 Info - App: Queueing task RefreshChannelsScheduledTask
2015-08-11 11:13:26.7826 Info - App: Executing Refresh Guide
2015-08-11 11:13:26.7826 Info - App: HttpClientManager GET: http://192.168.1.109/
2015-08-11 11:13:26.8408 Info - EmbyTV: Start GetChannels Async, retrieve all channels for HDTC-2US-1050A1BD
2015-08-11 11:13:26.8408 Info - App: HttpClientManager GET: http://192.168.1.109/lineup.json
2015-08-11 11:13:26.8878 Info - EmbyTV: Found 87channels on host: 192.168.1.109
2015-08-11 11:13:26.8878 Info - EmbyTV: Only Favorites?True
2015-08-11 11:13:26.8878 Info - App: HttpClientManager POST: https://json.schedulesdirect.org/20141201/token
2015-08-11 11:13:27.1082 Info - EmbyTV: Authenticated with Schedules Direct token: *REDACTED*
2015-08-11 11:13:27.1082 Info - App: HttpClientManager GET: https://json.schedulesdirect.org/20141201/lineups/USA-IA14438-DEFAULT
2015-08-11 11:13:27.2486 Info - EmbyTV: Found 105 channels on the lineup on ScheduleDirect
2015-08-11 11:13:27.2486 Info - EmbyTV: Mapping Stations to Channel
2015-08-11 11:13:27.2486 Info - EmbyTV: Added 28 channels to the dictionary
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 5.1 WOI-HD
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 7.1 City
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 7.2 CITYHD
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 8.1 KCCI-HD
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 8.2 KCCI-SD
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 8.3 KCCI-MY
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 11.1 KDINHD
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 11.2 KDINSD1
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 11.3 KDINSD2
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 12.1 Unknown
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 13.1 WHO-HD
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 13.2 WHO-DT
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 13.3 WHO-DT
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 17.1 KDSM-DT
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 17.2 GET TV
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 17.3 GRIT TV
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 23.1 KCWI
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 39.1 ION
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 51.1 Hall
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 51.5 Fam
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 51.7 Com
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 51.11 DSC
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 51.13 FNC
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 51.17 RFD
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 51.19 TLC
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 51.21 WE
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 51.25 BTN
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 52.1 FX
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 52.5 ETV
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 52.7 NBCS
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 52.9 FS1
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 52.11 Univ
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 52.13 BET
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 52.15 Bravo
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 52.17 CNBC
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 52.19 APL
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 52.21 USA
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 52.23 Trav
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 53.1 CNN
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 53.3 HLN
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 53.5 TOON
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 53.7 TBS
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 53.9 TNT
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 53.11 SPIKE
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 53.13 TVLAND
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 53.15 CMT
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 53.17 MTV
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 53.19 NICK
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 53.21 MSNBC
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 53.23 truTV
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 54.1 FOOD
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 54.3 HGTV
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 54.5 DSNYJR
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 54.7 DSNY
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 54.11 AE
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 54.13 HIST
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 54.15 VH1
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 54.17 LIFE
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 54.21 SYFY
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 54.23 AMC
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 54.25 WGN
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 54.99 TELE
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 55.5 ESPN
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 55.11 Telefut
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 55.13 ESPN2
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 55.15 FMW
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 55.17 TWC
2015-08-11 11:13:27.2486 Info - EmbyTV: Schedules Direct doesnt have data for channel: 55.29 FSPLUS
2015-08-11 11:13:27.6228 Info - App: Refresh Guide Completed after 0 minute(s) and 0 seconds
2015-08-11 11:13:27.6228 Info - ServerManager: Sending web socket message ScheduledTaskEnded
2015-08-11 11:13:46.0289 Info - App: StartupTrigger fired for task: Log file cleanup
2015-08-11 11:13:46.0289 Info - App: Queueing task DeleteLogFileTask
2015-08-11 11:14:16.2637 Info - App: StartupTrigger fired for task: Cache file cleanup
2015-08-11 11:14:16.2637 Info - App: Queueing task DeleteCacheFileTask
2015-08-11 11:16:02.7777 Info - App: Udp message sent to 192.168.1.108:55879
2015-08-11 11:16:04.8077 Info - App: HttpClientManager POST: http://www.mb3admin.com/admin/service/registration/ping
2015-08-11 11:16:51.4905 Info - App: ScheduledTasksWebSocketListener stop transmitting over websocket to 127.0.0.1:53910
Posted

Ah, well there's your problem.

 

It looks like you have QAM there; while Schedules Direct supports QAM lineups, we need the scan sent to us in order to create a -QAM lineup (which would then have the "dot" channels in it.) so that you could select that rather than -DEFAULT or -X

 

If you can send me the output of http://192.168.1.109/lineup.json

 

directly to my main email account at rkulagow@gmail.com then I'll see what I can do.

Posted

Ah, well there's your problem.

 

It looks like you have QAM there; while Schedules Direct supports QAM lineups, we need the scan sent to us in order to create a -QAM lineup (which would then have the "dot" channels in it.) so that you could select that rather than -DEFAULT or -X

 

If you can send me the output of http://192.168.1.109/lineup.json

 

directly to my main email account at rkulagow@gmail.com then I'll see what I can do.

Done. I sent it from my gmail account.

bpsully930
Posted

Are you in the same area as me (Des Moines, Iowa) and/or use Mediacom? I'm curious if it's just a matter of how Mediacom is reporting their channels (which is what the HDHomerun box uses) vs what SchedulesDirect is expecting. If the channel number or ID does not match, it makes sense that no schedule data would be found.

 

No Im in MA and use Comcast.

 

 

Ah, well there's your problem.

 

It looks like you have QAM there; while Schedules Direct supports QAM lineups, we need the scan sent to us in order to create a -QAM lineup (which would then have the "dot" channels in it.) so that you could select that rather than -DEFAULT or -X

 

If you can send me the output of http://192.168.1.109/lineup.json

 

directly to my main email account at rkulagow@gmail.com then I'll see what I can do.

 

So I am having the same problem as him and Im not using QAM (have a Cablecard) so I am not sure if that is the issue.

 

Partial Log:

 

2015-08-11 07:31:09.8933 Debug - EmbyTV: Found channel: 66 in Schedules Direct

2015-08-11 07:31:09.8933 Debug - EmbyTV: Found channel: 67 in Schedules Direct

2015-08-11 07:31:09.8933 Debug - EmbyTV: Found channel: 69 in Schedules Direct

2015-08-11 07:31:09.8933 Debug - EmbyTV: Found channel: 83 in Schedules Direct

2015-08-11 07:31:09.8933 Debug - EmbyTV: Found channel: 88 in Schedules Direct

2015-08-11 07:31:09.8947 Info - EmbyTV: Added 67 channels to the dictionary

2015-08-11 07:31:09.8947 Info - EmbyTV: Schedules Direct doesnt have data for channel: 783 AXS TV HD

2015-08-11 07:31:09.8947 Info - EmbyTV: Schedules Direct doesnt have data for channel: 784 TRAVEL HD

2015-08-11 07:31:09.8947 Info - EmbyTV: Schedules Direct doesnt have data for channel: 787 ESQUIRE HD

2015-08-11 07:31:09.8947 Info - EmbyTV: Schedules Direct doesnt have data for channel: 788 LIFEMOV HD

2015-08-11 07:31:09.8947 Info - EmbyTV: Schedules Direct doesnt have data for channel: 789 FOXBUS HD

2015-08-11 07:31:09.8947 Info - EmbyTV: Schedules Direct doesnt have data for channel: 790 HALL MOV & MYST

Posted

Please PM me your Schedules Direct username and I will check the servers.

Posted

OK, you've added two lineups to your account -DEFAULT and -X.

 

Only the -X lineup is going to have channels that are higher that 125 (-DEFAULT is for plain analog coax out of the wall), so in order to get 783, etc, you need to be using -X.

  • Solution
Posted

The documentation on the API has been updated:
https://github.com/SchedulesDirect/JSON-Service/wiki/API-20141201#stationid--channel-mapping-for-a-lineup

 
to make the QAM lineup response look more like everything else.
 
Since there's at least 3 ways that providers put QAM on the wire (some have more information, some have less as far as whether they use a real callsign in the PSIP), QAM maps are a little more complicated. Comcast turned off my QAM a long time ago, so I'm basically trying to develop in a black-box.
 
Please pull down the QAM lineup again, and see if the grabber makes more matches now.
  • Like 1
Posted

Yay! Looks like everything works now! Thanks a bunch rkulagow.

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...