These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

Omitting Genre in audio Tags?

user-586

get_iplayer is the tops!
...
Q: Is there proper way to stop get_iplayer assigning genre tags
to the audio files it generates?

I've  failed miserably hacking the perl code get_iplayer.pl
by changing the line:


Code:
$tags->{genre} = $meta->{category};
to

Code:
$tags->{genre} = "";
I know this isn't a sustainable way of doing anything but ...
if it worked it would save me significant post-processing work
at my end.

user-2

That will work. No idea why it doesn't work for you. Run the following at the get_iplayer prompt to make sure your edit is as it should be:

Code:
find "$tags->{genre}" get_iplayer.pl

(Assumes you're on Windows, judging by reference to get_iplayer.pl)

user-586

Thanks for the encouragement.
I got it working with an additional one-line edit:

Code:
$mp3->select_id3v2_frame_by_descr('TCON', $tags->{genre});

to

Code:
$mp3->select_id3v2_frame_by_descr('TCON', ""); 


Cheers

user-2

The additional edit is unnecessary, but I suppose it does no harm.

These forums are archived

See this post for further info