Bug 2077 - alarm clock fails to play selected playlist
: alarm clock fails to play selected playlist
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Playlists
: 6.2.0
: PC Linux (other)
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-09-05 11:42 UTC by Jeff Sartain
Modified: 2011-03-16 04:39 UTC (History)
0 users

See Also:
Category: ---


Attachments
properly load any playlist (if valid) (1.39 KB, patch)
2005-09-07 10:49 UTC, KDF
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Sartain 2005-09-05 11:42:51 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.
Comment 1 Jeff Sartain 2005-09-05 12:01:27 UTC
Ooops, my bad. Dupe of bug 2047.

*** This bug has been marked as a duplicate of 2047 ***
Comment 2 Jeff Sartain 2005-09-07 06:41:16 UTC
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.
Comment 3 KDF 2005-09-07 10:10:43 UTC
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.
Comment 4 KDF 2005-09-07 10:49:35 UTC
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.
Comment 5 KDF 2005-09-07 17:53:04 UTC
fix committed to trunk at change 4199
Comment 6 Jeff Sartain 2005-09-09 06:30:40 UTC
Verified the alarm playlist plays correctly.  Thanks!
Comment 7 James Richardson 2008-12-15 11:57:41 UTC
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.