mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-21 15:14:13 +00:00
Added tests for Musepack v7 and v8
This commit is contained in:
BIN
test/data/test-sv7.mpc
Normal file
BIN
test/data/test-sv7.mpc
Normal file
Binary file not shown.
BIN
test/data/test-sv8.mpc
Normal file
BIN
test/data/test-sv8.mpc
Normal file
Binary file not shown.
@@ -506,6 +506,140 @@ class WavPackTest(FormatsTest):
|
||||
#'show': 'Foo',
|
||||
}
|
||||
|
||||
|
||||
class MusepackSV7Test(FormatsTest):
|
||||
original = os.path.join('test', 'data', 'test-sv7.mpc')
|
||||
supports_ratings = False
|
||||
tags = {
|
||||
'album': 'Foo Bar',
|
||||
'album': '1',
|
||||
'title': 'Foo',
|
||||
'artist': 'Foo',
|
||||
'albumartist': 'Foo',
|
||||
'date': '2004',
|
||||
#'originaldate': '1980',
|
||||
'artist': 'Foo',
|
||||
'composer': 'Foo',
|
||||
'lyricist': 'Foo',
|
||||
'conductor': 'Foo',
|
||||
'performer:guest vocal': 'Foo',
|
||||
'remixer': 'Foo',
|
||||
'arranger': 'Foo',
|
||||
'engineer': 'Foo',
|
||||
'producer': 'Foo',
|
||||
'djmixer': 'Foo',
|
||||
'mixer': 'Foo',
|
||||
'grouping': 'Foo',
|
||||
'subtitle': 'Foo',
|
||||
'discsubtitle': 'Foo',
|
||||
'tracknumber': '2',
|
||||
'totaltracks': '10',
|
||||
'discnumber': '1',
|
||||
'totaldiscs': '2',
|
||||
'compilation': '1',
|
||||
'comment:': 'Foo',
|
||||
'comment:foo': 'Foo',
|
||||
'genre': 'Foo',
|
||||
'bpm': '80',
|
||||
'mood': 'Foo',
|
||||
'isrc': 'Foo',
|
||||
'copyright': 'Foo',
|
||||
'lyrics': 'Foo',
|
||||
'media': 'Foo',
|
||||
'label': 'Foo',
|
||||
'catalognumber': 'Foo',
|
||||
'barcode': 'Foo',
|
||||
'encodedby': 'Foo',
|
||||
'albumsort': 'Foo',
|
||||
'albumartistsort': 'Foo',
|
||||
'artistsort': 'Foo',
|
||||
'titlesort': 'Foo',
|
||||
'composersort': 'Foo',
|
||||
#'showsort': 'Foo',
|
||||
'musicbrainz_trackid': 'Foo',
|
||||
'musicbrainz_albumid': 'Foo',
|
||||
'musicbrainz_artistid': 'Foo',
|
||||
'musicbrainz_albumartistid': 'Foo',
|
||||
'musicbrainz_trmid': 'Foo',
|
||||
'musicbrainz_discid': 'Foo',
|
||||
'musicip_puid': 'Foo',
|
||||
#'musicip_fingerprint': 'Foo',
|
||||
'releasestatus': 'Foo',
|
||||
'releasetype': 'Foo',
|
||||
'asin': 'Foo',
|
||||
#'gapless': '1',
|
||||
#'podcast': '1',
|
||||
#'podcasturl': 'Foo',
|
||||
#'show': 'Foo',
|
||||
}
|
||||
|
||||
|
||||
class MusepackSV8Test(FormatsTest):
|
||||
original = os.path.join('test', 'data', 'test-sv8.mpc')
|
||||
supports_ratings = False
|
||||
tags = {
|
||||
'album': 'Foo Bar',
|
||||
'album': '1',
|
||||
'title': 'Foo',
|
||||
'artist': 'Foo',
|
||||
'albumartist': 'Foo',
|
||||
'date': '2004',
|
||||
#'originaldate': '1980',
|
||||
'artist': 'Foo',
|
||||
'composer': 'Foo',
|
||||
'lyricist': 'Foo',
|
||||
'conductor': 'Foo',
|
||||
'performer:guest vocal': 'Foo',
|
||||
'remixer': 'Foo',
|
||||
'arranger': 'Foo',
|
||||
'engineer': 'Foo',
|
||||
'producer': 'Foo',
|
||||
'djmixer': 'Foo',
|
||||
'mixer': 'Foo',
|
||||
'grouping': 'Foo',
|
||||
'subtitle': 'Foo',
|
||||
'discsubtitle': 'Foo',
|
||||
'tracknumber': '2',
|
||||
'totaltracks': '10',
|
||||
'discnumber': '1',
|
||||
'totaldiscs': '2',
|
||||
'compilation': '1',
|
||||
'comment:': 'Foo',
|
||||
'comment:foo': 'Foo',
|
||||
'genre': 'Foo',
|
||||
'bpm': '80',
|
||||
'mood': 'Foo',
|
||||
'isrc': 'Foo',
|
||||
'copyright': 'Foo',
|
||||
'lyrics': 'Foo',
|
||||
'media': 'Foo',
|
||||
'label': 'Foo',
|
||||
'catalognumber': 'Foo',
|
||||
'barcode': 'Foo',
|
||||
'encodedby': 'Foo',
|
||||
'albumsort': 'Foo',
|
||||
'albumartistsort': 'Foo',
|
||||
'artistsort': 'Foo',
|
||||
'titlesort': 'Foo',
|
||||
'composersort': 'Foo',
|
||||
#'showsort': 'Foo',
|
||||
'musicbrainz_trackid': 'Foo',
|
||||
'musicbrainz_albumid': 'Foo',
|
||||
'musicbrainz_artistid': 'Foo',
|
||||
'musicbrainz_albumartistid': 'Foo',
|
||||
'musicbrainz_trmid': 'Foo',
|
||||
'musicbrainz_discid': 'Foo',
|
||||
'musicip_puid': 'Foo',
|
||||
#'musicip_fingerprint': 'Foo',
|
||||
'releasestatus': 'Foo',
|
||||
'releasetype': 'Foo',
|
||||
'asin': 'Foo',
|
||||
#'gapless': '1',
|
||||
#'podcast': '1',
|
||||
#'podcasturl': 'Foo',
|
||||
#'show': 'Foo',
|
||||
}
|
||||
|
||||
cover_settings = {
|
||||
'save_only_front_images_to_tags': True,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user