Bugzilla – Bug 8997
Need method to determine if an url is truely remote
Last modified: 2009-07-31 10:26:23 UTC
There doesn't appear to be a way of detecting if an URL is truely remote, i.e. something that doesn't point to a resource on the local system. Slim::Music::Info::isRemoteURL does no such thing - it returns true for anything that matches /^([a-zA-Z0-9\-]+):/ and is a registered protocol. This includes URLs such as db:album.titlesearch=1 and also things like randomplay://artist. The alarm clock code needs something like this in order to know if it makes sense to pause the currently playing track on snooze. For example, radio streams shouldn't be paused as the user would then wake up listening to non-realtime radio. Actually, I guess what the alarm really wants to know is whether a given URL points to "live" music. isRemote is a good enough approximation, however.
Reassigning and targeting as per discussion with Andy.
Change 22424.
Verified fixed in SqueezeCenter 7.2-22900 Controller 7.2 2873 I was able to add a variety of items as alarms
This bug has been fixed in the 7.3.0 release version 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.
Reduce number of active targets for SC