tagging changes in atomicparsley

dinkypumpkin dinkypumpkin at gmail.com
Mon Jan 16 15:53:28 EST 2012


On 16/01/2012 17:25, Andy Gascoigne wrote:
> So that as current I get "Sherlock: Series 2: The Reichenbach Fall" as the
> title whereas I just need "Sherlock: The Reichenbach Fall" and 'series 2'
> removed (just passed into the 'season' field, as it is now).
>
> At present, because of the tagging my progs are being saved (via iTunes) to
> "Program Name: Series n" folders, rather than just the "Program Name" folder

It appears you're using --tag-fulltitle.  Leave that off and "Sherlock: 
Series 2:" should disappear.  I doubt you will like the replacement, 
which will be "3. The Reichenbach Fall" (i.e., with episode number). 
And if you have iTunes configured to manage your folder structure (as it 
appears), you can just use it to do a bulk edit of the album/show name 
to remove ": Series 2" and iTunes will change the folder name accordingly.

For more general changes:

1. Make friends with the list archive.  From last week:

http://lists.infradead.org/pipermail/get_iplayer/2012-January/002447.html

It contains a suggested method to do whatever tagging you like with a 
post-download command.

2. Hack get_iplayer

The place to go is Tagger::tags_from_metadata().  In that subroutine, 
you probably just want to change every instance of:

$meta->{name} to $meta->{nameshort}
$meta->{episode} to $meta->{episodeshort}

If you want to take it further, the tag scheme implemented in 
tags_from_metadata() is explained here:

https://github.com/dinkypumpkin/get_iplayer/wiki/tagscheme




More information about the get_iplayer mailing list