Good evening,

this is my first post here, so please bear with me if I didn't pick the
right forum. 

I've just ordered my first SB3, and spent the time waiting for it with
preparing the streaming server I'm going to use (running Gentoo Linux)
and getting a bit more familiar with the SlimServer.

I used to manage my music collection with foobar, and have everything
tagged with ID3v1 & APEv2 tags. Unfortunately, Slimserver didn't seem
to recognize the track number that's stored in the APEv2 tag. So I dug
around the code a bit and figured that it was related to the tag name
used. I also noticed that MP3::Info doesn't use the tag renaming found
in Formats::APE. Is there a reason for having the APEv2 decoder in two
different places?

Anyway, after adding the tag translation to MP3::Info and a quick
rebuild of the Slimserver database, I've now got the track numbers
available :) Maybe this is useful for other people, so here's the
patch:


Code:
--------------------
    
  jukebox MP3 # diff Info.pm.orig Info.pm
  
  1961a1962,1967
  >       my %tagMapping = (
  >               'TRACK'         => 'TRACKNUM',
  >               'DATE'          => 'YEAR',
  >               'DISCNUMBER'    => 'DISC',
  >       );
  >
  2031a2038,2039
  >                       $tag_item_key = $tagMapping{$tag_item_key} if 
defined($tagMapping{$tag_item_key});
  >
  
--------------------


-- 
Jochen
------------------------------------------------------------------------
Jochen's Profile: http://forums.slimdevices.com/member.php?userid=5682
View this thread: http://forums.slimdevices.com/showthread.php?t=24236

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to