Bug 590 - directory lists only first artist in WMA files when they have two or more artists in the tag
: directory lists only first artist in WMA files when they have two or more art...
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Tagging
: 5.x or older
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks: 621
  Show dependency treegraph
 
Reported: 2004-09-29 09:40 UTC by Dale Phurrough
Modified: 2008-12-18 11:54 UTC (History)
0 users

See Also:
Category: ---


Attachments
wma to repro problem (63.28 KB, application/octet-stream)
2004-09-29 23:05 UTC, Dale Phurrough
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dale Phurrough 2004-09-29 09:40:37 UTC
If you have two or more artists listed in the artist tag in a WMA file, only 
the first artist is visible and searchable in the slimserver directory.

Repro:
Create WMA file
Use tool like Windows Media play to enter two artists by
right-clicking file in media library.
Choose advanced tag edit.
Click Artist Info tab.
In Artist field type two names like:
      Dale Phurrough; Paul Simon
Click OK
In slimserver, rescan music files.
Browse by Artist

Result:
You cannot find the file under Paul Simon.
The file is available under Dale Phurrough.

Expected:
The file available under both Paul Simon and Dale Phurrough.

Note:
I did try the slimserver server setting under behavior for multiple items in 
tags. I put a semicolon there. The bug behavior still occured.
Comment 1 KDF 2004-09-29 20:38:18 UTC
one note:  if you change the multi-tag split character, you will have to wipe
the cache to re-index any songs that do have multiple tags.  Maybe the server
should automatically wipe cache on changes to that setting.
Comment 2 KDF 2004-09-29 20:50:39 UTC
if you get the chance, do try the latest nightly build and go into server
settings, performance.  click wipe cache and wait for the rescan.  see if the
problem is still there.  I have tried out a WMA file with two artists, split by
";" and browse artists is showing both artists.  Granted, in songinfo, the
artist link is still broken becuase it remains joined, but that's another bug
already posted here.  This is with the latest CVS
Comment 3 Dale Phurrough 2004-09-29 23:05:45 UTC
Created attachment 153 [details]
wma to repro problem

I created this file in sound recorder. encoded it into WMA. Then used windows
media player 10 to add in tags. When I wipe the slimserver db and let it
reindex, it only lists Dale Phurrough in the browse/artists. John Doe doesn't
show up as a separate artist on the "J" tab.
Comment 4 Dale Phurrough 2004-09-29 23:16:48 UTC
I downloaded the nightly named SlimServer_v2004-09-29.exe modified 29-Sep-2004 
02:21. I wiped the cache as you asked. Sorry, the problem continues. Only the 
first artist listed in the tag can be found in slimserver's browse/artist list.
Comment 5 KDF 2004-09-30 00:35:09 UTC
Dale, 
when using tag & rename, I'm only seeing a single artist. There is no John Doe
that I can see. Do you know if WMP creates some different type of tag for
multiple artists?
Comment 6 KDF 2004-09-30 00:42:35 UTC
sorry to keep pestering.  I have found John Doe in the file by scanning through
the binary itself.  However, it looks like its linked to something called
"Author".  This tag isnt' supported by slimserver, so you wont see it.  If you
try to tag Artist as "Dale Phurrough;John Doe", and you change the settings for
behavior to add ; as multi tag separator, you should see both.  If WMP is
interfering by splitting John Doe to non-standard field, then I'd suggest not
using WMP to enter your multi-tags.

If you use the 'Author' tag a lot, you may want to file a new enhancement
request for support for this tag.
Comment 7 KDF 2004-09-30 00:51:21 UTC
one other thing that may be useful.  I went into WMP to edit the file.  i could
see your tag split by ;.  I changed it to:
Dale Phurrough/John Doe and changed the server settings for multi-tag to /

wiped cache and both artists now appear in the browse artist listing.

Microsoft must have decided to use ; as a special split character for
non-standard fields.  Try using / or maybe something else besides ; and you will
likely have better results. 
Comment 8 KDF 2004-10-02 00:32:47 UTC
the second artist seems to show up in a section of the WMA header called
MediaClasSecondaryID.  I cannot find any info on what that is or how to access
it.  however, it would appear to be exclusive to WMP. the almighty tag&rename
can't even see the second artist.
Comment 9 Dale Phurrough 2004-10-02 10:04:11 UTC
This article speak about the interface to get the artist(s) through the author 
attribute which support multiple values. Perhaps it can assist.
http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/wmform95/htm/attributeswithmultiplevalues.asp?frame=true
Comment 10 Dan Sully 2004-10-02 11:45:36 UTC
I just checked in a new Audio::WMA which handles the Extended Header Object.

Look for it in the next nightly or CVS.
Comment 11 Dale Phurrough 2004-10-05 09:32:24 UTC
I've been unable to verify this fix. When I installed the sunday morning build 
and the tues morning build; both have problems. I install it, start the 
service and everything looks ok. The web UI responds and it reports it is 
scanning my files to build the music catelog. Then a few minutes later, the 
CPU pegs to near 100% and using taskmanager, I see that slim.exe is taking all 
the CPU time. The web UI is no longer responsive.

I have to kill the process. When I restart the process, the problem repeats.
Comment 12 KDF 2004-10-05 10:05:15 UTC
You are not the only one to report this problem with the Oct 3+ builds.  I'm not
sure it has to do with this fix, as I have tested it.  However, I use linus and
the reports I've seen are slim.exe only. so far
Comment 13 Dale Phurrough 2004-10-12 22:42:36 UTC
I was able to verify this fix in the nightly build SlimServer_v2004-10-12.exe.
After installing it, I had to change in server settings, changing the behavior 
setting for multiple items in tags to have both the semicolon ";" and the 
forward slash "/".

Now the multiple artists are listed for both mp3 and wma files. They appear 
separately when I browse the artists.

I have now uncovered another bug when you view an album when there are 
multiple artists on songs. I will open a separate bug on this problem.
Comment 14 James Richardson 2008-12-15 11:57:07 UTC
This bug has been fixed in the latest release of SqueezeCenter!

Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already.  

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Comment 15 Chris Owens 2008-12-18 11:54:37 UTC
Routine bug db maintenance; removing old versions which cause confusion.  I apologize for the inconvenience.