Bugzilla – Bug 2047
SlimServer crashes when trying to play music via Browse Music Folder on SBG
Last modified: 2008-09-15 14:36:01 UTC
I mentioned this problem with nightly build 2005-08-26, but thought it was likely to be the same problem as bug 2031, which is now in fixed state (since 4110). However, I have 4117, and this problem still exists: Can't locate object method "path" via package "file:///M:/Music/Music% 20Downloads/Various%20Artists/Chillout%20Moods%20Vol.%201" (perhaps you forgot to load "file:///M:/Music/Music%20Downloads/Various%20Artists/Chillout%20Moods% 20Vol.%201"?) at /PerlApp/Slim/Player/Playlist.pm line 595. I simply tried to play some music via the SqueezeBoxG "browse music folder". SlimServer dies as soon as I press play.
did you have an existing playlist loaded prior to this, or was it new music? did you play a folder or tracks from player bmf?
search of code looks like $client->currentPlaylist is saved as an object sometimes, and a path in others: execute 'playlistcontrol' and parseSearchTerms() $client->currentPlaylist($obj) if $load; execute 'play' $client->currentPlaylist($fixpath); solution could be (line 595 of Playlist.pm): ref($client->currentPlaylist)?$client->currentPlaylist->path:$client->currentPlaylist; or find a way to convert all the currentPlaylists to objects (which would break the old methods to play a playlist by filename (command->'playlist'->'load' for eg)
There probably was a current playlist (but it wasn't playing). I think I pressed play at folder level in BMF.
Also get a similar crash when trying to play a podcast through the podcast plugin. Can't locate object method "path" via package "http://topofthepods.mx5.org.uk/shows/TOTP20050926_Top_Ten_Phrases_That _Americans_Say_While_Attempting_A_British_Accent.mp3" (perhaps you forgot to load "http://topofthepods.mx5.org.uk/shows/TOTP20050926_Top_Ten_Phrases_That_Am ericans_Say_While_Attempting_A_British_Accent.mp3"?) at /PerlApp/Slim/Player/Playlist.pm line 595. .
*** Bug 2076 has been marked as a duplicate of this bug. ***
*** Bug 2077 has been marked as a duplicate of this bug. ***
*** Bug 2078 has been marked as a duplicate of this bug. ***
committed possible fix to trunk change 4170. please update svn or download sept 6 nightly build to confirm.
With change 4170 and change 4171 from adrian, this should be fixed. please re-open if any issues remain.