Bugzilla – Bug 2077
alarm clock fails to play selected playlist
Last modified: 2011-03-16 04:39:15 UTC
When the built-in alarm goes off, I have it set to play the following playlist: $ cat ~slimserver/Playlists/KUT.m3u /mnt/NitroAV/MusicLib/FLAC/M/Misc/the_swedish_rhapsody.mp3 http://pubint.ic.llnwd.net/stream/pubint_kutx Not every time, but frequently, the server crashes when the alarm is supposed to go off with: Can't locate object method "path" via package "file:///home/slimserver/Playlists/KUT.m3u" (perhaps you forgot to load "file:///home/slimserver/Playlists/KUT.m3u"?) at /opt/slimserver/trunk/server/Slim/Player/Playlist.pm line 595. This is similar to bug #2130, which was marked fixed with change 4110. I'm at change 4159.
Ooops, my bad. Dupe of bug 2047. *** This bug has been marked as a duplicate of 2047 ***
I'd like to re-open this. After bug 2047 was fixed (and updating to change 4183), the server no longer crashes when trying to play a playlist from the alarm. However, it doesn't play the playlist. I generally go to sleep listening to music - sleeping the SB after a period of time. Now when the alarm goes off, instead of playing the specified playlist I hear a resumption of the track which was in the playlist when the SB went into sleep mode. No errors are logged - though I don't have anything special selected to log for debugging. Selecting the playlist from the remote works correctly, so there doesn't appear to be anything wrong with the playlist itself.
the alrm will fall back to the current playlist if loading the selected playlist fails for some reason. This is so that there is at least some chance for you to wake up (versus just silently giving up). Try d_command and d_source logs.
Created attachment 806 [details] properly load any playlist (if valid) tried this out and it works. had to rescan for valid playlists. oddly, had a playlist that would play from web UI, but not alarm. Recanning, this playlist disappeared. patch also reduces calls to prefs.
fix committed to trunk at change 4199
Verified the alarm playlist plays correctly. Thanks!
This bug has been fixed in the latest release of SqueezeCenter! Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already. If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.