On Thu Oct 30 03:01:04 GMT 2014, Alan Milewczyk wrote:
taking the first Autumnwatch programme
which has a PID of b04n8zdp, I tried amending the example
showing how to download "Top Gear" with this for Autumnwatch:
get_iplayer --pid ||b04n8zdp --tvmode=best --type=tv
--file-prefix="<nameshort><-senum><-episodeshort>"|
I'll assume you have updated to the latest version 2.87
and I know you are on Windows; your command is malformed -
use the CLI with the following incantation:
get_iplayer --pid=b04n8zdp --tvmode=best
--file-prefix="<nameshort>_<senum>_<episodeshort>"
INFO: 1 Matching Programmes
INFO: Checking existence of default version
INFO:
flashhd1,flashhd2,flashvhigh1,flashvhigh2,flashhigh1,flashhigh2,flashstd1,
flashstd2,flashlow1,flashlow2 modes will be tried for version default
INFO: Trying flashhd1 mode to record tv: Autumnwatch - 2014: Episode 1
INFO: File name prefix = Autumnwatch_s00e01_2014
RTMPDump v2.4-78-g26c4637-4GB
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: duration 3539.69
INFO: moovPosition 36.00
INFO: width 1280.00
INFO: height 720.00
INFO: videocodecid avc1
INFO: audiocodecid mp4a
INFO: avcprofile 100.00
INFO: avclevel 41.00
INFO: aacaot 2.00
INFO: videoframerate 25.00
INFO: audiosamplerate 48000.00
INFO: audiochannels 2.00
INFO: trackinfo:
INFO: length 88492000.00
INFO: timescale 25000.00
INFO: language und
INFO: sampledescription:
INFO: sampletype avc1
INFO: length 169905152.00
INFO: timescale 48000.00
INFO: language und
INFO: sampledescription:
INFO: sampletype mp4a
5149.837 kB / 13.24 sec (0.3%)
On Thu Oct 30 02:17:17 BST 2014, Alan Milewczyk wrote:
My --prefs file contains the following line:
fileprefix = <nameshort> - <senum> - <episodeshort> - <firstbcast>
I'm familiar with --prefs-add in its basic form,
but how do I achieve what you're saying above.
I'm using windows and I can't see a --prefs file anywhere.
Where is this located?
To make the value of the --file-prefix option permanent,
use the CLI and this command:
get_iplayer --prefs-add --file-prefix="<nameshort> - <senum> -
<episodeshort> - <firstbcast>"
Once you do that, GiP console window will also print
the current location (varies by OS) of your "options"
file, which is what roadcone refers to as "--prefs file".
You don't need to know its location (FWIW, on
my machine is C:\Users\[my-user-name]/.get_iplayer/options
Should you change your mind, remove it from your
"options" file via:
get_iplayer --prefs-del --file-prefix="<nameshort> - <senum> -
<episodeshort> - <firstbcast>"
Regards,
Vangelis.
_______________________________________________
get_iplayer mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/get_iplayer