Bugzilla – Bug 3402
When Use iTunes is enabled, often no (or limited) content is seen
Last modified: 2009-09-08 09:11:35 UTC
Known facts: - I have never been able to reproduce this issue - Most often occurs when library has been moved or is in multiple locations - Sometimes SOME of the content shows up but not all of it - Another symptom is that playlists sometimes come up blank - Does not seem related to whether or not a Music Folder is specified in server settings
Engineering: Please provide a list of information for the support and/or QA team to gather. Keep in mind that customers experiencing this problem are often irate and just want it to work, "not help us fix our product."
A copy of: slimserversql.db slimserver.pref iTunes Music Library.xml Examples of the content that isn't seen.
Created attachment 1233 [details] XML pref and db from TMID:3516
Also, Reginald mentioned that specifically the playlist he was unable to see any content in was a playlist called "May 10". (Re: TMID:3516)
from ticket 3444 ... user upgraded to 6.2.2 and iTunes stopped seeing his entire library. Tried: * rescan. no luck. * removed db. rescan. no luck. user added, "I forgot to say that my iTunes library is located in a separate Lacie hard disk with a firewire connection. iTunes, so far, read it very well." So, tried: * removed prefs. specify XML location and music folder. rescan. FIXED!
I don't see why Reginald's playlists are being ignored. His XML file looks fine but his playlist_track table is completely empty. A full --d_itunes output would be helpful but I guess someone will need to reproduce first.
Subject: Re: When Use iTunes is enabled, often no (or limited) content is seen Getting output like that from Reginald would be very, very difficult. Is it that important? On May 11, 2006, at 1:43 PM, Slim Devices Bugzilla wrote: > https://bugs-archive.lyrion.org/show_bug.cgi?id=3402 > > > andy@slimdevices.com changed: > > What |Removed |Added > ---------------------------------------------------------------------- > ------ > CC| |dan@slimdevices.com > > > > > ------- Comment #6 from andy@slimdevices.com 2006-05-11 13:43 ------- > I don't see why Reginald's playlists are being ignored. His XML > file looks > fine but his playlist_track table is completely empty. A full -- > d_itunes > output would be helpful but I guess someone will need to reproduce > first. > > > > > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter.
Created attachment 1244 [details] log from Dr. Archambault
Got a log from him. It was difficult. Lots of file not found errors... But he is seeing his files, with no music folder set AFAIK...
Here's where I think the problem is: if itunes_library_music_path is set, the file paths in the iTunes XML file are ignored and replaced with that value. In Reginald's case, this led to an invalid path, since his music was in My Music\iTunes\iTunes Music\ not simply My Music\ The win32 installer seems to set an incorrect default value for this preference, which should actually probably be left blank. Most users have iTunes on the same PC so it's not necessary to set the music_path pref. I'll leave it for Dan to decide whether to change the installer or not. To handle the problem another way, I'm going to change the iTunes plugin to fall back to not using the music_path pref if a file is not found there. This way it will still try the full path from the XML file.
Checked in a fix. To test, enter a bogus path in itunes_library_music_path and verify all files and playlists are still present after a rescan. http://svn.slimdevices.com/branches/BRANCH_6_3_x/server/Plugins/iTunes.pm?rev=7443&r1=7337&r2=7443
Andy, what is itunes_library_music_path? Surely it's not an environment variable on a Windows system is it?
No it's a pref in the prefs file, and corresponds to the Server Settings -> iTunes -> iTunes Music Folder setting.
Verified fixed in SlimServer Version: 6.3.0 - 7962 - Windows XP - EN - cp1252
This bug fix is now part of a released version, and so has been marked closed. If you are still experiencing this problem, please reopen the bug.