I have been trying to install get_iplayer using the Mac OS X Quick Install Guide which I found at the address below :-
https://squarepenguin.co.uk/guides/mac-o...all-guide/
I have managed to foolow steps 1 to 8 successfully (I think), but have hit a wall at the stage 9.
Quote:-
"You should see the TV cache being populated and the list of available TV programmes scroll past in the terminal window."
I did, but then I can work out how to perform test downloads.
Please can you help?
Oops! I meant to write I can't work out how to perform test downloads. Sorry!
Some additional information :-
After the list of TV programmes scrolls past in the terminal window, the following text appears in the terminal window :-
INFO: 1991 Matching Programmes
logout
[Process completed]
After this, I am unable to key any further text in the terminal window.
What am I doing wrong, please?
It looks like you are launching the get_player script from Finder. That is not what the instructions tell you to do in step 9.
Thanks for your reply, DP
Quote from Mac OS X Quick Install Guide :-
"9. That's it! You have installed get_iplayer. In the terminal window, navigate to your home directory:
cd ~
then test your newly-installed get_iplayer:
get_iplayer
You should see the TV cache being populated and the list of available TV programmes scroll past in the terminal window.
Perform a few test downloads to ensure everything is working correctly. Once you are sure that is the case, you can delete the working folder you created earlier."
OK. So I've been back to the terminal window once again and followed the instructions from step 9 (which, as you can see, I have duplicated above).
In the terminal window I keyed :-
cd ~
and then :-
get_iplayer
and the following appeared :-
-bash: get_iplayer: command not found
What does this indicate, please and what do I need to do now?
Run this in Terminal and post the output:
Code:
echo $PATH && which get_iplayer
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
That suggests you went wrong at step 8 and didn't install the files in
. Run the following in Terminal and post the output, if any:
Code:
ls -l /usr/local/bin/{get_iplayer,get_iplayer.cgi,AtomicParsley,ffmpeg,id3v2,mplayer,rtmpdump}
ls: /usr/local/bin/AtomicParsley: Permission denied
ls: /usr/local/bin/ffmpeg: Permission denied
ls: /usr/local/bin/get_iplayer: Permission denied
ls: /usr/local/bin/get_iplayer.cgi: Permission denied
ls: /usr/local/bin/id3v2: Permission denied
ls: /usr/local/bin/mplayer: Permission denied
ls: /usr/local/bin/rtmpdump: Permission denied
OK, try it again with
:
Code:
sudo ls -l /usr/local/bin/{get_iplayer,get_iplayer.cgi,AtomicParsley,ffmpeg,id3v2,mplayer,rtmpdump}
Enter your password when prompted.
This is the output this time :-
-rwxr-xr-x@ 1 root wheel 412688 3 Jan 14:17 /usr/local/bin/AtomicParsley
-rwxr-xr-x@ 1 root wheel 24390056 3 Jan 14:17 /usr/local/bin/ffmpeg
-rwxr-xr-x@ 1 root wheel 423921 3 Jan 14:17 /usr/local/bin/get_iplayer
-rwxr-xr-x@ 1 root wheel 148275 3 Jan 14:17 /usr/local/bin/get_iplayer.cgi
-rwxr-xr-x@ 1 root wheel 333504 3 Jan 14:17 /usr/local/bin/id3v2
-rwxr-xr-x@ 1 root wheel 15752688 3 Jan 14:17 /usr/local/bin/mplayer
-rwxr-xr-x@ 1 root wheel 441312 3 Jan 14:17 /usr/local/bin/rtmpdump
Now a couple of more:
Code:
sudo ls -ld /usr/local/bin
sudo ls -ld /usr/local
The first returned the following :-
drwx------ 21 Maria wheel 714 3 Jan 14:17 /usr/local/bin
and the second command, this :-
drwxr-xr-x 4 root wheel 136 31 Mar 2012 /usr/local
Looks you didn't use
when creating
, or else it was created earlier by some other means. Assuming you're logged in as "Maria", try
Code:
chmod 755 /usr/local/bin
to change permissions, then try to run get_player again. If you're not logged in as "Maria", use
Code:
sudo chmod 755 /usr/local/bin
.
I'm not logged in as Maria!
So I used the second of the two commands you listed.
I was asked to enter my password, which I have done, but no output appeared this time, just returned to the command prompt.
I thought not. "Maria" created
at some point in the past, with restrictive permissions. There would be no output from
. Run
Code:
sudo ls -ld /usr/local/bin
again to verify the directory permissions changed.
Got this output this time around :-
drwxr-xr-x 21 Maria wheel 714 3 Jan 14:17 /usr/local/bin
So what happens when you run get_player?
To try this, should I simply enter
get_iplayer
in the terminal window or
./get_iplayer
?