Bug 2031 - Trying to play new music crashes with previously playing playlist
: Trying to play new music crashes with previously playing playlist
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 6.2.0
: PC Windows XP
: P2 major (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-28 03:17 UTC by Philip Meyer
Modified: 2008-09-15 14:36 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Meyer 2005-08-28 03:17:56 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.
Comment 1 Michel Marti 2005-08-28 04:04:07 UTC
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.
Comment 2 Blackketter Dean 2005-08-28 09:20:54 UTC
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.
Comment 3 Chris 2005-08-29 07:45:45 UTC
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??)
Comment 4 Dan Sully 2005-08-29 09:25:18 UTC
Fix commited as subversion change 4110