Skip to content
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

Problems playing some videos #22

Closed
storm1101 opened this issue Feb 19, 2016 · 18 comments
Closed

Problems playing some videos #22

storm1101 opened this issue Feb 19, 2016 · 18 comments

Comments

@storm1101
Copy link

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

@kolsys
Copy link
Owner

kolsys commented Feb 19, 2016

What version installed?

@storm1101
Copy link
Author

  • Plex media server 0.9.15.2 on linux
  • Last plex home theater on windows or chromecast
  • last code of your plug-in

@kolsys
Copy link
Owner

kolsys commented Feb 20, 2016

Can you add video url?

@storm1101
Copy link
Author

@kolsys
Copy link
Owner

kolsys commented Feb 21, 2016

Can't reproduce. Do you have same issue in web or any other client?

@storm1101
Copy link
Author

I check if in web plex works but it's the same. Doesn´t work.

What version you've installed?

@kolsys
Copy link
Owner

kolsys commented Feb 22, 2016

PMS 0.9.15.2
All clients are work ok.

@storm1101
Copy link
Author

Its happening in XBMC youtube pluging too:
HenrikDK/youtube-xbmc-plugin#85

@kolsys
Copy link
Owner

kolsys commented Feb 22, 2016

Looks like location restrictions. Is this video available from the youtube site?

@kolsys
Copy link
Owner

kolsys commented Feb 22, 2016

Try to find in plex log something like 'Fetching */base.js'
What url in log?

@storm1101
Copy link
Author

2016-02-23 09:29:50,164 (7fd9566d7700) : DEBUG (services:23) - Looking up URL 'http://tv.youtube.plugins.plex.com/1G4isv_Fylg&access_token=ya29.&hl=en'
2016-02-23 09:29:50,165 (7fd9566d7700) : DEBUG (services:616) - Found a service matching 'http://tv.youtube.plugins.plex.com/1G4isv_Fylg&access_token=ya29.&hl=en' - YouTubeTV (com.plexapp.plugins.youtube.tv)
2016-02-23 09:29:50,166 (7fd9566d7700) : DEBUG (services:616) - Found a service matching 'http://tv.youtube.plugins.plex.com/1G4isv_Fylg&access_token=ya29.&hl=en' - YouTubeTV (com.plexapp.plugins.youtube.tv)
2016-02-23 09:29:50,189 (7fd9566d7700) : DEBUG (networking:166) - Requesting 'https://www.youtube.com/watch?v=1G4isv_Fylg&access_token=ya29.&hl=en&spf=navigate'
2016-02-23 09:29:50,534 (7fd9566d7700) : DEBUG (services:30) - TAG: Object
2016-02-23 09:29:50,536 (7fd9566d7700) : DEBUG (services:616) - Found a service matching 'http://tv.youtube.plugins.plex.com/1G4isv_Fylg&access_token=ya29.&hl=en' - YouTubeTV (com.plexapp.plugins.youtube.tv)
2016-02-23 09:29:50,537 (7fd9566d7700) : DEBUG (runtime:88) - Sending packed state data (99 bytes)
2016-02-23 09:29:50,537 (7fd9566d7700) : DEBUG (runtime:924) - Response: [200] MediaContainer, 6500 bytes
2016-02-23 09:29:50,823 (7fd9566d7700) : DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.system/serviceFunction/url/com.plexapp.plugins.youtube.tv/YouTubeTV/PlayVideo?args=Y2VyZWFsMQoxCnR1cGxlCjAKcjAK&kwargs=***&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-02-23 09:29:50,824 (7fd9566d7700) : DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.system/serviceFunction/url/com.plexapp.plugins.youtube.tv/YouTubeTV/PlayVideo
2016-02-23 09:29:50,825 (7fd9566d7700) : DEBUG (networking:166) - Requesting 'https://www.youtube.com/watch?v=1G4isv_Fylg&access_token=ya29.&hl=en&spf=navigate'
2016-02-23 09:29:51,210 (7fd9566d7700) : DEBUG (networking:166) - Requesting 'https://s.ytimg.com/yts/jsbin/player-es_ES-vflyF5Eqp/base.js'
2016-02-23 09:29:51,564 (7fd9566d7700) : DEBUG (ServiceCode:179) - Play itag: 22
2016-02-23 09:29:51,566 (7fd9566d7700) : DEBUG (runtime:88) - Sending packed state data (99 bytes)
2016-02-23 09:29:51,566 (7fd9566d7700) : DEBUG (runtime:924) - Response: [200] MediaContainer, 2474 bytes

@kolsys
Copy link
Owner

kolsys commented Feb 28, 2016

Is it possible that you client external IP are not same as PMS?

@storm1101
Copy link
Author

Yes Kolsys, it's not the same IP. Do you think this is the problem?

@storm1101
Copy link
Author

I think that Vevo videos has a crossdomain.xml and a generated 204 code.

If you look content of file:
https://www.youtube.com/watch?v=1G4isv_Fylg&access_token=ya29.&hl=en&spf=navigate

{"data":{"deferDispose":1},"head":"\u003clink rel="spf-preconnect" href="https://r4---sn-w511uxa-h5qe.googlevideo.com/crossdomain.xml"\u003e\u003clink rel="spf-preconnect" href="https://r4---sn-w511uxa-h5qe.googlevideo.com/generate_204"\u003e","name":"watch"}

@kolsys
Copy link
Owner

kolsys commented Mar 9, 2016

Yes Kolsys, it's not the same IP. Do you think this is the problem?

Yes.

@storm1101
Copy link
Author

Do you know how can i define my public IP in the plugins?

@kolsys
Copy link
Owner

kolsys commented Mar 10, 2016

You can't. Requests from server and client must be from same IP. You can use transcoder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants