- Use: artist, album, year and first (first letter in artist name)
+ Use: artist, album, year, releasetype and first (first letter in artist name)
E.g.: first/artist/album [year] = G/Girl Talk/All Day [2010]
File Format:
diff --git a/headphones/postprocessor.py b/headphones/postprocessor.py
index 626d45f3..544b996f 100644
--- a/headphones/postprocessor.py
+++ b/headphones/postprocessor.py
@@ -294,6 +294,7 @@ def moveFiles(albumpath, release, tracks):
artist = release['ArtistName'].replace('/', '_')
album = release['AlbumTitle'].replace('/', '_')
+ releasetype = release['Type'].replace('/', '_')
if release['ArtistName'].startswith('The '):
sortname = release['ArtistName'][4:]
@@ -312,7 +313,8 @@ def moveFiles(albumpath, release, tracks):
'album': album,
'year': year,
'first': firstchar,
- 'lowerfirst': lowerfirst
+ 'lowerfirst': lowerfirst,
+ 'releasetype': releasetype
}
@@ -576,4 +578,4 @@ def forcePostProcess():
verify(rgid, albumpath)
else:
logger.info('No match found on MusicBrainz for: %s - %s' % (name, album))
- processing = processing_next
\ No newline at end of file
+ processing = processing_next