Kitt 0 Posted May 26, 2016 Posted May 26, 2016 (edited) A few days ago I noticed that I didn't have any guide data and recordings weren't happening. I clicked on LiveTV -> Schedules Direct and get the following error in a pop-up right away: Alert There was an error downloading tv lineups. Please ensure your information is correct and try again. I clicked "Got it" and the only information filled in was my username. I put in my password and got the same Alert error. I verified that the username and password are correct by logging in with the same credentials into Schedules Direct. Here are the associated log files: 2016-05-26 16:42:14.9571 Info App: ScheduledTasksWebSocketListener stop transmitting over websocket to 127.0.0.1:57184 2016-05-26 16:42:15.0116 Info HttpServer: HTTP GET http://localhost:8096/emby/System/Configuration/livetv. UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36 2016-05-26 16:42:15.0149 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 3ms. http://localhost:8096/emby/System/Configuration/livetv 2016-05-26 16:42:15.0440 Info HttpServer: HTTP GET http://localhost:8096/emby/LiveTv/ListingProviders/SchedulesDirect/Countries. UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36 2016-05-26 16:42:15.0468 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 3ms. http://localhost:8096/emby/LiveTv/ListingProviders/SchedulesDirect/Countries 2016-05-26 16:43:22.0032 Info HttpServer: HTTP POST http://localhost:8096/emby/LiveTv/ListingProviders?ValidateLogin=true. UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36 2016-05-26 16:43:22.0088 Info TaskManager: Queueing task RefreshChannelsScheduledTask 2016-05-26 16:43:22.0088 Info TaskManager: Executing Refresh Guide 2016-05-26 16:43:22.0088 Debug App: Refreshing guide from Emby 2016-05-26 16:43:22.0094 Error App: Error adding metadata *** Error Report *** Version: 3.0.5972.0 Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/mythtv/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh Operating system: Unix 3.5.0.54 Processor count: 8 64-Bit OS: True 64-Bit Process: True Program data path: /var/lib/mythtv/emby-server Mono: 4.2.1 (Stable 4.2.1.102/6dd2d0d Thu Dec 3 04:04:55 UTC 2015) Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe ListingsId required System.Exception at MediaBrowser.Server.Implementations.LiveTv.Listings.SchedulesDirect+<AddMetadata>c__async1.MoveNext () <0x417f3760 + 0x0013f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7f358e7fb6d0 + 0x00029> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7f358e7f96b0 + 0x000a7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7f358e7f9630 + 0x0006b> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7f358e7f95e0 + 0x0003a> in <filename unknown>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () <0x7f358e7f9b10 + 0x00012> in <filename unknown>:0 at MediaBrowser.Server.Implementations.LiveTv.EmbyTV.EmbyTV+<GetChannelsAsync>c__async2.MoveNext () <0x417c28b0 + 0x00e65> in <filename unknown>:0 2016-05-26 16:43:22.0166 Debug App: Running ChannelImageProvider for WHECDT3 (WHEC-DT3) 2016-05-26 16:43:22.0283 Debug App: Running ChannelImageProvider for WUHFDT3 (WUHF-DT3) 2016-05-26 16:43:22.0295 Debug App: Running ChannelImageProvider for W42COLD (W42CO-LD) 2016-05-26 16:43:22.0306 Debug App: Running ChannelImageProvider for W42COD2 (W42CO-D2) 2016-05-26 16:43:22.0317 Debug App: Running ChannelImageProvider for W42COD3 (W42CO-D3) 2016-05-26 16:43:22.0381 Debug App: Running ChannelImageProvider for WBGTCD5 (WBGT-CD5) 2016-05-26 16:43:22.0445 Debug App: Running ChannelImageProvider for WPXJDT4 (WPXJ-DT4) 2016-05-26 16:43:22.0472 Info App: Refreshing guide with 14 days of guide data 2016-05-26 16:43:22.0472 Debug App: Getting programs for channel 8.1-WROC-HD from Schedules Direct- 2016-05-26 16:43:22.0472 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0472 Debug App: Getting programs for channel 8.2-BOUNCE from Schedules Direct- 2016-05-26 16:43:22.0472 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0472 Debug App: Getting programs for channel 10.1-WHEC-TV from Schedules Direct- 2016-05-26 16:43:22.0472 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0472 Debug App: Getting programs for channel 10.2-MeTV from Schedules Direct- 2016-05-26 16:43:22.0472 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0472 Debug App: Getting programs for channel 10.3-WHEC-WX from Schedules Direct- 2016-05-26 16:43:22.0472 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0472 Debug App: Getting programs for channel 13.1-WHAM-HD from Schedules Direct- 2016-05-26 16:43:22.0472 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0472 Debug App: Getting programs for channel 13.2-CW-WHAM from Schedules Direct- 2016-05-26 16:43:22.0472 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0472 Debug App: Getting programs for channel 13.3-Grit-TV from Schedules Direct- 2016-05-26 16:43:22.0472 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0472 Debug App: Getting programs for channel 21.1-WXXI-HD from Schedules Direct- 2016-05-26 16:43:22.0472 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0472 Debug App: Getting programs for channel 21.2-WXXI-W from Schedules Direct- 2016-05-26 16:43:22.0472 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0472 Debug App: Getting programs for channel 21.3-WXXI-C from Schedules Direct- 2016-05-26 16:43:22.0472 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0481 Debug App: Getting programs for channel 31.1-WUHF-TV from Schedules Direct- 2016-05-26 16:43:22.0481 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0481 Debug App: Getting programs for channel 31.2-Antenna from Schedules Direct- 2016-05-26 16:43:22.0481 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0481 Debug App: Getting programs for channel 31.3-Comet-T from Schedules Direct- 2016-05-26 16:43:22.0481 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0481 Debug App: Getting programs for channel 42.1-TCT from Schedules Direct- 2016-05-26 16:43:22.0481 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0481 Debug App: Getting programs for channel 42.2-TCT Fam from Schedules Direct- 2016-05-26 16:43:22.0481 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0481 Debug App: Getting programs for channel 42.3-TCTKids from Schedules Direct- 2016-05-26 16:43:22.0481 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0481 Debug App: Getting programs for channel 46.1-WBGT-MY from Schedules Direct- 2016-05-26 16:43:22.0481 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0481 Debug App: Getting programs for channel 46.2-ThisTV from Schedules Direct- 2016-05-26 16:43:22.0481 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0481 Debug App: Getting programs for channel 46.3-TuffTV from Schedules Direct- 2016-05-26 16:43:22.0481 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0481 Debug App: Getting programs for channel 46.4-TNNT4 from Schedules Direct- 2016-05-26 16:43:22.0481 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0481 Debug App: Getting programs for channel 46.5-MYROC from Schedules Direct- 2016-05-26 16:43:22.0481 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0481 Debug App: Getting programs for channel 46.6-QVC from Schedules Direct- 2016-05-26 16:43:22.0481 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0481 Debug App: Getting programs for channel 51.1-ION from Schedules Direct- 2016-05-26 16:43:22.0481 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0491 Debug App: Getting programs for channel 51.2-qubo from Schedules Direct- 2016-05-26 16:43:22.0491 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0491 Debug App: Getting programs for channel 51.3-IONLife from Schedules Direct- 2016-05-26 16:43:22.0491 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0491 Debug App: Getting programs for channel 51.4-Shop from Schedules Direct- 2016-05-26 16:43:22.0491 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0491 Debug App: Getting programs for channel 51.5-QVC from Schedules Direct- 2016-05-26 16:43:22.0491 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0491 Debug App: Getting programs for channel 51.6-HSN from Schedules Direct- 2016-05-26 16:43:22.0491 Warn App: ListingsId is null, returning empty program list 2016-05-26 16:43:22.0574 Info TaskManager: Refresh Guide Completed after 0 minute(s) and 0 seconds 2016-05-26 16:43:22.0574 Info ServerManager: Sending web socket message ScheduledTaskEnded 2016-05-26 16:43:22.0581 Info TaskManager: ExecuteQueuedTasks 2016-05-26 16:43:22.2094 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 206ms. http://localhost:8096/emby/LiveTv/ListingProviders?ValidateLogin=true 2016-05-26 16:43:22.2597 Info HttpServer: HTTP GET http://localhost:8096/emby/System/Configuration/livetv. UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36 2016-05-26 16:43:22.2632 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 4ms. http://localhost:8096/emby/System/Configuration/livetv 2016-05-26 16:43:22.2843 Info HttpServer: HTTP GET http://localhost:8096/emby/LiveTv/ListingProviders/SchedulesDirect/Countries. UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36 2016-05-26 16:43:22.2870 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 3ms. http://localhost:8096/emby/LiveTv/ListingProviders/SchedulesDirect/Countries I tried deleting the ...../emby-server/config/livetv.xml file and re-configuring LiveTV (adding the HDHomeRun, then adding Schedules Direct as a "Guide Provider" but got the same errors. LiveTV and guide data with Schedules Direct has been working for many months without any issues. I haven't changed any configuration with LiveTV (or even Emby, for that matter) with the exception of updating the emby-server package when a new version is available. I'm running the emby-server 3.0.5972 on Ubuntu 14.04.4 LTS. Edited May 26, 2016 by Kitt
Luke 39386 Posted May 26, 2016 Posted May 26, 2016 Hi, you need to select a listing, so go back to the config page, and fill out the second half of the schedules direct config page.
Kitt 0 Posted May 26, 2016 Author Posted May 26, 2016 So you're saying I should just paste in my password, not click either of the 'save' buttons, and then the "Country:" drop-down will fill with options? If I put in my username and password nothing happens. If I click the Save button right below the password, that's when I get those errors. The Country and Lineup drop-downs are empty, even if I put in my zip code.
Luke 39386 Posted May 26, 2016 Posted May 26, 2016 No, they are two separate forms. do part #1, save it. then do form #2.
Kitt 0 Posted May 26, 2016 Author Posted May 26, 2016 (edited) That's what I've been doing. Doesn't work. I enter my username and password and click the green save button in the middle of the page under password. Then I get the error AlertThere was an error downloading tv lineups. Please ensure your information is correct and try again. The log that I pasted in the original post is what happens when I do exactly as you've instructed in post #4. After the error message neither of the drop-down options populate. Edited May 26, 2016 by Kitt
Luke 39386 Posted May 26, 2016 Posted May 26, 2016 please provide the server log from doing that, thanks.
Kitt 0 Posted May 26, 2016 Author Posted May 26, 2016 (edited) delete the folder /var/lib/mythtv/emby-server/cache/httpclient then try again. we get the list of countries from schedules direct then temporarily cache it for up to 24 hours. somehow an empty list must have gotten saved. please provide the server log from doing that, thanks. The full, current log is attached. Edited May 27, 2016 by Kitt
Luke 39386 Posted May 26, 2016 Posted May 26, 2016 i think your username and password are probablly fine, so now just select a country and zip code, then the available listings will refresh and you can pick one.
Kitt 0 Posted May 26, 2016 Author Posted May 26, 2016 How do I select a country? The drop down list is empty.
Solution Luke 39386 Posted May 27, 2016 Solution Posted May 27, 2016 delete the folder /var/lib/mythtv/emby-server/cache/httpclient then try again. we get the list of countries from schedules direct then temporarily cache it for up to 24 hours. somehow an empty list must have gotten saved. 1
Kitt 0 Posted May 27, 2016 Author Posted May 27, 2016 delete the folder /var/lib/mythtv/emby-server/cache/httpclient then try again. we get the list of countries from schedules direct then temporarily cache it for up to 24 hours. somehow an empty list must have gotten saved. Thank you. That fixed it. No errors when I went to the page, saving the password, etc. All of the fields filled in correctly and I now have guide data.
Luke 39386 Posted May 27, 2016 Posted May 27, 2016 Thanks for reporting. From now on we just won't cache that response anymore. Thanks.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now