Skip to content
Snippets Groups Projects
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
number.

Fixes #220
parent c6cd3abf
No related branches found
No related tags found
No related merge requests found
...@@ -67,7 +67,7 @@ VALIDATION = { ...@@ -67,7 +67,7 @@ VALIDATION = {
CONF = { CONF = {
'OggVorbis': { 'OggVorbis': {
'getter': lambda f, k: f[k][0], 'getter': lambda f, k: f[kTr][0],
'fields': { 'fields': {
'track_number': { 'track_number': {
'field': 'TRACKNUMBER', 'field': 'TRACKNUMBER',
...@@ -132,7 +132,7 @@ CONF = { ...@@ -132,7 +132,7 @@ CONF = {
'getter': get_id3_tag, 'getter': get_id3_tag,
'fields': { 'fields': {
'track_number': { 'track_number': {
'field': 'TPOS', 'field': 'TRCK',
'to_application': convert_track_number 'to_application': convert_track_number
}, },
'title': { 'title': {
......
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