Bug 1164 - bad file name in playlist crashes server.
: bad file name in playlist crashes server.
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Playlists
: 6.0.0
: PC Debian Linux
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-22 14:06 UTC by Bob Miller
Modified: 2008-09-15 14:37 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 Bob Miller 2005-03-22 14:06:15 UTC
Create a .m3u format playlist file manually.  Put a nonexistent/misspelled file
name in the playlist.  Select album shuffle mode.  Try to play the playlist
using the web interface.  Watch the server crash with this message.

Can't call method "album" on an undefined value at /usr/local/lib/SlimServer_v6.
0b3/Slim/Player/Playlist.pm line 428.

$ds->objectForUrl() is returning undef, and reshuffle() is assuming it returned
a valid object ref.

Yes, I'm using v6.0b3.  I'm also using album shuffle mode.
Comment 1 Dan Sully 2005-03-22 14:16:45 UTC
This has been fixed in the latest nightly build.
Comment 2 Chris Owens 2006-06-16 14:41:07 UTC
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006.  I am setting them to targets of 6.2.1 to keep them from showing up in my queries.