Skip to content
Snippets Groups Projects
Commit dc76283e authored by EorlBruder's avatar EorlBruder
Browse files

Added OggTheora Metadata

OggTheora wasn't support up until now. Now the config is there and the
import works

fixes #216
parent b36ed8a6
No related branches found
No related tags found
No related merge requests found
......@@ -97,6 +97,37 @@ CONF = {
},
}
},
'OggTheora': {
'getter': lambda f, k: f[k][0],
'fields': {
'track_number': {
'field': 'TRACKNUMBER',
'to_application': convert_track_number
},
'title': {
'field': 'title'
},
'artist': {
'field': 'artist'
},
'album': {
'field': 'album'
},
'date': {
'field': 'date',
'to_application': lambda v: arrow.get(v).date()
},
'musicbrainz_albumid': {
'field': 'musicbrainz_albumid'
},
'musicbrainz_artistid': {
'field': 'musicbrainz_artistid'
},
'musicbrainz_recordingid': {
'field': 'musicbrainz_trackid'
},
}
},
'MP3': {
'getter': get_id3_tag,
'fields': {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment