Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Problems calling youtube-dl from shell script... #2150

Closed
ghost opened this Issue Jan 14, 2014 · 5 comments

Comments

Projects
None yet
1 participant
@ghost

ghost commented Jan 14, 2014

rg3: First off, LOVE the program!! but I have a question. In OSX, I cannot run youtube-dl by itself (or at least cannot get Python to see it) without including the word python in the string (i.e. python /usr/local/bin/youtube-dl http://www.youtube.com/...)

Am trying to make an Applescript G.U.I. for it, but cannot get Applescript to pass the variable. It says "Python cannot open youtube-dl". Is there a '.py' version of it that can be used instead? I look at the executable and it doesn't seem to say what it is.

Many Thanks!!

Adam :0)

@ghost

ghost commented Jan 14, 2014

P.S. When I try to call youtube-dl withouth the word 'python' in front, I always get "Permission Denied" even when using sudo.

Owner

rg3 commented Jan 14, 2014

Have you tried giving it execution permissions?

@ghost

ghost commented Jan 14, 2014

On 1/14/14 12:07 PM, Ricardo Garcia wrote:

Have you tried giving it execution permissions?


Reply to this email directly or view it on GitHub
#2150 (comment).

As far as I know, OSX has no such convention. If it doesn't have .app,
or a file-fork app association, it requires 'help'.

@ghost

ghost commented Jan 14, 2014

Just did "chmod a+x /usr/local/bin/youtube-dl" in Terminal, and it worked! SORRY for bothering you all. Am making a front end that will download in all major quality levels, open videos in Quicktime (with Perian's Help) and convert to MP3 with Lame in a button click or two. Also includes a 'Update' button right in the interface.

Sure love this app. Flash has been tough on us old PPC Luddites!

Owner

rg3 commented Jan 15, 2014

Glad to see it works.

@rg3 rg3 closed this Jan 15, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment