On 08/01/2012 14:59, Andy Waddington (software devel) wrote:
For instance, one of my pvr files says:

type radio
channel BBC Radio 4
search0 Leading Edge

and I would prefer it tagged with Genre: "radio", Artist
"BBC Radio 4", Album "Leading Edge" and for title, the ISO
date of transmission (or of downloading). This would make

Use --command and substitution parameters to tag the file the way you want with atomicparsley.

A Unix-ish command-line analogue for your example would be;

get_iplayer --type radio --isodate --command "atomicparsley '<filename>' --artist '<channel>' --album '<name>' --genre '<type>' --title '<firstbcast>' --overWrite" --get 'Leading Edge'

For MP3 files you would use id3v2 or equivalent instead of atomicparsley. And of course, those params could go in your options file for pvr use.

Substitution parameters described here:

http://linuxcentre.net/getiplayer/documentation#Substitution%20Parameters

If you want to prevent any tags other than your own being written, the options are:

M4A/MP4 files:

1) Get the latest Git HEAD version of get_iplayer and use --no-tag

2) Add --atomicparsley=bogus to the command line. get_iplayer will output a warning that it can't find atomicparsley and skip tagging.

MP3 files:

1) Get the latest Git HEAD version of get_iplayer and use --no-tag

2) Uninstall the MP3::Tag Perl module if you have it installed. Then add --id3v2=bogus to the command line. get_iplayer will output a warning that it can't find id3v2 and skip tagging.


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

Reply via email to