Giter Site home page Giter Site logo

youtubetv.bundle's Introduction

YouTubeTV Plex Plugin

This is fast and easy alternative YouTube plugin for Plex Media Server.

Current status

  • Support categories
  • Support subscriptions
  • Support playlists
  • Support channels catalogue and video categories browsing
  • Search playlists, channels and videos
  • Support live streams

Features

  • Much faster than original Plex YouTube plugin
  • Full YouTube API v3 support
  • Does not require Google login and password
  • Navigation like YouTube Apps
  • Pagination and regional settings
  • Russian, Swedish, Danish, Dutch, French, French (Belgium), Hungarian, Italian, Spanish, German, Polish localization
  • YouTube content localization by region preferences
  • "Like" and "Watch later" video functions including edit function
  • Videos and playlists from videos description
  • Navigation by videos, playlists and channels from video description
  • Update function

Installation

You can install it using the instruction


Donate Поддержать

Help with localization

YouTubeTV on Transifex

youtubetv.bundle's People

Contributors

dionney avatar kolsys avatar kurtasov avatar mddepew avatar meriko avatar sander1 avatar vmirage avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

youtubetv.bundle's Issues

Created playlist does not play all videos without manual intervention

Hello,
Love this plugin and appreciate all the work that has been put into it by the contributors.
Apologies if this has been covered or I am doing something wrong.
The issue I am seeing is that when I create a playlist in YouTube, I cannot play that playlist through in its entirety. In the bundle, I need to select the clips manually one at a time to get them to play. Am I doing something wrong or can you tell me how I might get all the YouTube clips to play automatically one after the other. I am on version 4.1 of the YouTube TV bundle. My server version is Version 0.9.12.19 and can confirm that this issue exists when using Rasplex or just logging into plex server via the web or using a android phone app.
Thanks in advance for your feedback - happy new year!!
Steve

Ports used?

Accessing the channel with the ports of the plex guide and 40 and 443 open gives the response "This channel is not responding". Disabling firewall and the channel works fine. Which additional ports should be allowed through for channels to work?

External playlists not appearing in the playlist section.

I don’t know if it can be fixed but if you add playlists from other channels than your own, these playlists do not appear in your youtubetv playlist section.
I’m doing this because I’m tired of having my subscription feed flooded by videos I don’t care about from one channel but I do care for one series of videos from said channel which is kind enough to make a specific playlist for that program.

Updating Youtube channel

Ok, I installed this Plugin on Linux but It doesn't have any permission to access it's own data when I try to update. Its installed in /usr/lib/plexmediaserver/Resources/Plugins. Here is the error....
[Errno 13] Permission denied: '/usr/lib/plexmediaserver/Resources/Plug-ins-995f1dead/YouTubeTV.bundle/Contents/Code/.___init__.py'

Feature request - ordering options

Hi!
Love the plugin, but now I would like to watch all videos of a channel starting from the oldest video. All I can find is a "Subscriptions list sorting order" option for Alphabetical or Relevance. A "Oldest to newest" would be a great thing to have.

Thanks

Exception in My Subscriptions

res['continuations'] is an empty list.

From the log file:

2015-07-06 11:55:43,947 (3070) :  DEBUG (runtime:717) - Handling request GET /video/youtubetv/my/subscriptions
...
2015-07-06 11:55:44,002 (3070) :  CRITICAL (core:572) - Exception (most recent call last):
  File "C:\Users\czukowski\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py", line 843, in handle_request
    result = f(**d)
  File "C:\Users\czukowski\AppData\Local\Plex Media Server\Plug-ins\YouTubeTV.bundle\Contents\Code\__init__.py", line 212, in MySubscriptions
    'itct': res['continuations'][0]['click_tracking_params'],
  File "C:\Users\czukowski\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\code\sandbox.py", line 108, in <lambda>
    _getitem_           = lambda x, y: x.__getitem__(y),
IndexError: list index out of range

I'll try to fix and send a pull request.

Youtube may be experiencing problems

So, I installed the plug in and restarted the server and OpenPHT. When I go to use it all i get is "Youtube may be experiencing problems". I also did fill in my Youtube username and password on the server. Any thoughts?

Distorted sound on Samsung TV

The latest plex version 1.5.3.3580 in Synology is not well-heard. On PC it sounds good but in Samsung TV it is listened distorted.

Thanks

Please could we have an option to set any common video quality as the default?

