binhex Posted January 22, 2016 Share Posted January 22, 2016 (edited) Overview: Support for Docker image arch-get-iplayer in the binhex repo. Application: get-iplayer - http://www.infradead.org/get_iplayer/html/get_iplayer.html Docker Hub: https://hub.docker.com/r/binhex/arch-get-iplayer/ GitHub: https://github.com/binhex/arch-get-iplayer Documentation: https://github.com/binhex/documentation If you appreciate my work, then please consider buying me a beer For other Docker support threads and requests, news and Docker template support for the binhex repository please use the "General" thread here Edited May 9, 2019 by binhex Quote Link to comment
PhilDG Posted March 20, 2016 Share Posted March 20, 2016 I'm suddenly getting an issue with this container. Had an orphaned docker image so I removed and tried to re-create it. Pulled all of data down but then got this message at the bottom of the screen: Unable to find image 'the:latest' locally Pulling repository the Error: image library/the:latest not found I upgraded unraid to 6.1.9 yesterday but this docker container appeared OK. Quote Link to comment
Squid Posted March 20, 2016 Share Posted March 20, 2016 plugins - check for updates - install the webUI update that'll be available Odds on, you've got a space in one of your volume mounts. the update will fix it Quote Link to comment
PhilDG Posted March 21, 2016 Share Posted March 21, 2016 Brilliant stuff - thanks for that - fixed now (and when I actually read what you'd put!! - Note to self -read it properly) Quote Link to comment
The Big Stink Posted April 14, 2016 Share Posted April 14, 2016 Get-iplayer is great, so thanks to binhex for making a Docker of it. Just a suggestion - it might be a good idea to include an option of searching by PID, as this can result in more shows being downloaded. I have this working for me - I just added a new variable "PID" to your Docker and edited your start.sh script. The script gets overwritten every time I edit the Docker or if it gets updated, so it would be nice if you could add something similar? Quote Link to comment
binhex Posted April 14, 2016 Author Share Posted April 14, 2016 Get-iplayer is great, so thanks to binhex for making a Docker of it. Just a suggestion - it might be a good idea to include an option of searching by PID, as this can result in more shows being downloaded. I have this working for me - I just added a new variable "PID" to your Docker and edited your start.sh script. The script gets overwritten every time I edit the Docker or if it gets updated, so it would be nice if you could add something similar? can you expand on this a little bit, maybe some code snippets might give me a clearer idea how you've included this, im not sure how PID would work in relation to a show name?. Quote Link to comment
The Big Stink Posted April 14, 2016 Share Posted April 14, 2016 This link gives the reason for preferring PID search rather than show search. https://github.com/get-iplayer/get_iplayer/wiki/faq I'm new to Bash scripting so don't laugh.... # split comma seperated string into list from PID env variable IFS=',' read -ra PIDLIST <<< "${PID}" Then modified your loop to: # process each show in the list for index in "${!SHOWLIST[@]}"; do And added a test to see if PIDs are being used: if [[ -n "${PID}" ]]; then echo "[info] Running get_iplayer on PIDs..." # run get_iplayer for PID, saving to incomplete folder /usr/bin/get_iplayer --profile-dir /config --pid --nopurge --modes=flashhd,flashvhigh,flashhigh,flashstd,flashnormal,flashlow --file-prefix="${show_name} - <senum> - <episodeshort>" "${PIDLIST[index]}" --pid-recursive --output "/data/get_iplayer/incomplete/${show_name}" else # run get_iplayer for show, saving to incomplete folder echo "[info] Running get_iplayer on shows..." /usr/bin/get_iplayer --profile-dir /config --get --nopurge --modes=flashhd,flashvhigh,flashhigh,flashstd,flashnormal,flashlow --file-prefix="${show_name} - <senum> - <episodeshort>" "${show_name}" --output "/data/get_iplayer/incomplete/${show_name}" fi Basically you use --pid instead of --get. Also make sure --pid-recursive is added. There are probably cleaner ways to do this, as you can probably get the showname from get_iplayer (c.f. with your <senum> and <episodeshort> parameters), but it was just a test to see if I could get it working. Quote Link to comment
The Big Stink Posted April 14, 2016 Share Posted April 14, 2016 Oops missed this bit from the loop: # strip whitespace from start and end of show_name show_name=$(echo "${SHOWLIST[index]}" | sed -e 's/^[ \t]*//') Quote Link to comment
binhex Posted April 14, 2016 Author Share Posted April 14, 2016 Oops missed this bit from the loop: # strip whitespace from start and end of show_name show_name=$(echo "${SHOWLIST[index]}" | sed -e 's/^[ \t]*//') thanks for the example code, i suppose my only other question is how are you grabbing the PID for the show?, is there a particular command your running to find this out? Quote Link to comment
The Big Stink Posted April 14, 2016 Share Posted April 14, 2016 As far as I know, you just have to get it from the URL for the iPlayer webpage. I don't think you can get it from get_iplayer. In terms of the above code, it makes a big assumption that the entered Series and entered PIDs match. I think something like this would work better (although I haven't tied it): /usr/bin/get_iplayer --profile-dir /config --pid --nopurge --modes=flashhd,flashvhigh,flashhigh,flashstd,flashnormal,flashlow --file-prefix="<nameshort>- <senum> - <episodeshort>" "${PIDLIST[index]}" --pid-recursive --output "/data/get_iplayer/incomplete/<nameshort>" The loop would need editing in case only PIDs were entered and therefore SHOWLIST was empty (and I don't think you can save your Docker config without entering a value for the Series variable), but I'm probably telling you what you already know! Quote Link to comment
Dephcon Posted April 14, 2016 Share Posted April 14, 2016 Do you still need to be in the UK to access iplayer? I want me some essential mix. Quote Link to comment
The Big Stink Posted April 14, 2016 Share Posted April 14, 2016 To watch TV, yes, however I think you can still access iPlayer radio outside of the UK. Not sure if get_iplayer would download the stream though. Quote Link to comment
Paul_Ber Posted May 5, 2016 Share Posted May 5, 2016 Add VPN and watch outside UK? Quote Link to comment
binhex Posted May 6, 2016 Author Share Posted May 6, 2016 Add VPN and watch outside UK? no need, thats what privoxy is for :-) Q4. http://lime-technology.com/forum/index.php?topic=45812.msg437678#msg437678 Quote Link to comment
Paul_Ber Posted May 6, 2016 Share Posted May 6, 2016 Add VPN and watch outside UK? no need, thats what privoxy is for :-) Q4. http://lime-technology.com/forum/index.php?topic=45812.msg437678#msg437678 How do I point it to Privoxy? Quote Link to comment
Paul_Ber Posted May 7, 2016 Share Posted May 7, 2016 I think I can answer my own question. Sent from my XT1563 using Tapatalk Quote Link to comment
Paul_Ber Posted May 7, 2016 Share Posted May 7, 2016 Get-iplayer is great, so thanks to binhex for making a Docker of it. Just a suggestion - it might be a good idea to include an option of searching by PID, as this can result in more shows being downloaded. I have this working for me - I just added a new variable "PID" to your Docker and edited your start.sh script. The script gets overwritten every time I edit the Docker or if it gets updated, so it would be nice if you could add something similar? So PID will give HD option? I just tried on a show and the video doesn't look that great. Do I need to put HD in the name? Sent from my XT1563 using Tapatalk Quote Link to comment
The Big Stink Posted May 10, 2016 Share Posted May 10, 2016 No. Searching by PID can just give more results (older than 7 days). The option --modes sets the quality. Binhex's script uses --modes=flashhd,flashvhigh,flashhigh,flashstd,flashnormal,flashlow You could try --modes best which downloads HD if available then falls back to SD, but I'm pretty sure that should be equivalent to Binhex's string anyway. Quote Link to comment
activ Posted May 26, 2016 Share Posted May 26, 2016 I think I can answer my own question. Sent from my XT1563 using Tapatalk Hey Binhex: Is this something that's in your base image? I was thinking I'd build in the option to use a proxy in some other images, but if it's in your base I won't need to. Quote Link to comment
binhex Posted May 26, 2016 Author Share Posted May 26, 2016 I think I can answer my own question. Sent from my XT1563 using Tapatalk Hey Binhex: Is this something that's in your base image? I was thinking I'd build in the option to use a proxy in some other images, but if it's in your base I won't need to. its built into linux:- http://www.cyberciti.biz/faq/linux-unix-set-proxy-environment-variable/ Quote Link to comment
activ Posted May 26, 2016 Share Posted May 26, 2016 Hah, I did not know that. Thanks Quote Link to comment
manorfan Posted August 9, 2016 Share Posted August 9, 2016 I'm very green when it comes to linux and docker and I'm having difficulty setting up up this container. I've set my config (appdata on the cache drv) and data (media directory within the array) locations, but when I select install, nothing happens. I'm guessing it's waiting for another bit of setup info??? I selected HOST for the network bit. Should it be bridged? If so, what port (default)? Thanks!! Bobby UPDATE: Disregard. I did not have advanced view selected and thus didn't have the environment variables set. Quote Link to comment
manorfan Posted August 25, 2016 Share Posted August 25, 2016 Good Day, Any chance on getting this updated to 2.96? https://github.com/get-iplayer/get_iplayer/wiki/release296 Many of my downloads have been suffering from the dreaded "Segment not found". Thanks so much for your work on this!! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.