You are not logged in.

#1 2011-05-17 00:56:44

Mazh
Member
Registered: 2011-04-13
Posts: 48

yoump3

I've recently downloaded yoump3 to get my video from youtube converted into mp3 on my hdd, but strangly even if I change the directory of yoump3.conf it doesn't convert the video to mp3, see output:

[root@myhost etc]# youtube-dl http://www.youtube.com/watch?v=w2QX_XP1zeU&feature=BFp&list=WL73D8359255A34A36&index=2
[1] 8741
[2] 8742
[3] 8743
[root@myhost etc]# [youtube] Setting language
[youtube] w2QX_XP1zeU: Downloading video webpage
[youtube] w2QX_XP1zeU: Downloading video info webpage
[youtube] w2QX_XP1zeU: Extracting video information
[download] Destination: w2QX_XP1zeU.flv
[download] 100.0% of 24.41M at   60.38k/s ETA 00:00 

[1]   Done                    youtube-dl http://www.youtube.com/watch?v=w2QX_XP1zeU
[2]-  Done                    feature=BFp
[3]+  Done                    list=WL73D8359255A34A36

yoump3.conf

directory = '/home/mazax/yoump3'

Only thing it does is downloading the video into my /etc/*.flv

I've checked abit the source code in hope to understand a bit, but I'm not so cool yet.

Suggestions? It looks like the 2nd part of the code doesn't execute or I really don't know, there is no real instruction files.

Offline

#2 2011-05-17 02:06:26

jeslinmx
Member
Registered: 2010-11-20
Posts: 120

Re: yoump3

You see, the bash shell uses the ampersand character to denote a command to be backgrounded. Since the url has 2 of them in there, it understands that as being 3 separate commands, the latter 2 being variable assignments. In PHP, the & represents the difference between 2 variables sent through POST. For youtube the last 2 variables aren't necessary to find the video, so try the command again without them.
On a separate note, why are you running this as root?


Lenovo Y450 + Arch x86_64 dual boot with Windows 7 + Openbox standalone + Arch default kernel + Nouveau + yours truly = A lot of *****in' in the Arch Forums.

Offline

Board footer

Powered by FluxBB