How can I change the default directory for recordings?
This command "get_iplayer --output="/home/bill/Music/recordings" just results a listing of all programmes.
Any ideas?
Ubuntu 12.04
KDE 4.8.1
How can I change the default directory for recordings?
This command "get_iplayer --output="/home/bill/Music/recordings" just results a listing of all programmes.
Any ideas?
Ubuntu 12.04
KDE 4.8.1
hi Bill from man page
--output, -o <dir>
Recording output directory
add at the end or anywhere else example
get-iplayer --vmode=flashvhigh2 --get 4 --subtitles-only --output ~/Music/recordings
get-iplayer -o ~/Music/recordings --vmode=flashvhigh2 --get 4 --subtitles-only
other refinements
--outputliveradio <dir>
Output directory for live radio recordings
--outputlivetv <dir>
Output directory for live tv recordings
--outputlocalfiles <dir>
Output directory for localfiles recordings
--outputpodcast <dir>
Output directory for podcast recordings
--outputradio <dir>
Output directory for radio recordings
--outputtv <dir>
Output directory for tv recordings
Last edited by shantiq; May 27th, 2012 at 09:10 AM.
Linux is Latin for off-the-beaten-track
what I like MOST about our Ubuntu ... The Community ie 50 brains are better than one
Playing with Slackware too now ...
ShanArt
Thanks for the response.
What I should have said is "how do I change the setting for the default folder"
In my previous installation I managed to do it but have forgotten how!
I suppose the question could also be "how can I edit the output settings"
Thanks again
Found it!
This is the code I used:-
"get_iplayer --prefs-add --output "/home/bill/Music/recordings"
I have a couple of aliases set up in my ~/.bashrc file:
This way I can just do:Code:alias ipl='get_iplayer --nocopyright' alias gipl='get_iplayer --nocopyright --output /data/Videos/ --tvmode=flashhd,flashvhigh,flashhigh,flashstd,flashnormal --get'
to search for a program and thenCode:ipl <string>
to download a program at it's highest quality into my Videos folder.Code:gipl <pid>
Cheesemill
thanx for tips guys
this will simplify my situation
Code:get_iplayer --prefs-add --output "Videos"
Last edited by shantiq; June 24th, 2012 at 06:04 PM.
Linux is Latin for off-the-beaten-track
what I like MOST about our Ubuntu ... The Community ie 50 brains are better than one
Playing with Slackware too now ...
ShanArt
also this to make radio program download so much easier
1. in terminal enterthen again openalias getradio='get-iplayer -o ~/Music --mode=flashaacstd --get'and enter at bottomCode:gedit ~/.bashrc
and saveCode:alias getradio='get-iplayer -o ~/Music --mode=flashaacstd --get'
2.3. now all you need is thisCode:. ~/.bashrc
or whatever number you seek to downloadCode:getradio 13434
goes to your music folder
Linux is Latin for off-the-beaten-track
what I like MOST about our Ubuntu ... The Community ie 50 brains are better than one
Playing with Slackware too now ...
ShanArt
Wow! That's rewarding.
Lots of neat things to try!
Thank you all.
Setting output folder manually:
Browse to ~/.get-iplayer
If you have a file called options, good, if not create it:
Open this file in your preferred text editorCode:touch ~/.get-player/options
Add your preferred download directory like this:
and save.Code:output Videos
There is also a global options file in /etc/get-iplayer you can edit, but you will need root for that, and if you have multiple users, use a non home directory folder with full path and permissions.
The best things in life are free, so what are we paying for?
Hi All,
I have be using the --output(-o) option. but have run into some strange behavior If I run a get_iplayer cmd manually on the command line all good but if I try the same command line in a Bash script the output ends up in a different directory to what I specified with the --options switch
Example Cmd line works just fine
get_iplayer --force --overwrite --nopurge --type=radio --pid=b01rz317 --output "/home/htpc/Videos/iPlayer/Radio/BBC Radio 4" --file-prefix="<name>-<episode>-<pid>"
same thing in a script and somewhere while running get_iplayer converts the output directory to
'/home/htpc"/home/htpc/Videos/iPlayer/Radio/BBC"
Which results in a nonsense directory structure in my home user folder
Notice how it added my user home directory to the front and chopped off the last bit of the path I supplied via --output option!
Reading the posts on this thread I conclude that get_iplayer is picking up some 'default' output folder and prefixing whatever I specify with the --output option
Where from?? and Why only when running inside a BASH script
Annoying as it was all going so well, automating downloads of recordings into mythtv
Any suggestions please
Last edited by kernowkoi; April 19th, 2013 at 03:58 PM.
Bookmarks