Re: Deprecated features to be removed in next release (2.97)
hello Vagelis that is not going to leave much code left. On Wed, Sep 7, 2016 at 7:22 PM, Vangelis forthnetwrote: > On Wed Aug 31 00:28:27 BST 2016, I wrote: >> >> The flash (RTMP) on-demand modes >> (Radio+TV) will be axed in 2.98: >> >> https://github.com/get-iplayer/get_iplayer/milestone/8 > > > ... Apparently, the maintainer has had a change of heart; FLASH modes have > been rescheduled to be terminated in the next release, 2.97, too, along with > the rest of the deprecated options... > > A real shame, if you ask me, since the flashmodes are the only ones that > support resuming (via rtmpdump) in the case of time-outs, due to > fickle/flakey connections... > We'll be left with DASH/HLS (radio) or HLS (video) segmented modes only, > which abort and re-fetch from the start when the connection, for whatever > random reason, drops out... > > OTOH, the RTMP support code, the backbone of GiP up until a few versions > back (2.94 and earlier), constitutes a major part of the existing code and > I kind of understand the logic behind the coder's intent to do away with it; > what I fail to justify is the haste to get rid of it while it's still > working very reliably... Dum spiro, spero... > > Regards, V. > > > ___ > get_iplayer mailing list > get_iplayer@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/get_iplayer -- terry l. ridder ><> ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: Deprecated features to be removed in next release (2.97)
On Wed Aug 31 00:28:27 BST 2016, I wrote: The flash (RTMP) on-demand modes (Radio+TV) will be axed in 2.98: https://github.com/get-iplayer/get_iplayer/milestone/8 ... Apparently, the maintainer has had a change of heart; FLASH modes have been rescheduled to be terminated in the next release, 2.97, too, along with the rest of the deprecated options... A real shame, if you ask me, since the flashmodes are the only ones that support resuming (via rtmpdump) in the case of time-outs, due to fickle/flakey connections... We'll be left with DASH/HLS (radio) or HLS (video) segmented modes only, which abort and re-fetch from the start when the connection, for whatever random reason, drops out... OTOH, the RTMP support code, the backbone of GiP up until a few versions back (2.94 and earlier), constitutes a major part of the existing code and I kind of understand the logic behind the coder's intent to do away with it; what I fail to justify is the haste to get rid of it while it's still working very reliably... Dum spiro, spero... Regards, V. ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: can I populate the download_history without actualy downloading
On 07/09/16 23:18, Jon Davies wrote: On 6 September 2016 at 14:30, Dave Widgerywrote: ... due to a disk crash I have had to rebuild my system. http://www.worldbackupday.com/en/ one problem I have is the download_history file is missing a lot of entries of programs I have already downloaded. [...] Is there a way to fool get_iplayer to add entries to the download_history without actually downloading the program. you probably don't need to. If get-iplayer tries to download a programme that already exists on disk, it won't download it again. Only if it is in the original download folder - if you've moved it to another folder then it will download again. I would think most of us move programmes from the original download folder, especially if we're going to keep the programmes. A ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: can I populate the download_history without actualy downloading
On 6 September 2016 at 14:30, Dave Widgerywrote: >... due to a disk crash I have had to rebuild my system. http://www.worldbackupday.com/en/ > one problem I have is the download_history file is missing a lot of > entries of programs I have already downloaded. [...] > Is there a way to fool get_iplayer to add entries to the > download_history without actually downloading the program. you probably don't need to. If get-iplayer tries to download a programme that already exists on disk, it won't download it again. Jon ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: Not working on BASH on Windows
On 6 September 2016 at 09:44, Shevekwrote: > I can confirm the same happens with other downloads [...] > > So it appears that AtomicParsley is the culprit. Yes, for some reason atomicparsley doesn't work ubuntu-in-windows-10 - it just locks up. If you can work out why I'll happily incorporate a patch in the ppa build. Jon ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: can I populate the download_history without actualy downloading
Cheers Jimmy, That is exactly what I needed, tried it and it has done the trick, I currently use a batch file containing the following line. for /F "tokens=*" %%A in (tvprog.txt) do get_iplayer --get %%A --tvmode=flashbetter --output=c:\iplayer\tv\ --file-prefix="-" and a text file "tvprog,txt" that I just add keywords like eggheads or "university challenge" or even --pid= if I need to. (I have a similar setup for radio programs) This gets run each night as a windows scheduled task, there are lots of programs in my tvprog.txt file that are not current at the moment, but it picks them up automaticaly if there is a new series or somthing. I am sure that I have reinvedted the wheel, but it works for me. So I just ran my batch file with your modification and it has populated the history file with anything that is current and in my tvprog list. Again thanks to anyone who had a think about my problem. Dave On 7 September 2016 at 10:13, Jimmy Aitkenwrote: > On Tue, Sep 6, 2016 at 7:45 PM, Dave Widgery wrote: >> >> Hi thanks for the suggestion, but I am running windows not linux, i >> will give it a try but not sure that it will work. >> >> Dave >> >> On 6 September 2016 at 17:10, David Walters wrote: >> > On Tue, Sep 6, 2016 at 3:45 PM, Dave Widgery >> > wrote: >> >> >> >> get_iplayer creates the entries in the file each time it has a >> >> sucsessful downloads a file, >> > > > A quick (in code change, not in execution) and dirty way to do this > would be to add the following line to the function > mode_ver_download_retry_loop > at around 4377 of get_iplayer version 2.95. Add the following line > after the one "my $retcode;" > > $hist->add($prog);return; > > This will never download any program, but will update your history > file instead. Now call get_iplayer with whatever programmes you want > to have added to your history file and it will be updated. > e.g. get_iplayer -g . > will add everything that is current to the history file. > get_iplayer -g egg > will only add programmes that match 'egg' to the history file > > It will take a long time, and the code to add to the history file is > not optimised to do this sort of write since it rewrites the complete > history file for each file it finds, and there are doubtless many > other ways to do this. > > Howerver, this does has the advantage of just being a one line change > to the current code, though so it's easy to put in place and revert > afterwards. > > Remember to remove the line after you've finished through > > J. ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: can I populate the download_history without actualy downloading
On Tue, Sep 6, 2016 at 7:45 PM, Dave Widgerywrote: > > Hi thanks for the suggestion, but I am running windows not linux, i > will give it a try but not sure that it will work. > > Dave > > On 6 September 2016 at 17:10, David Walters wrote: > > On Tue, Sep 6, 2016 at 3:45 PM, Dave Widgery wrote: > >> > >> get_iplayer creates the entries in the file each time it has a > >> sucsessful downloads a file, > > A quick (in code change, not in execution) and dirty way to do this would be to add the following line to the function mode_ver_download_retry_loop at around 4377 of get_iplayer version 2.95. Add the following line after the one "my $retcode;" $hist->add($prog);return; This will never download any program, but will update your history file instead. Now call get_iplayer with whatever programmes you want to have added to your history file and it will be updated. e.g. get_iplayer -g . will add everything that is current to the history file. get_iplayer -g egg will only add programmes that match 'egg' to the history file It will take a long time, and the code to add to the history file is not optimised to do this sort of write since it rewrites the complete history file for each file it finds, and there are doubtless many other ways to do this. Howerver, this does has the advantage of just being a one line change to the current code, though so it's easy to put in place and revert afterwards. Remember to remove the line after you've finished through J. ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer