-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't retrieve channel list #40
Comments
Exactly the same issue here, using TVH 4.0.7 (stable release). Did also not work with the latest 4.1 build. Recordings are working fine in Plex, but live TV is impossible due to that bug. 2015-11-29 17:49:57,505 (7f736c9cc700) : DEBUG (networking:166) - Requesting 'http://10.0.6.1:9981/api/mpegts/service/grid?start=0&limit=999999' Entering the "failing" URL in a web browser works. |
UPDATE @CSchulz I've found the problem! You need to tag the user in TVH which you use in the plugin as an "admin"! Not sure if this is mandatory, if not you may consider changing this in the next update to not need admin level. I'm a bit careful not passing admin level logins to other services ;-) |
I vaguely remember needing to do this a long time ago and haven't taken a look at it closely. I think it is unfortunately necessary as I have seen similar requirements in the iOS client as well. It may be needed to interact with the API. If I get a chance I'll take a look but it might be simpler to list it as a necessary requirement in the README. |
I'm having this problem despite having an admin user in TVH. Any guesses as to what else could be causing the issue? TVheadend 4.1-1171~gaa13922 and Plex 0.9.12.19. The plex channel manages to populate the list of bouquets with my list of channel tags from TVheadend (I don't otherwise have bouquets specified), so it's clearly talking to the tvh server somehow, but that's all it can get. |
I have a similar issue caused by encoding problems. Maybe your list of channels have special characters? |
getting similar issues.. |
Hi, I had exactly the same problem and it was because of a channel name that the plugin didn't like. Damien |
Do you remember how the name looked like? It would be easier for debugging and finding the root cause. |
Yeah I know but saddly the name was pretty standard, something like Poland TV. What else can I do to help ? |
Perhaps you can try to reproduce it and store the webservice result. |
There are the results from the web service that i think is causing the issue |
I added some additional debugging and got this:
|
I was able to get it running by adding a Not sure if there are other issues though, since I can't test properly at the moment. |
I'll add this workaround. I really really want everyone to trigger the plex guys to update/offer the latest dev documentation. They really don't support the community anymore. |
It sounds more like an issue in the paging of the result |
It's neither a paging issue or a workaround. The reply is simply too large for the Plex libraries upper size limit. The real question is why you're requesting all services instead of just the configured channels. Anyway, I'm not using this anymore. |
Hi. How I fix this? Regards. |
For me the solution was to delete the channel that was causing the error. Sent from my iPhone
|
Thanks damhau. I have only enabled one channel and problem persist. I have also tried to modify the line 124 in init.py file, but problem persist. json_data = JSON.ObjectFromURL(encoding='utf-8', url=url, headers=headers, values=None, max_size= 10000000) Thanks. |
I am using tvheadend 4.1
If I click on all channels or select a bouquet I get the error message "Request failed! Please check channel settings and tvheadend status."
The log contains following:
The text was updated successfully, but these errors were encountered: