On 21/10/2014 05:59, Vangelis forthnet wrote:
My locally patched copy of the script is well pre-2.87, but when I run,
e.g.:

get_iplayer --pid=b04m0l3g --force --subtitles-only
get_iplayer --pid=b04m0l3g --force --thumbnail-only

the switches DO PERFORM their usual functions, i.e.
only the subs/thumbnail get fetched.

Release notes updated

If I also try another programme that was initially in the
tv cache but now is not (> 7d old), e.g. pid=b04lckj1,
that also fails:

get_iplayer --pid=b04lckj1 --force --subtitles-only
(but get_iplayer --pid=b04lckj1 --force --subtitles
WORKS with the patched 2.86 - former GIT HEAD -
version of GiP).
Is this the expected behaviour and if yes, could it be fixed/
is it fixed in 2.87+ ?

You need 2.87 for that

The --pid option previously invoked an immediate download
regardless of the other options specified.

This was (pre-2.87) indeed true for --info; in fact, I am used to
typing together "-i --pid=[pid]" so that my command prompt
window first displays the available metadata and then moves on
to the downloading part...
I understand that with 2.87 only the metadata will be shown:

get_iplayer --type=radio -i --pid=b04ksl4f

Is there anything I could add in 2.87 (perhaps -g) to
revert to the previous behaviour?

You can remove the "|| $opt->{info}" conditions in the commit you referenced if you want that. --info should short-circuit --get as well, but it wasn't worth the bother. If you want to keep metadata from a download, use --metadata.

_______________________________________________
get_iplayer mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/get_iplayer

Reply via email to