Results 1 to 10 of 10

Thread: get_iplayer change output folder

  1. #1
    Join Date
    Mar 2009
    Location
    UK
    Beans
    278
    Distro
    Kubuntu

    get_iplayer change output folder

    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

  2. #2
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan Norwich
    Beans
    2,326
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    Re: get_iplayer change output folder

    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

  3. #3
    Join Date
    Mar 2009
    Location
    UK
    Beans
    278
    Distro
    Kubuntu

    Re: get_iplayer change output folder

    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

  4. #4
    Join Date
    Mar 2009
    Location
    UK
    Beans
    278
    Distro
    Kubuntu

    Re: get_iplayer change output folder

    Found it!
    This is the code I used:-
    "get_iplayer --prefs-add --output "/home/bill/Music/recordings"

  5. #5
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: get_iplayer change output folder

    I have a couple of aliases set up in my ~/.bashrc file:
    Code:
    alias ipl='get_iplayer --nocopyright'
    alias gipl='get_iplayer --nocopyright --output /data/Videos/ --tvmode=flashhd,flashvhigh,flashhigh,flashstd,flashnormal --get'
    This way I can just do:
    Code:
    ipl <string>
    to search for a program and then
    Code:
    gipl <pid>
    to download a program at it's highest quality into my Videos folder.
    Cheesemill

  6. #6
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan Norwich
    Beans
    2,326
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    Re: get_iplayer change output folder

    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

  7. #7
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan Norwich
    Beans
    2,326
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    Re: get_iplayer change output folder

    also this to make radio program download so much easier


    1. in terminal enter
    alias getradio='get-iplayer -o ~/Music --mode=flashaacstd --get'
    then again open
    Code:
    gedit ~/.bashrc
    and enter at bottom
    Code:
    alias getradio='get-iplayer -o ~/Music   --mode=flashaacstd --get'
    and save

    2.
    Code:
    . ~/.bashrc
    3. now all you need is this


    Code:
    getradio   13434
    or whatever number you seek to download

    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

  8. #8
    Join Date
    Mar 2009
    Location
    UK
    Beans
    278
    Distro
    Kubuntu

    Re: get_iplayer change output folder

    Wow! That's rewarding.
    Lots of neat things to try!

    Thank you all.

  9. #9
    Join Date
    Jul 2012
    Beans
    322
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: get_iplayer change output folder

    Setting output folder manually:

    Browse to ~/.get-iplayer

    If you have a file called options, good, if not create it:

    Code:
    touch ~/.get-player/options
    Open this file in your preferred text editor

    Add your preferred download directory like this:

    Code:
    output Videos
    and save.

    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?

  10. #10
    Join Date
    Jun 2010
    Beans
    10

    Re: get_iplayer change output folder

    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.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •