I see, thanks On 04/11/2011 10:38 PM, Yodaz wrote: > Sorry, I forgot to mention that I'm using youtube.py and youtube_dl.py from > svn : > http://svn.freevo.org/filedetails.php?repname=Freevo+1.x&path=%2Ffreevo%2Fsrc%2Fvideo%2Fplugins%2Fyoutube.py > http://svn.freevo.org/filedetails.php?repname=Freevo+1.x&path=%2Ffreevo%2Fsrc%2Futil%2Fyoutube_dl.py > > Le mardi 12 avril 2011 02:33:41 Dan Schmidt, vous avez écrit : >> Line 368 in mine, are you using an old youtube.py? >> >> On 04/10/2011 10:48 PM, Yodaz wrote: >>> Le lundi 11 avril 2011 01:58:41 Dan Schmidt, vous avez écrit : >>>> Were you able to get it to work in Freevo? >>>> >>> Yes. >>> Here's a quick'n'dirty solution : >>> >>> Edit the file FREEVO_INSTALL_DIR/video/plugins/youtube.py >>> At line 218, change >>> cmd = config.YOUTUBE_DL + ' -g "http://www.youtube.com/watch?v=' + >>> arg[1] + '"' >>> by >>> cmd = config.YOUTUBE_DL + ' ' + config.YOUTUBE_DL_OPTS + ' -g >>> "http://www.youtube.com/watch?v=' + arg[1] + '"' >>> >>> Then edit ~/.freevo/local_conf.py and add youtube plugin with options : >>> YOUTUBE_DL = "/usr/bin/youtube-dl" >>> YOUTUBE_DL_OPTS = "--cookies /tmp/youtube.cookie" >>> YOUTUBE_VIDEOS = [ >>> ("A user", "a description") >>> ] >>> >>> Finally, you have to edit ~/.mplayer/config to set the cookie option : >>> >>> cookies=1 >>> cookies-file=/tmp/youtube.cookie >>> >>> Does it works for you ? >>> >>> > > ------------------------------------------------------------------------------ > Forrester Wave Report - Recovery time is now measured in hours and minutes > not days. Key insights are discussed in the 2010 Forrester Wave Report as > part of an in-depth evaluation of disaster recovery service providers. > Forrester found the best-in-class provider in terms of services and vision. > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > _______________________________________________ > Freevo-users mailing list > Freevo-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freevo-users >
------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users