In the opposite direction to that of request #12, could we have the option to set a lower quality as the default?

Get your pity bags ready, cuz I'm all the way down in South Africa and we have crappy internet at the best of times... Lol. Thing is, I use YouTube more for music mixes than anything else. I queue up a few hours of chillstep and let it play in the background while I code.

I do know about the option to change quality from within a playing video, but I would like to set something like 480p as my default. I've only got a 4mb line at home, so any more than that doesn't leave much bandwidth for browsing.

"No entries found" error

Hi, I've been using the YTTV plugin for PMS (Synology) for the past year with minimal issues, two days ago I updated to the 4.6 release, I then tried to view my YT subscription list only to receive a "No entries found" error.

I have checked the following and keep receiving the same error message:
Playlist - All subheadings
Categories - All subheadings
My Channel -All subheadings
History
Liked Videos
Watch Later

The only menu items working are the "What to Watch" & "Browse Channels."

Plex log.txt

Add option for default video quality

When playing a video, the plugin always ask for the quality to launch. It is cumbersome, I always choose the highest.
Issue on Rasplex, not test elsewhere

Youtube visible in web UI, but not in Rasplex/openPHT

Setup: I have PMS running on a headless Linux system, and Rasplex installed on two Raspberry Pi boxes.

I installed YouTubeTV.bundle in PMS and restarted the server, and it shows up in the web UI (under Online Content -> Plugins -> YouTube). I can view my subscription feed there and watch videos and whatnot and it all appears to work fine.

What doesn't seem to work is watching Youtube via OpenPHT on Rasplex. I saw that other people have reported issues with the videos showing up but not playing; I can't even get the videos to show up. Even after rebooting Rasplex, Youtube doesn't show up in the library list or the channel list.

Problems playing some videos

Good morning,

There are some videos that don't work. For example the first result of the search: Colplay paradise

