fagensden / vlc-shares

Automatically exported from code.google.com/p/vlc-shares
1 stars 1 forks source link

YouTube Plugin - Age restricted content playback issue? #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install and configure vlc-shares.
2. Configure the latest version of WiiMC to use vlc-shares
3. Add an age-restricted YouTube video to vlc-shares, and attempt to view with 
WiiMC. (Example link: http://www.youtube.com/watch?v=KwptOVewWVY)

What is the expected output? What do you see instead?
Expected output upon selecting the YouTube stream in WiiMC would be the the 
options/playback menu, followed by correct playback of said video. My output 
displayed the options/playback menu, minus the playback controls, in addition 
to a line labeled "Invalid YouTube link".

What version of the product are you using? On what operating system?
I am using both the latest versions of WiiMC and vlc-shares, 1.1.0 and 0.5.1 
respectively. My operating system is Windows XP SP3 with all the latest system 
updates installed.

Please provide any additional information below.
I will admit that I don't exactly have any debug logs or anything like that to 
really narrow down that this issue is due to the content being age restricted, 
but I am assuming it is so due to the fact that the only difference the 
previously stated link and the following 100% working link 
(http://www.youtube.com/watch?v=fCoEQXY5hM8&feature=channel) is the age 
verification check present only in the non-working video. 

Thanks for such a great piece of software, it really does save a lot of time 
when you just simply want to watch a movie without dealing with re-encoding a 
ton of files, etc.

Original issue reported on code.google.com by Ryan.Bis...@gmail.com on 14 Dec 2010 at 1:43

GoogleCodeExporter commented 8 years ago
Youtube plugin use a special way to get video quality link other than format 5: 
it parses a youtube page. Unfortunately, restricted contents show a proxy page 
when the request is made by an unauthenticated user and this break the format 
parsing. Maybe i will try to fetch format 5 urls from an api request for this 
kind of video. I have to try

Original comment by ximarx@gmail.com on 14 Dec 2010 at 6:31

GoogleCodeExporter commented 8 years ago
Revision 274 should fix your problem. Please, try replacing your Youtube.php 
file in vlc-shares/library/X/VlcShares/Plugins/ folder with this one: 
http://vlc-shares.googlecode.com/svn-history/r274/trunk/extra/plugins/youtube/li
brary/X/VlcShares/Plugins/Youtube.php

For restricted videos there isn't support for "Watch Directly" mode and formats 
other than 5 (low quality for mobile devices)

Original comment by ximarx@gmail.com on 14 Dec 2010 at 7:19

GoogleCodeExporter commented 8 years ago
Okay, cool. I will give that a try.

Original comment by Ryan.Bis...@gmail.com on 16 Dec 2010 at 7:45