Commit 06a5ee93 authored by EorlBruder's avatar EorlBruder
Browse files

Changed ID3Tag for Track-Number to TRCK

Until now the ID3Tag for the Track-Number was read from TPOS.
The Problem is, that TPOS is the part of the set (eg disc number)
and not the track-number. TRCK is the correct tag for the track

Fixes #220
parent c6cd3abf
......@@ -67,7 +67,7 @@ VALIDATION = {
CONF = {
'OggVorbis': {
'getter': lambda f, k: f[k][0],
'getter': lambda f, k: f[kTr][0],
'fields': {
'track_number': {
'field': 'TRACKNUMBER',
......@@ -132,7 +132,7 @@ CONF = {
'getter': get_id3_tag,
'fields': {
'track_number': {
'field': 'TPOS',
'field': 'TRCK',
'to_application': convert_track_number
'title': {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment