Re: don't work youtube plugin

Jim Duda <[email protected]>
Newsgroups gmane.comp.video.freevo.user
Message-ID <[email protected]>
On 02/28/2011 04:48 PM, [email protected] wrote:
> Hello,
> 
> I read the last post from Dan (2011-01-21 00:29).
> 
> http://sourceforge.net/mailarchive/message.php?msg_id=26933339
> 
> "But plugin don't work. I see list of results videos, but if I click on video I see string "Connection to server" and it's all. How to enable debug for detect error?"
> 
> I have the same problem. I see the string "Connection to server" and that's all.
> 
> Has anybody a solution?
> 
> Bye
> Paul
> 
> 
> 
> here my youtube section:
> 
> plugin.activate('video.youtube')
> YOUTUBE_DIR = "/home/freevo/.freevo/tmp/"
> YOUTUBE_DL = "/usr/bin/youtube-dl"
> YOUTUBE_FORMAT = '34'
> YOUTUBE_VIDEOS = [
>     ("tmp", "tmp"),
> ]
> 
> Freevo is runing in version 1.9.0 on ARCHLINUX.


I'm having the exact same experience with the 1.9.2-beta release version.

My youtube section has:

plugin.activate('video.youtube')
YOUTUBE_DIR = "/home/lroom/.freevo/tmp/"
YOUTUBE_DL = "/usr/bin/youtube-dl"

room# which youtube-dl
/usr/bin/youtube-dl

room#  youtube-dl -v
2010.10.03

When I select a video to play, the OSD has information about the cache getting
loaded, then it simply stops and returns to the youtube listing without any play.

My .freevo/tmp directory is empty.

I went to youtube manually and picked some video.  
I then try this:

lroom# youtube-dl 'http://www.youtube.com/watch?v=xQqQ-Kcjowg'
[youtube] Setting language
[youtube] xQqQ-Kcjowg: Downloading video webpage
[youtube] xQqQ-Kcjowg: Downloading video info webpage
[youtube] xQqQ-Kcjowg: Extracting video information
ERROR: unable to download video (format may not be available)

Next, I try get_flash_videos as below, and I can download the video:

get_flash_videos 'http://www.youtube.com/watch?v=xQqQ-Kcjowg'
Downloading http://www.youtube.com/watch?v=xQqQ-Kcjowg
Using method 'youtube' for http://www.youtube.com/watch?v=xQqQ-Kcjowg
Downloading http://v9.lscache6.c.youtube.com/videoplayback?sparams=id,expire,ip,ipbits,itag,ratebypass&fexp=907605&itag=37&ipbits=8&signature=5F8BBC32BEA100DEB3E7C409E36177088E0B6C08.33D55F6CF2EBF0DBB7574E7E1E976F289CBB9EF9&sver=3&ratebypass=yes&expire=1299380400&key=yt1&ip=74.0.0.0&id=c50a90f8a723a308...
Rental-Car_Olympics__-_Car_and_Driver.mp4: 100% (211858.21 / 211858.21 KiB)
Done. Saved 216942808 bytes to Rental-Car_Olympics__-_Car_and_Driver.mp4

mplayer plays the mp4 file just fine.

I then tried the same thing on an ubuntu machine which has a difference youtube-dl version.
With ubuntu version, I was able to download properly.

jim> youtube-dl -v
2010.12.09

I then downloaded the latest version of youtube-dl from http://rg3.github.com/youtube-dl/download.html
and installed in my freevo box.

lroom# /usr/local/bin/youtube-dl -v

2011.02.25c

Now it works :-)

So, it appears that something might be wrong with youtube-dl versions.

Thanks,

Jim


------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.