My Plex Home Theater Log contains:
08:14:20 T:14148 ERROR: XFILE::CFileCache::Open - failed to open source https://r13---sn-2gb7ln7e.googlevideo.com/videoplayback?ratebypass=yes&expire=1455887661&sver=3&dur=260.086&pl=22&ip=81.95.157.168&mime=video%2Fmp4&fexp=9407118%2C9407490%2C9407495%2C9407504%2C9407520%2C9407610%2C9408206%2C9415943%2C9416126%2C9417703%2C9420452%2C9420708%2C9422596%2C9423293%2C9423661%2C9423662%2C9423968%2C9427884%2C9428013%2C9429220%2C9429236%2C9429542&sparams=dur%2Cgcr%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cxtags%2Cexpire&upn=g6CtTDV2mx4&id=o-ACvtByfgEcJpVo3Kz8LOIE0iaC4e7nvDKM0I0RLPW_yy&gcr=nl&lmt=1454765130582265&requiressl=yes&key=yt6&mn=sn-2gb7ln7e&mm=31&ms=au&mv=u&mt=1455865823&xtags=tx%3D9417362&source=youtube&ipbits=0&itag=22&signature=52CA89742D8ABF98B67F9350A55834B8398FD17A.C6CDE7DFF7726CF0C4B0D18E25899CBF049052A5
08:14:20 T:14148 ERROR: CDVDPlayer::OpenInputStream - error opening [https://r13---sn-2gb7ln7e.googlevideo.com/videoplayback?ratebypass=yes&expire=1455887661&sver=3&dur=260.086&pl=22&ip=81.95.157.168&mime=video%2Fmp4&fexp=9407118%2C9407490%2C9407495%2C9407504%2C9407520%2C9407610%2C9408206%2C9415943%2C9416126%2C9417703%2C9420452%2C9420708%2C9422596%2C9423293%2C9423661%2C9423662%2C9423968%2C9427884%2C9428013%2C9429220%2C9429236%2C9429542&sparams=dur%2Cgcr%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cxtags%2Cexpire&upn=g6CtTDV2mx4&id=o-ACvtByfgEcJpVo3Kz8LOIE0iaC4e7nvDKM0I0RLPW_yy&gcr=nl&lmt=1454765130582265&requiressl=yes&key=yt6&mn=sn-2gb7ln7e&mm=31&ms=au&mv=u&mt=1455865823&xtags=tx%3D9417362&source=youtube&ipbits=0&itag=22&signature=52CA89742D8ABF98B67F9350A55834B8398FD17A.C6CDE7DFF7726CF0C4B0D18E25899CBF049052A5]

Thanks and good work. Your Plugin is awesome

shaka1001 issue?

Im getting this error. Happy to provide whatever you need.

Playback Error
An error occurred trying to play "Fox News Live Tonight - The Five - Trump Breaking News".
shaka1001 (Network)

Filtering announcements

Currently, announcements look exactly the same as actual videos, but opening them raises KeyError: "itag" exception.

It seems to be possible to at least raise more informative error by analyzing "player_response" field of meta. It will have ["playabilityStatus"]["status"] = "LIVE_STREAM_OFFLINE" and ["playabilityStatus"]["reason"] = announcement

Stopped Working

This plug-in was working until late this morning then just stopped. It still shows all videos from a search but nothing plays, even videos I have watched just yesterday.

Question.

When you're watching a video with this plugin, does it play it directly from youtube or does the server grab it and then stream it to the viewer? (I am asking because if its the latter it could circumvent the youtube ban in some places)

Watch Later fails to load videos

Watch later was failing to load videos and giving a channel not responding error. There was an exception in the log for line 242 in Feed saying there was no 'contents'. After looking at the JSON that was being retrieved, it appears that the expected format had changed. I was able to correct this by changing line 216 from
res = res['section_list']['contents'][0]
to
res = res['section_list']['contents'][1]['contents'][0]

Refresh needed

This plugin does still work, however it does nothing apparently to EVER refresh it's view and re-retrieve the lists. Once you pull down one of your playlists like "watch later", forget adding anything with a PC and hoping it will show up. In fact, I honestly think the only way to get it to re-read the list is a full client restart. Add even a manual refresh menu item that even does a blanket wipe of it's caches of ALL objects would make this my #1 used Plex channel!

No ability to change Google/YouTube accounts

Once the YouTube bundle has been added, and the user has been successfully authorized through a Google account, there is no way that the user can switch to a different Google account.

** I have tried removing the bundle, cycling PMS, and then reinstalling the bundle. The script seems to write the auth somewhere outside the bundle...

Cannot play any video on TV

It works when I use Plex on my browser (in the computer that Plex has been installed), but on my TV it does not play. I can browse through my subscriptions, favourites,... but when I click on the video it does not play. I should add that, thumbnails are not displayed in TV, but I don't know if that's an expected thing.

Here is the log I collected from the moment click to play on my TV's remote:

Marker - 25 Jun 2016, 9:05:04 PM
2016-06-25 21:05:09,753 (7000029b8000) : DEBUG (runtime:717) - Handling request GET /video/youtubetv/video/view?vid=oCxRYvVN0CA
2016-06-25 21:05:09,754 (7000029b8000) : DEBUG (runtime:814) - Found route matching /video/youtubetv/video/view
2016-06-25 21:05:09,755 (7000029b8000) : DEBUG (services:616) - Found a service matching 'http://tv.youtube.plugins.plex.com/oCxRYvVN0CA&access_token=ya29.Ci8MA3tW2NjBzeRuquSC9GfPP3cSRRaz4C0RjjxMKm_-nQyX-owYFeOV5HbH5VMXTQ&hl=en' - YouTubeTV (com.plexapp.plugins.youtube.tv)
2016-06-25 21:05:09,756 (7000029b8000) : DEBUG (services:616) - Found a service matching 'http://tv.youtube.plugins.plex.com/oCxRYvVN0CA&access_token=ya29.Ci8MA3tW2NjBzeRuquSC9GfPP3cSRRaz4C0RjjxMKm_-nQyX-owYFeOV5HbH5VMXTQ&hl=en' - YouTubeTV (com.plexapp.plugins.youtube.tv)
2016-06-25 21:05:09,759 (7000029b8000) : DEBUG (networking:161) - Fetching 'https://www.youtube.com/watch?v=oCxRYvVN0CA&access_token=ya29.Ci8MA3tW2NjBzeRuquSC9GfPP3cSRRaz4C0RjjxMKm_-nQyX-owYFeOV5HbH5VMXTQ&hl=en' from the HTTP cache
2016-06-25 21:05:09,778 (7000029b8000) : DEBUG (services:616) - Found a service matching 'http://tv.youtube.plugins.plex.com/oCxRYvVN0CA&access_token=ya29.Ci8MA3tW2NjBzeRuquSC9GfPP3cSRRaz4C0RjjxMKm_-nQyX-owYFeOV5HbH5VMXTQ&hl=en' - YouTubeTV (com.plexapp.plugins.youtube.tv)
2016-06-25 21:05:09,779 (7000029b8000) : DEBUG (runtime:924) - Response: [200] MediaContainer, 9819 bytes
2016-06-25 21:05:09,785 (7000029b8000) : DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.plugins.youtube.tv/serviceFunction/url/com.plexapp.plugins.youtube.tv/YouTubeTV/PlayVideo?args=Y2VyZWFsMQoxCnR1cGxlCjAKcjAK&kwargs=Y2VyZWFsMQoxCmRpY3QKMgp1MTM3Cmh0dHA6Ly90di55b3V0dWJlLnBsdWdpbnMucGxleC5jb20vb0N4Ull2Vk4wQ0EmYWNjZXNzX3Rva2VuPXlhMjkuQ2k4TUEzdFcyTmpCemVSdXF1U0M5R2ZQUDNjU1JSYXo0QzBSamp4TUttXy1uUXlYLW93WUZlT1Y1SGJINVZNWFRRJmhsPWVuczMKdXJsaTIyCnMzCmZtdHIwCg__&indirect=1&mediaInfo=%7B%22audio_channels%22%3A%20null%2C%20%22protocol%22%3A%20null%2C%20%22optimized_for_streaming%22%3A%20true%2C%20%22video_frame_rate%22%3A%20null%2C%20%22duration%22%3A%20null%2C%20%22height%22%3A%20720%2C%20%22width%22%3A%201280%2C%20%22container%22%3A%20%22mp4%22%2C%20%22audio_codec%22%3A%20%22aac%22%2C%20%22aspect_ratio%22%3A%20null%2C%20%22video_codec%22%3A%20%22h264%22%2C%20%22video_resolution%22%3A%20720%2C%20%22bitrate%22%3A%20null%7D
2016-06-25 21:05:09,786 (7000029b8000) : DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.plugins.youtube.tv/serviceFunction/url/com.plexapp.plugins.youtube.tv/YouTubeTV/PlayVideo
2016-06-25 21:05:09,789 (7000029b8000) : DEBUG (networking:161) - Fetching 'https://www.youtube.com/watch?v=oCxRYvVN0CA&access_token=ya29.Ci8MA3tW2NjBzeRuquSC9GfPP3cSRRaz4C0RjjxMKm_-nQyX-owYFeOV5HbH5VMXTQ&hl=en' from the HTTP cache
2016-06-25 21:05:09,804 (7000029b8000) : DEBUG (ServiceCode:179) - Play itag: 22
2016-06-25 21:05:09,806 (7000029b8000) : DEBUG (runtime:924) - Response: [200] MediaContainer, 2963 bytes
2016-06-25 21:05:09,823 (7000029b8000) : DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.plugins.youtube.tv/serviceFunction/url/com.plexapp.plugins.youtube.tv/YouTubeTV/PlayVideo?args=Y2VyZWFsMQoxCnR1cGxlCjAKcjAK&kwargs=Y2VyZWFsMQoxCmRpY3QKMgp1MTM3Cmh0dHA6Ly90di55b3V0dWJlLnBsdWdpbnMucGxleC5jb20vb0N4Ull2Vk4wQ0EmYWNjZXNzX3Rva2VuPXlhMjkuQ2k4TUEzdFcyTmpCemVSdXF1U0M5R2ZQUDNjU1JSYXo0QzBSamp4TUttXy1uUXlYLW93WUZlT1Y1SGJINVZNWFRRJmhsPWVuczMKdXJsaTIyCnMzCmZtdHIwCg__&indirect=1&mediaInfo=%7B%22audio_channels%22%3A%20null%2C%20%22protocol%22%3A%20null%2C%20%22optimized_for_streaming%22%3A%20true%2C%20%22video_frame_rate%22%3A%20null%2C%20%22duration%22%3A%20null%2C%20%22height%22%3A%20720%2C%20%22width%22%3A%201280%2C%20%22container%22%3A%20%22mp4%22%2C%20%22audio_codec%22%3A%20%22aac%22%2C%20%22aspect_ratio%22%3A%20null%2C%20%22video_codec%22%3A%20%22h264%22%2C%20%22video_resolution%22%3A%20720%2C%20%22bitrate%22%3A%20null%7D
2016-06-25 21:05:09,824 (7000029b8000) : DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.plugins.youtube.tv/serviceFunction/url/com.plexapp.plugins.youtube.tv/YouTubeTV/PlayVideo
2016-06-25 21:05:09,826 (7000029b8000) : DEBUG (networking:161) - Fetching 'https://www.youtube.com/watch?v=oCxRYvVN0CA&access_token=ya29.Ci8MA3tW2NjBzeRuquSC9GfPP3cSRRaz4C0RjjxMKm_-nQyX-owYFeOV5HbH5VMXTQ&hl=en' from the HTTP cache
2016-06-25 21:05:09,842 (7000029b8000) : DEBUG (ServiceCode:179) - Play itag: 22
2016-06-25 21:05:09,844 (7000029b8000) : DEBUG (runtime:924) - Response: [200] MediaContainer, 2963 bytes

New subscriptions do not appear in My Subscriptions or elsewhere

Steps to reproduce:

  1. Subscribe to one or more youtube subscriptions on youtube.com.
  2. Install YouTubeTV.bundle in Plex and connect to your account.
  3. Observe that your existing subscriptions are visible in My Subscriptions and elsewhere in the plugin.
  4. Subscribe to a new channel on youtube.com

Expected:

The new subscription should appear in the plugin, eg. in My Subscriptions.

Actual:

The new subscription does not appear. I tried restarting plexmediaserver, refreshing the page, reinstalling the plugin (although I did not try clearing the plugin's data -- I wasn't completely sure how to do that).

Stopped working

Since a few days, the plugin has completly stopped working : it does not even show up in the list of installed plugins

Issue setting up device code

While setting up YoutubeTV I tried activating the code but pressed cancelled because i wanted to activate on a different google account, I tried typing the same code again on the other account but google says its incorrect, the plugin doesnt refresh the device code at all i tried uninstalling the plugin and reinstalling yet nothing happened.

I even restarted my pc just for good measure yet its still the same incorrect code.

image

How to add 'publishedAt' in video file name

Hello,
I woud like to add 'publishedAt' (in format YYMMDD) at the begining of name of video, but don't know where to change code?

Reason is use on xbox360 where only option is alphabetic sorting.

YouTube Account Authorisation per Plex user

Can we have the ability for each Plex user to use their own YouTube Google Account?

At present all Plex users who use the YouTUbe channel will see subscriptions of the master users account.

Purchased Materials

I am attempting to get purchased movies from Google Play into Plex. Your plugin does great to play YouTube content, but doesn't see the movies which are under my YouTube playlist Purchased by default. I am sure that is due to YouTube's security, but thought I would ask if there was a way to authorize this device to play purchased content.

Difficult to watch new subscription

When you go in "new video" from my subscription, I got the list of the subscriptions (wich is correct) but I cannot simply play the video, I should enter in the details of the video and click play on my remote.
Additionnaly, back to the list of video, if I click "play", this is the previous watched which is launched again.
This behaviour is the same for the list of "watch later" video.

This Plugin is not Responding

I'm running on Unraid in a Docker (linuxserver). Netowrk Type is Host, so I'm forwarding ports.

I'm able to log in and view all my videos and playlists. When I go to play one it gives me the "This plugin is not responding" message. Is there something special I need to configure for it to work in a docker?

Nov 16, 2018 15:09:00.962 [0x153781ffa700] DEBUG - Plug-in com.plexapp.plugins.youtube.tv has been used 71 times.
Nov 16, 2018 15:09:00.962 [0x153781ffa700] DEBUG - [com.plexapp.plugins.youtube.tv] Sending command over HTTP (GET): /video/youtubetv/video/view?vid=KzTTF_WNTfM
Nov 16, 2018 15:09:00.962 [0x153781ffa700] DEBUG - HTTP requesting GET http://127.0.0.1:38441/video/youtubetv/video/view?vid=KzTTF_WNTfM
Nov 16, 2018 15:09:01.056 [0x153781ffa700] DEBUG - HTTP 500 response from GET http://127.0.0.1:38441/video/youtubetv/video/view?vid=KzTTF_WNTfM
Nov 16, 2018 15:09:01.057 [0x153781ffa700] DEBUG - [com.plexapp.plugins.youtube.tv] HTTP reply status 500, with 3191 bytes of content.
Nov 16, 2018 15:09:01.059 [0x1537883ff700] DEBUG - Completed: [10.xxx.xxx.xxx1:62392] 500 GET /video/youtubetv/video/view?vid=KzTTF_WNTfM (15 live) TLS GZIP 98ms 1402 bytes (pipelined: 2)

items per page

How to change 'items per page' to 8 or some other smaller number (6, 7)
In preferences options are:16, 32, 48.

I did tried to change <items_per_page>@com.plexapp.plugins.youtube.tv.xml to 0.1 or -1 or 7 but not working.

Cannot play any videos, keep getting this error

I installed the latest version of the bundle (v4.6), and restarted my Plex Server, but I cannot seem to get the videos to play

I can browse, see all my subscriptions, even get Info and see codecs, etc on all the videos, but as soon as I play one, it says it cannot be loaded. Watching from my browser works fine, and also using youtube-dl from the same machine running Plex Server also works.

Here is the output in the log file:
YoutubeTV-error.txt

Video don't play

When i try to play any video it does nothing in UI, but puts this to log:

2016-01-09 17:02:07,761 (-bcee490) :  CRITICAL (runtime:889) - Exception (most recent call last):
  File "bundles-release/Framework.bundle-dist/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 843, in handle_request
TypeError: VideoView() got an unexpected keyword argument 'checkFiles'

2016-01-09 17:02:07,769 (-bcee490) :  DEBUG (runtime:106) - Sending packed state data (111 bytes)
2016-01-09 17:02:07,772 (-bcee490) :  DEBUG (runtime:924) - Response: [500] 431 bytes
2016-01-09 17:02:07,793 (-bcee490) :  CRITICAL (runtime:1128) - Exception in thread named '_handle_request' (most recent call last):
  File "bundles-release/Framework.bundle-dist/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1126, in _start_thread
  File "bundles-release/Framework.bundle-dist/Contents/Resources/Versions/2/Python/Framework/interfaces/socketinterface.py", line 126, in _handle_request
  File "bundles-release/Framework.bundle-dist/Contents/Resources/Platforms/Shared/Libraries/tornado/web.py", line 565, in finish
  File "bundles-release/Framework.bundle-dist/Contents/Resources/Platforms/Shared/Libraries/tornado/httpserver.py", line 432, in finish
  File "bundles-release/Framework.bundle-dist/Contents/Resources/Platforms/Shared/Libraries/tornado/httpserver.py", line 262, in finish
  File "bundles-release/Framework.bundle-dist/Contents/Resources/Platforms/Shared/Libraries/tornado/httpserver.py", line 283, in _finish_request
  File "bundles-release/Framework.bundle-dist/Contents/Resources/Platforms/Shared/Libraries/tornado/iostream.py", line 124, in close
AttributeError: 'NoneType' object has no attribute 'close'

Whole log file atteched, just removed access_token.
com.plexapp.plugins.youtube.tv.log.zip

Automatically play the next video

Use case: I've sought out this extension for the desire to play youtube music videos full screen, without having to deal with the bloated youtube interface.

Problems:

  • The next and previous buttons are disabled when playing a video from a playlist or a user's videos collection
  • When a video ends, it goes back to the video browser

Expectation:

  • next and previous buttons should take you to the next or previous video respectively
  • when a video ends, it should play the next video in the list

Playing videos no longer works

I can view thumbnails and browse but no video plays. I checked the logs and I find critical errors related to sandbox.py. Running on server 2016

Playing on remote doesn't work

I've installed the latest version of YoutubeTV today to use with two client devices (one Windows with Plex Media Player and one Linux with Firefox 58).
When I play Youtube Channel's videos locally it works both on Windows and Linux BUT if I try to play it through the PMP "remote control" I have an error pop-up "Error when loading video" in Firefox (with no exploitable error logs).

So steps to reproduce:

  1. Connect a PLEX Media Player on a Windows device and a Firefox PLEX client on Linux
  2. Remote control the Linux Client from the Windows Client
  3. Play any video in the Youtube Channel (from Subscriptions for example)

=> The video launch on remote (Linux) fails and an error pop-up rises

Can't play any video

Hi,

I just installed v4.3 and after authorization i'm able to see the yt channels i'm subscribed to. I can see the videos in each channel, but when i try to play an of the videos, i just get the error: "Plex Media Server is not responding"

com.plexapp.system.log shows:

2016-05-05 11:03:39,653 (808b90c00) : DEBUG (runtime:717) - Handling request GET /system/services/url/lookup?url=http%3A%2F%2Ftv.youtube.plugins.plex.com%2FgM_ikd8CwHA%26access_token%3Dya29.CjLZAh5xjUYe3k04ta9g4uOJOVIkSpqDn2kneiFfb5XufoSFQFtqxbuVgrkfwuE1bFDPlQ%26hl%3Den 2016-05-05 11:03:39,657 (808b90c00) : DEBUG (runtime:814) - Found route matching /system/services/url/lookup 2016-05-05 11:03:39,658 (808b90c00) : DEBUG (services:23) - Looking up URL 'http://tv.youtube.plugins.plex.com/gM_ikd8CwHA&access_token=ya29.CjLZAh5xjUYe3k04ta9g4uOJOVIkSpqDn2kneiFfb5XufoSFQFtqxbuVgrkfwuE1bFDPlQ&hl=en' 2016-05-05 11:03:39,659 (808b90c00) : DEBUG (services:603) - No service found for URL 'http://tv.youtube.plugins.plex.com/gM_ikd8CwHA&access_token=ya29.CjLZAh5xjUYe3k04ta9g4uOJOVIkSpqDn2kneiFfb5XufoSFQFtqxbuVgrkfwuE1bFDPlQ&hl=en' 2016-05-05 11:03:39,660 (808b90c00) : DEBUG (services:618) - No matching services found for 'http://tv.youtube.plugins.plex.com/gM_ikd8CwHA&access_token=ya29.CjLZAh5xjUYe3k04ta9g4uOJOVIkSpqDn2kneiFfb5XufoSFQFtqxbuVgrkfwuE1bFDPlQ&hl=en' 2016-05-05 11:03:39,664 (808b90c00) : DEBUG (services:603) - No service found for URL 'http://tv.youtube.plugins.plex.com/gM_ikd8CwHA&access_token=ya29.CjLZAh5xjUYe3k04ta9g4uOJOVIkSpqDn2kneiFfb5XufoSFQFtqxbuVgrkfwuE1bFDPlQ&hl=en' 2016-05-05 11:03:39,665 (808b90c00) : DEBUG (services:618) - No matching services found for 'http://tv.youtube.plugins.plex.com/gM_ikd8CwHA&access_token=ya29.CjLZAh5xjUYe3k04ta9g4uOJOVIkSpqDn2kneiFfb5XufoSFQFtqxbuVgrkfwuE1bFDPlQ&hl=en' 2016-05-05 11:03:39,669 (808b90c00) : DEBUG (networking:231) - Fetching HTTP headers for 'http://tv.youtube.plugins.plex.com/gM_ikd8CwHA&access_token=ya29.CjLZAh5xjUYe3k04ta9g4uOJOVIkSpqDn2kneiFfb5XufoSFQFtqxbuVgrkfwuE1bFDPlQ&hl=en' 2016-05-05 11:03:40,863 (808b90c00) : DEBUG (runtime:88) - Sending packed state data (99 bytes) 2016-05-05 11:03:40,864 (808b90c00) : DEBUG (runtime:924) - Response: [404] NoneType, 0 bytes

Any ideas?

Thanks,

This plugin is not responding

First time user.
Copied/created YouTubeTV.bundle-4.7 to the Plex Plug-ins folder named "YouTubeTV.bundle"
Restarted PC
Plugin shows up under channels and completed the authorization process
Able to view/play any general vids however anything related to my youtube user is not available.
When choosing My Subscriptions I get "This plugin is not responding."
When choosing anything under Playlists, My Channel, Liked videos, or Watch Later I get "No entries found."
When choosing History I do see some very old history as in more than a few years ago old watched vids.

Any suggestions?

Player: Tested both browser and Plex Player v3.35.2
Server: 1.10.1.4602 on Win10

com.plexapp.plugins.youtube.tv.log

Problem with the purchased items

When trying to use my purchased items i found that with enough research i need to use the google Auth 2.0 for youtube. Seeing as i would like to use my purchased items from your app witch I am not able too. This is because i need to be able to sign in with that so i can use it. Could you have a option to use the google Auth 2.0 so that people could get to the private videos so that you are able to watch those ones too.

Thanks for the time and hope to hear from you soon, TheRealM18.

Are shared OAuth client ID and secret a security concern?

A Google App ID and OAuth secret are currently hardcoded into the channel code. If my understanding of the OAuth process is correct, one only needs to acquire the access token stored in PMS to be able to access the user's Youtube account.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.