Bug 4365 - ReplayGain.pm crash while using RadioTime
: ReplayGain.pm crash while using RadioTime
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Plugin
: 6.5.0
: Macintosh Other
: P2 normal (vote)
: ---
Assigned To: Chris Owens
http://forums.slimdevices.com/showthr...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-10-13 16:27 UTC by KDF
Modified: 2006-11-05 22:50 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
the fix. (606 bytes, patch)
2006-10-13 16:30 UTC, KDF
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description KDF 2006-10-13 16:27:52 UTC
From the post:


If I select to play Splash via RadioTime -> My Radio -> United Kingdom -> Live: Splash, the squeezebox buffers the stream, and starts to play the station. Then SlimServer crashes, leaving the buffer playing on the disconnected Squeezebox.

My log reports:

Can't call method "id" on an undefined value at P:\Music\SlimServer\trunk\server/Slim/Player/ReplayGain.pm line 128.
Comment 1 KDF 2006-10-13 16:30:23 UTC
Created attachment 1642 [details]
the fix.

verified by phil, as appears in the forum.  

added extra sanity check for both current and compare albums, just in case.
Comment 2 KDF 2006-10-13 17:33:33 UTC
fixed in trunk at change 10332 and 6.5.1 at change 10333.
Comment 3 KDF 2006-11-05 22:50:12 UTC
*** Bug 4471 has been marked as a duplicate of this bug. ***