Bug 4710 - AIFF & WAV id3 tags no longer read by Slimserver.
: AIFF & WAV id3 tags no longer read by Slimserver.
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Tagging
: 7.0
: All All
: P2 normal with 2 votes (vote)
: ---
Assigned To: Chris Owens
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-24 17:04 UTC by Spies Steven
Modified: 2008-12-18 11:12 UTC (History)
6 users (show)

See Also:
Category: ---


Attachments
iTunes AIFF with id3 tags (1.15 MB, audio/x-aiff)
2007-01-24 17:10 UTC, Spies Steven
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Spies Steven 2007-01-24 17:04:15 UTC
Slimserver no longer reads id3 tag data from iTunes created AIFF files.  I have tested Slimserver 6.5.1 & 7.0a1 on both Mac OS X & Win XP. Slimserver 6.3.1 does read the tags.
Comment 1 Spies Steven 2007-01-24 17:10:22 UTC
Created attachment 1788 [details]
iTunes AIFF with id3 tags
Comment 2 Michael Beam 2007-01-26 11:01:57 UTC
I second this bug. Most of my audio files are AIFF tagged by iTunes.
Comment 3 Michael Beam 2007-01-26 11:02:52 UTC
and to further iterate, version 6.5.0 also read the tags fine, this bug shows up in 6.5.1
Comment 4 Spies Steven 2007-02-07 08:23:48 UTC
Chris, who should this be assigned to?
Comment 5 KDF 2007-02-07 10:23:06 UTC
oddly, the sample file is working fine for me with 7.0

Unfortunately, there are a lot of differences between MP3::Info for 6.5.1 and 7.0, so I'm afraid it's up to Dan.
Comment 6 Spies Steven 2007-02-07 10:44:46 UTC
Really? I will try again with 7.
Comment 7 Spies Steven 2007-02-07 10:57:12 UTC
It still does not work for me :(

KDF, is it possible that your Slimserver is getting the tag information from iTunes and not from the file itself?
Comment 8 KDF 2007-02-07 13:49:35 UTC
not itunes.  old MP3::Info it seems.  I had svn9959, when the fully updated version is 10616.  Turns out change 10616 is the culprit.  change 10533 works fine.  The change in question is the fix for bug 4486.

With change 10533, I get tags returned.  With change 10616 I get "No ID3 or APE tag found".
Comment 9 Spies Steven 2007-02-07 14:02:00 UTC
Awesome! Thanks KDF!

Chris, should this be assigned to Dan then?
Comment 10 Chris Owens 2007-02-07 14:22:00 UTC
Yep.  Also, please set the 'Target Milestone' to 7.
Comment 11 KDF 2007-05-18 11:44:11 UTC
setting target.  funny, as it's MP3::INFO, this ends up still being a Dan thing :)
Comment 12 Spies Steven 2007-06-14 16:20:45 UTC
Turns out WAV files with id3 tags are no longer read by Slimserver either.  WAV list tags are still read by Slimserver however.

An unrecommended workaround would be to replace the current MP3::INFO with a previous one.
Comment 13 Chris Owens 2007-06-15 09:23:49 UTC
See also bug 1604
Comment 14 Chris Owens 2007-06-15 09:27:32 UTC
For reference, the change KDF refers to as causing this bug was implemented to fix bug 4486
Comment 15 Spies Steven 2007-06-15 09:51:46 UTC
(In reply to comment #13)
> See also bug 1604
> 

Um, please forgive me for asking, but what does guess tags have to do with MP3::INFO no longer able to read AIFF & WAV id3 tags as a result of change 10616? Thanks :)
Comment 16 Fred 2007-06-15 16:35:26 UTC
Change 12247 has a fix. Works for me but I ain't got WAV files.
Comment 17 KDF 2007-06-16 10:08:07 UTC
Steven, the reason for linking bug 1604 with this one is that the guess tags results (which are often problematic because they are only a 'guess') are a symptom of this bug.  Where users previously had tagged values showing up, now they see guessed results (easily resulting in odd album, artist, and title results unless formatting is carefully chosen)
Comment 18 Spies Steven 2007-06-18 09:36:11 UTC
KDF, thank you for the clarification.  That's what I figured, but I did not want to assume.

Fred, I am going to try your Change 12247 against some AIFF and WAV files along with the MP3 from bug 4486 and report back, thanks!
Comment 19 Spies Steven 2007-06-18 16:25:01 UTC
Change 12247 looks great to me.  SlimServer now reads AIFF & WAV ID3 tags and does not crash on the files from Bug 4486.

Chris, can we move this change into the 6.5.3 branch?
Comment 20 Chris Owens 2007-06-19 10:39:53 UTC
I would want to hear from the KDF or some other trusted developer(s) about how much effort and risk would be involved.
Comment 21 KDF 2007-06-19 12:35:53 UTC
The change appears safe enough to me.  It simply removes an optimisation to bypass id3 reading for irrelevant file types.  With more recent optimisation, this check is no longer valid, always fails and thus blocked id3 reading for the correct file types. Of course, that's basically restating what Fred added in the comments, and I think it's certainly safe to trust Fred :)

cc'ing fred for his input on porting to 6.5.3.  If it is worth porting, it should definitely be done sooner rather than later.
Comment 22 Fred 2007-06-19 12:40:48 UTC
IMHO it's pretty easy and safe to port. Code is the same I think so just apply the svn diff.
Comment 23 Chris Owens 2007-06-19 15:10:18 UTC
I am reassured.  Would you, Fred, or KDF please go ahead and commit to 6.5.3 then?
Comment 24 KDF 2007-06-19 18:45:21 UTC
merged to 6.5.3 at change 12273
updated changelogs in trunk to reflect new target