Bugzilla – Bug 2031
Trying to play new music crashes with previously playing playlist
Last modified: 2008-09-15 14:36:01 UTC
This morning I woke up to my "Morning Alarm" playlist via the standard alarm set to play on just saturday morning. Worked fine. I turned off the SqueezeBoxG (synced with SB2). This evening I turned the SBG back on and switched the saturday morning alarm clock off. I then went to select an album to play via browse albums. I navigated to a standard album (mp3 format) that I have played a few times before, and pressed play. SlimServer crashed with the following error: Can't locate object method "content_type" via package "file:///M:/Music/SlimServer%20Playlists/Morning%20alarm.m3u" (perhaps you forgot to load "file:///M:/Music/SlimServer%20Playlists/Morning% 20alarm.m3u"?) at /PerlApp/Slim/Control/Command.pm line 1108. I found this strange in that I wasn't attempting to play the Morning Alarm playlist. This was discovered in the 2005-08-26 nightly.
Similar problem here (at svn rev 4100). When replacing the current playlist (by playing another album), the server sometimes crashes, leaving a message like this in the log: Can't locate object method "content_type" via package "file:///opt/iTunes/Barry%20White" (perhaps you forgot to load "file:///opt/iTunes/Barry%20White"?) at /opt/slimserver-svn/server/Slim/Control/Command.pm line 718.
I also had two crashes also this morning (last night's nightly). The first happened when I tried a live365 station: Can't locate object method "content_type" via package "live365://www.live365.com/play/ kerrijustice" (perhaps you forgot to load "live365://www.live365.com/play/kerrijustice"?) at /usr/local/ slimserver//Slim/Control/Command.pm line 718. The second happened immediately on restarting the server: Can't call method "url" on unblessed reference at /usr/local/slimserver//Slim/Music/Info.pm line 871.
I'm using the new "Daily Alarm" feature. But whenever the alarm is supposed to go off, it crashes Slimserver instead, with the same error message as Dean: Can't call method "url" on unblessed reference at /usr/local/slimserver//Slim/Music/Info.pm line 871. (Latest nightly, running XP SP2. The alarm is supposed to play a playlist on my hard drive, so I wouldn't have thought it would need to access any URLs??)
Fix commited as subversion change 4110