mirror of
https://github.com/fergalmoran/picard.git
synced 2026-01-05 08:03:58 +00:00
Added tests for True Audio to make sure the recent ID3 changes didn't break anything.
This commit is contained in:
BIN
test/data/test.tta
Normal file
BIN
test/data/test.tta
Normal file
Binary file not shown.
@@ -305,6 +305,73 @@ class MP3Test(FormatsTest):
|
||||
}
|
||||
|
||||
|
||||
class TTATest(FormatsTest):
|
||||
original = os.path.join('test', 'data', 'test.tta')
|
||||
supports_ratings = True
|
||||
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 AIFFTest(FormatsTest):
|
||||
original = os.path.join('test', 'data', 'test.aiff')
|
||||
supports_ratings = False
|
||||
|
||||
Reference in New Issue
Block a user