I also want to have my tags like that, so I've written myself a plugin, which you can use and customize for your needs!
Using the title of the series as artist is probably not a very good idea, since it opens the door for other cases (soundtracks, VA-compilation series, etc.). It would be better if we had better support for "series" (like a new label-like entity to group such releases together).
# -*- coding: utf-8 -*-
PLUGIN_NAME = u'Custom Title'
PLUGIN_AUTHOR = u'hrglgrmpf'
PLUGIN_DESCRIPTION = u'Custom title for audiplays, etc.'
PLUGIN_VERSION = '1.0'
PLUGIN_API_VERSIONS = ["0.16"]
from picard.metadata import register_album_metadata_processor, register_track_metadata_processor
import re
def custom_album_title(album, metadata, release):
# Die drei ???
if metadata['musicbrainz_albumartistid'] == 'e028fab5-39ae-4ed9-b8c2-c4344d88b171':
title = metadata['album']
title = re.sub(ur'^Die drei \?\?\?\s*', ur'', title)
title = re.sub(ur'^Volume ([0-9]+):\s*', ur'\1 / ', title)
metadata['album'] = title
# Die Dr3i
elif metadata['musicbrainz_albumartistid'] == '5b8eb65b-04ca-4656-93ef-80378ad89804':
title = metadata['album']
title = re.sub(ur'^Die Dr3i ([0-9]+):\s*', ur'\1 / ', title)
title = re.sub(ur'^Die Dr3i:\s*', ur'', title)
metadata['album'] = title
# Die drei !!!
elif metadata['musicbrainz_albumartistid'] == '2167935f-196b-42ce-9708-52d5731f2650':
title = metadata['album']
title = re.sub(ur'^Die drei !!! Fall ([0-9]+):\s*', ur'\1 / ', title)
metadata['album'] = title
# TKKG
elif metadata['musicbrainz_albumartistid'] == 'd3d9bc09-f1c1-49bc-94e0-e7897f60f4c3':
for x in ['albumartist', 'albumartistsort']:
metadata[x] = u'TKKG'
title = metadata['album']
title = re.sub(ur'^TKKG:\s*[0-9]+\s*', ur'', title)
title = re.sub(ur'^TKKG:?\s*', ur'', title)
title = re.sub(ur'^([0-9]+):\s*', ur'\1 / ', title)
metadata['album'] = title
# Pumuckl
elif metadata['musicbrainz_albumartistid'] == '448585f0-c834-4780-8ab6-a4432dae45cf':
for x in ['albumartist', 'albumartistsort']:
metadata[x] = u'Meister Eder und sein Pumuckl'
title = metadata['album']
title = re.sub(ur'^Meister Eder und sein Pumuckl, Folge ([0-9]+) Weihnachten:\s*', ur'Weihnachten \1 / ', title)
title = re.sub(ur'^Meister Eder und sein Pumuckl, Folge ([0-9]+):\s*', ur'\1 / ', title)
metadata['album'] = title
def custom_track_title(album, metadata, release, track):
# TKKG
if metadata['musicbrainz_artistid'] == 'd3d9bc09-f1c1-49bc-94e0-e7897f60f4c3':
for x in ['artist', 'artistsort']:
metadata[x] = u'TKKG'
# Pumuckl
elif metadata['musicbrainz_artistid'] == '448585f0-c834-4780-8ab6-a4432dae45cf':
for x in ['artist', 'artistsort']:
metadata[x] = u'Meister Eder und sein Pumuckl'
register_album_metadata_processor(custom_album_title)
register_track_metadata_processor(custom_track_title)