Bugzilla – Bug 5609
Clicking on iTunes Settings gives 404 error, MusicIP also.
Last modified: 2009-01-23 20:39:31 UTC
When I goto "SqueezeCenter Settings/Extras" and click on the "Settings" dialog for the iTunes plugin I get: 404 Not Found: plugins/iTunes/settings/itunes.html I'm running svn 13356 on Ubuntu Linus. iTunes doesn't appear in the drop list on the top. When starting SlimServer with: slimserver.pl --d_startup --debug plugin.itunes, plugins The following iTunes related log messages are shown: ==================================================== Loaded module: [Slim::Plugin::iTunes::Plugin] ok! [11:39:17.5192] Slim::Plugin::iTunes::Common::findMusicLibraryFile (167) Attempting to locate iTunes Music Library.xml automatically [11:39:17.5420] Slim::Plugin::iTunes::Common::findMusicLibraryFile (222) Unable to find iTunes Music Library.xml [11:39:17.5425] Slim::Utils::PluginManager::enablePlugins (335) Skipping plugin: Slim::Plugin::xPL::Plugin - disabled [11:39:17.6175] main::init (379) SqueezeCenter checkDataSource... =================================================== It feels like the iTunes plugin isn't loaded correctly, but if this is the case I don't think it should be possible to click on the "Settings" button beside the iTunes plugin in "SqueezeCenter Settings/Extras". This problem could be related to the following bug report: https://bugs-archive.lyrion.org/show_bug.cgi?id=5549
I cannot reproduce, but I would suggest this would indeed be the same issue as 5549
(In reply to comment #1) > I cannot reproduce, but I would suggest this would indeed be the same issue as > 5549 > Let me know if you can provide any more logs to help. I have no problem reproducing the problem since it happens every time for me, I don't think I've ever seen it worked in 7.0. There is obviously no iTunes installed on the computer in this is a Linux computer. The only error I saw from the iTunes plugin was that it couldn't find the "iTunes Music Library.xml" library file.
(In reply to comment #2) > (In reply to comment #1) > > I cannot reproduce, but I would suggest this would indeed be the same issue as > > 5549 > > > > Let me know if you can provide any more logs to help. I have no problem > reproducing the problem since it happens every time for me, I don't think I've > ever seen it worked in 7.0. There is obviously no iTunes installed on the > computer in this is a Linux computer. > > The only error I saw from the iTunes plugin was that it couldn't find the > "iTunes Music Library.xml" library file. > Sorry, I did mean to say "Let me know if I can..."
Where is your music file located? What is the filename? does the patch from bug 5505 help at all?
(In reply to comment #4) > Where is your music file located? What is the filename? > does the patch from bug 5505 help at all? > No, that patch doesn't help. I might not have described the whole situation. 1. I'm running this on Ubuntu Linux 2. There is obviously no iTunes installed on the machine since iTunes isn't supported on Linux 3. The iTunes Music Library.xml file can be pretty much everywhere on the disk, in my case it is mounted at: /home/erland/Documents/My Music/iTunes/iTunes Music Library.xml 4. I'm not really expecting to use the iTunes integration on Linux, it just feels wrong that I get a 404 error 5. There is no iTunes entry in the top drop list in the "SqueezeCenter Settings" dialog In 6.5 I'm was able to specify the path to the iTunes Music Library.xml, this is not possible in 7.0 since I can't even get into the iTunes settings dialog. The itunes.prefs files contains the following entries (besides the _* entries) ==================================== ignore_disabled: 0 itunes: 0 lastITunesMusicLibraryDate: 0 music_path: ~ playlist_prefix: "iTunes: " playlist_suffix: '' scan_interval: 3600 xml_file: '' ==================================== I'm running a svn installation updated with latest code a few hours back.
Just a small update. I moved the iTunes Music Library.xml file to the $HOME of the user running SlimServer, the iTunes menu and Settings button then works correctly. So this problem is related to when the iTunes Music Library.xml can't be found. In that case, there is no way for the user to specify the correct location because the iTunes plugin will not load correctly.
Thanks. I think I know the cause now. the plugin init does a validation check to make sure itunes is ready and available, before it sets up the settings page handler. Without this, the page fails. This is the same for MusicIP, which was reported as bug 5611 but was no longer a problem once MusicIP was working.
Created attachment 2197 [details] possible fix. this patch goes by the older standard of having the settings for itunes exposed whether or not itunes can be used. I'm not going to just drop this into trunk as it may be more desireable to have something in the plugin registry that hides plugins that are not active despite being enabled.
(In reply to comment #8) > Created an attachment (id=2197) [edit] > possible fix. > Just to confirm, this patch seems to solve the problem. The iTunes settings page is now available even if the iTunes Music Library.xml file can't be found.
I've merged the fix at change 13460. cc'ing Brian on the UI, in case there is a change to how we want to handle this.
sorry make that change 13559
*** Bug 5611 has been marked as a duplicate of this bug. ***
This bug is being closed since it was resolved for a version which is now released! Please download the new version of SqueezeCenter (formerly SlimServer) at http://www.slimdevices.com/su_downloads.html If you are still seeing this bug, please re-open it and we will consider it for a future release.