mirror of
https://github.com/fergalmoran/picard.git
synced 2025-12-25 10:48:18 +00:00
Added new tags to format tests.
This commit is contained in:
@@ -82,17 +82,25 @@ class FLACTest(FormatsTest):
|
||||
'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',
|
||||
'genre' : 'Foo',
|
||||
@@ -110,6 +118,8 @@ class FLACTest(FormatsTest):
|
||||
'albumartistsort' : 'Foo',
|
||||
'artistsort' : 'Foo',
|
||||
'titlesort' : 'Foo',
|
||||
#'composersort' : 'Foo',
|
||||
#'showsort' : 'Foo',
|
||||
'musicbrainz_trackid' : 'Foo',
|
||||
'musicbrainz_albumid' : 'Foo',
|
||||
'musicbrainz_artistid' : 'Foo',
|
||||
@@ -117,12 +127,18 @@ class FLACTest(FormatsTest):
|
||||
'musicbrainz_trmid' : 'Foo',
|
||||
'musicbrainz_discid' : 'Foo',
|
||||
'musicip_puid' : 'Foo',
|
||||
'musicip_fingerprint' : 'Foo',
|
||||
'releasestatus' : 'Foo',
|
||||
'releasetype' : 'Foo',
|
||||
'asin' : 'Foo',
|
||||
#'gapless' : '1',
|
||||
#'podcast' : 'Foo',
|
||||
#'podcasturl' : 'Foo',
|
||||
#'show' : 'Foo',
|
||||
}
|
||||
|
||||
|
||||
class ASFTest(FormatsTest):
|
||||
class WMATest(FormatsTest):
|
||||
original = os.path.join('test', 'data', 'test.wma')
|
||||
tags = {
|
||||
'album' : 'Foo Bar',
|
||||
@@ -131,19 +147,27 @@ class ASFTest(FormatsTest):
|
||||
'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',
|
||||
'genre' : 'Foo',
|
||||
'bpm' : 'Foo',
|
||||
'mood' : 'Foo',
|
||||
@@ -159,6 +183,8 @@ class ASFTest(FormatsTest):
|
||||
'albumartistsort' : 'Foo',
|
||||
'artistsort' : 'Foo',
|
||||
'titlesort' : 'Foo',
|
||||
#'composersort' : 'Foo',
|
||||
#'showsort' : 'Foo',
|
||||
'musicbrainz_trackid' : 'Foo',
|
||||
'musicbrainz_albumid' : 'Foo',
|
||||
'musicbrainz_artistid' : 'Foo',
|
||||
@@ -168,6 +194,11 @@ class ASFTest(FormatsTest):
|
||||
'musicip_puid' : 'Foo',
|
||||
'releasestatus' : 'Foo',
|
||||
'releasetype' : 'Foo',
|
||||
#'asin' : 'Foo',
|
||||
#'gapless' : '1',
|
||||
#'podcast' : 'Foo',
|
||||
#'podcasturl' : 'Foo',
|
||||
#'show' : 'Foo',
|
||||
}
|
||||
|
||||
|
||||
@@ -180,17 +211,25 @@ class MP3Test(FormatsTest):
|
||||
'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',
|
||||
'genre' : 'Foo',
|
||||
@@ -209,6 +248,8 @@ class MP3Test(FormatsTest):
|
||||
'albumartistsort' : 'Foo',
|
||||
'artistsort' : 'Foo',
|
||||
'titlesort' : 'Foo',
|
||||
#'composersort' : 'Foo',
|
||||
#'showsort' : 'Foo',
|
||||
'musicbrainz_trackid' : 'Foo',
|
||||
'musicbrainz_albumid' : 'Foo',
|
||||
'musicbrainz_artistid' : 'Foo',
|
||||
@@ -216,8 +257,14 @@ class MP3Test(FormatsTest):
|
||||
'musicbrainz_trmid' : 'Foo',
|
||||
'musicbrainz_discid' : 'Foo',
|
||||
'musicip_puid' : 'Foo',
|
||||
#'musicip_fingerprint' : 'Foo',
|
||||
'releasestatus' : 'Foo',
|
||||
'releasetype' : 'Foo',
|
||||
'asin' : 'Foo',
|
||||
#'gapless' : '1',
|
||||
#'podcast' : 'Foo',
|
||||
#'podcasturl' : 'Foo',
|
||||
#'show' : 'Foo',
|
||||
}
|
||||
|
||||
|
||||
@@ -230,17 +277,25 @@ class OggVorbisTest(FormatsTest):
|
||||
'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',
|
||||
'genre' : 'Foo',
|
||||
@@ -258,6 +313,8 @@ class OggVorbisTest(FormatsTest):
|
||||
'albumartistsort' : 'Foo',
|
||||
'artistsort' : 'Foo',
|
||||
'titlesort' : 'Foo',
|
||||
#'composersort' : 'Foo',
|
||||
#'showsort' : 'Foo',
|
||||
'musicbrainz_trackid' : 'Foo',
|
||||
'musicbrainz_albumid' : 'Foo',
|
||||
'musicbrainz_artistid' : 'Foo',
|
||||
@@ -265,8 +322,14 @@ class OggVorbisTest(FormatsTest):
|
||||
'musicbrainz_trmid' : 'Foo',
|
||||
'musicbrainz_discid' : 'Foo',
|
||||
'musicip_puid' : 'Foo',
|
||||
'musicip_fingerprint' : 'Foo',
|
||||
'releasestatus' : 'Foo',
|
||||
'releasetype' : 'Foo',
|
||||
'asin' : 'Foo',
|
||||
#'gapless' : '1',
|
||||
#'podcast' : 'Foo',
|
||||
#'podcasturl' : 'Foo',
|
||||
#'show' : 'Foo',
|
||||
}
|
||||
|
||||
|
||||
@@ -279,45 +342,19 @@ class MP4VorbisTest(FormatsTest):
|
||||
'artist' : 'Foo',
|
||||
'albumartist' : 'Foo',
|
||||
'date' : '2004-00-00',
|
||||
#'originaldate' : '1980',
|
||||
'artist' : 'Foo',
|
||||
'composer' : 'Foo',
|
||||
'grouping' : 'Foo',
|
||||
'compilation' : '1',
|
||||
'musicbrainz_trackid' : 'Foo',
|
||||
'musicbrainz_albumid' : 'Foo',
|
||||
'musicbrainz_artistid' : 'Foo',
|
||||
'musicbrainz_albumartistid' : 'Foo',
|
||||
'musicbrainz_trmid' : 'Foo',
|
||||
'musicbrainz_discid' : 'Foo',
|
||||
'musicip_puid' : 'Foo',
|
||||
'releasestatus' : 'Foo',
|
||||
'releasetype' : 'Foo',
|
||||
'encodedby' : 'Foo',
|
||||
'lyrics' : 'Foo',
|
||||
'copyright' : 'Foo',
|
||||
}
|
||||
|
||||
|
||||
class WavPackTest(FormatsTest):
|
||||
original = os.path.join('test', 'data', 'test.wv')
|
||||
tags = {
|
||||
'album' : 'Foo Bar',
|
||||
'album' : '1',
|
||||
'title' : 'Foo',
|
||||
'artist' : 'Foo',
|
||||
'albumartist' : 'Foo',
|
||||
'date' : '2004',
|
||||
'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',
|
||||
'genre' : 'Foo',
|
||||
@@ -335,6 +372,8 @@ class WavPackTest(FormatsTest):
|
||||
'albumartistsort' : 'Foo',
|
||||
'artistsort' : 'Foo',
|
||||
'titlesort' : 'Foo',
|
||||
'composersort' : 'Foo',
|
||||
'showsort' : 'Foo',
|
||||
'musicbrainz_trackid' : 'Foo',
|
||||
'musicbrainz_albumid' : 'Foo',
|
||||
'musicbrainz_artistid' : 'Foo',
|
||||
@@ -342,8 +381,79 @@ class WavPackTest(FormatsTest):
|
||||
'musicbrainz_trmid' : 'Foo',
|
||||
'musicbrainz_discid' : 'Foo',
|
||||
'musicip_puid' : 'Foo',
|
||||
'musicip_fingerprint' : 'Foo',
|
||||
'releasestatus' : 'Foo',
|
||||
'releasetype' : 'Foo',
|
||||
'asin' : 'Foo',
|
||||
'gapless' : '1',
|
||||
'podcast' : 'Foo',
|
||||
'podcasturl' : 'Foo',
|
||||
'show' : 'Foo',
|
||||
}
|
||||
|
||||
|
||||
class WavPackTest(FormatsTest):
|
||||
original = os.path.join('test', 'data', 'test.wv')
|
||||
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',
|
||||
'genre' : 'Foo',
|
||||
'bpm' : 'Foo',
|
||||
'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' : 'Foo',
|
||||
#'podcasturl' : 'Foo',
|
||||
#'show' : 'Foo',
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user