Bug 13522 - Presets can not be modified in SC
: Presets can not be modified in SC
Status: RESOLVED INVALID
Product: Logitech Media Server
Classification: Unclassified
Component: Plugins
: 7.4.0
: PC Windows Home Server
: -- normal (vote)
: 7.4.0
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-20 00:12 UTC by Paul Mackenzie
Modified: 2009-08-21 22:37 UTC (History)
1 user (show)

See Also:
Category: Bug


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Mackenzie 2009-08-20 00:12:24 UTC
I have an issue which has just cropped up on the latest couple of builds (28225 and one before). One of my favourites has disappeared and really doesn't want to come back! If I press button 1 on my Boom I get 'Preset #1 is Not Defined'. Looking in SC I have 6 favourites. Playing the one associated with button 1 from SC works just fine, but if I press and hold button 1 on the Boom whilst it is playing (to reassociate the button) nothing happens. Butons 2-6 work fine. I have tried to delete the problem favourite and reload it but nothing works.

Regards

CW
Comment 1 James Richardson 2009-08-20 11:11:45 UTC
I am unable to replicate this behavior...QA to investigate

Can you please try later builds of SBS to see if the problem persists?

You may also want to clear out your cache to see if maybe the prefs file is stuck.
Comment 2 Paul Mackenzie 2009-08-21 00:01:29 UTC
Just updated to latest version pulled down by my Windows Home Server, 28228. This made no difference. Then deleted my cache. After the rescan I tried again. The problem is still there. Next I will delete the rogue favourite, then flush the cache and see if that helps...

Paul
Comment 3 Paul Mackenzie 2009-08-21 02:31:02 UTC
Done some more testing and have found some interesting things. The web interface and the Boom seems not to be linked any more as far as selecting favourites on the buttons 1-6 go. I deleted all favourites using the web interface but the Boom still retains my old favourites on these keys (including the Preset#1 not being defined). I know the Boom is updating based on the web interface as I added in a menu item and it appeared on the Boom as it should.

Still experimenting I added back in one radio channel through the web interface (so I just had one favourite which I thought should appear on button 1). The buttons still retained there old stations (ie 1 not defined and 2-6 all different channels) I then thought I would try and add in the radio via the Boom rather than the web interface. I used Search to find 'BBC Radio 1' and was very surprised to find it was already listed as a favourite i.e. it appears the Boom is maintaining 2 lists of my favourites. The buttons are mapped to one definition but the search matches against another.

Looking on WHS I see I have a file called favorites.opml in c:\Documents and Settings\All Users\Application Data\Squeezebox\prefs. This reflects the favourites list in the web interface. Is there any where else the information is stored?

Any ideas what to do next?

Paul
Comment 4 Paul Mackenzie 2009-08-21 03:06:06 UTC
Final investigation really emphasises the issue. I turned on debug for favourites. If I press one of the buttons then I get no debug. Although I have 'favorites' stored on the buttons, they are not seen as favourites by the boom or SBS. I added back favourites into the Boom menu and it only has one entry. This matches the web interface. If I play it it gets debug. None of the buttons play this favourite.

Any ideas how I can fix this? I am loathed to factory reset the Boom, but I can if that helps. Note I have 2 Booms and use SettingsManager and SyncOptions to keep them synchronised. I wonder if that is anything to do with it. I can also wipe my prefs, but again it takes me quite a while to get back from that state so I would like to avoid if poss.

HTH

Paul
Comment 5 James Richardson 2009-08-21 05:57:20 UTC
Thanks Paul.  can you post the url of your favorite?
Comment 6 Paul Mackenzie 2009-08-21 06:08:48 UTC
The URL of the favourite that's current in the web interface is:
http://opml.radiotime.com/Tune.ashx?id=s24939&formats=aac,mp3,wma,wmpro,wmvoice,wmvideo,ogg&partnerId=16

It's BBC Radio 1. The stations on the buttons are:

95.8 Capital FM
XFM London
Absolute Radio (London,UK)
BBC Radio 5 Live
BBC Radio 5 Live Sports Extra

All were found using the search function is the web interface

HTH

Paul
Comment 7 James Richardson 2009-08-21 06:09:52 UTC
(In reply to comment #4)
> if that helps. Note I have 2 Booms and use SettingsManager and SyncOptions to
> keep them synchronised. I wonder if that is anything to do with it. 

That may be the key here, can you try it with those 2 plug-ins disabled?
Comment 8 Paul Mackenzie 2009-08-21 06:30:49 UTC
Now that's interesting. I just went to the Plugins tab and those 2 add-ins are not mentioned as being installed. However, I just changed the settings on one Boom and the other picked it up so at least SettingsManager appear to be working. They were installed through the extension downloader.I can see SyncOptions in the All 3rd party list (but it's not shown as installed) but SettingsManager isn't even mentioned :-S Actually if it was installed by a repository and that repository is no longer in the addition respositories list then would it show as not installed? Come to think of it last time I rebuilt SBS I might not have installed SyncOptions. SettingsManager definitely is though (its the one that sync settings between the Booms). Just checked my WHS and I have a .prefs file for SettingsManager but not one for SyncOptions.

How do I deinstall SettingsManager if it's not listed in the list of plugins? 

Paul
Comment 9 Paul Mackenzie 2009-08-21 07:25:24 UTC
Through trial and error I found that I needed to have the repository listed before I could see that SettingsManager was installed. When I added the repository I could disable the plug-in. With the plug-in disabled I had one advancement. By pressing and holding button1 I could programme it to a radio station. My web interface and buttons are still out of sync though. I will play some more and now the plugin is disabled see if any of the advice before now works.

Paul
Comment 10 James Richardson 2009-08-21 07:31:14 UTC
(In reply to comment #9)
> Through trial and error I found that I needed to have the repository listed
> before I could see that SettingsManager was installed. When I added the
> repository I could disable the plug-in. 

Can you file this as a separate bug please :)  The fact that the repository has to be present for the plug-in to show up / uninstall

Thanks for the great work on tracking down (these) issues
Comment 11 Paul Mackenzie 2009-08-21 07:50:23 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > Through trial and error I found that I needed to have the repository listed
> > before I could see that SettingsManager was installed. When I added the
> > repository I could disable the plug-in. 
> 
> Can you file this as a separate bug please :)  The fact that the repository has
> to be present for the plug-in to show up / uninstall
> 
> Thanks for the great work on tracking down (these) issues

No problems I'll log another bug. Actually I found some others whilst playing about, like the fact you can't add more than one favorite from the search results screen in the web interface. You need to go back and research before adding the next one.

Paul
Comment 12 Paul Mackenzie 2009-08-21 08:13:30 UTC
(In reply to comment #9)
> With the plug-in disabled I had one advancement. By pressing and holding button1 > I could programme it to a radio station. 

Actually this is only partially true, as soon as the web interface is updated you lose this assignment and I'm back to preset #1 is not defined. I have now tried to flush the cache again (now SettingsManager is disabled) but the buttons are still out of sync with the web-interface. Not sure there is anything more I can try. If you want me to do any more tests just say.

Paul
Comment 13 James Richardson 2009-08-21 08:40:02 UTC
So you have both SettingsManager and SyncOptions disabled correct?
Comment 14 James Richardson 2009-08-21 08:40:49 UTC
what version of SBS for WHS do you have installed currently, 7.4.0 rxxxxx
Comment 15 Paul Mackenzie 2009-08-21 08:50:00 UTC
I think so! Both plug-ins are listed in the Plugs-ins section and are not ticked. However there is something a bit unusual. I have Update Plugins Automatically enabled and twice today I have been told there have been updates. This is very unusual (I think I have only seen one update before). Also I notice that now I have a request to reboot the server pending (which I haven't done yet due to a scan finishing which was caused by flushing the cache). Anyway in the list now I see MusicInformationScreen is showing as not installed when it definitely is. I just checked and i'm running version 4.4.2 of MusicInfoSCR which is shown as the latest version here (http://www.herger.net/slim-plugins/detail.php?nr=446)

I'll reboot in a mo and see if that clears things up but I wouldn't be suprised if all of these things are linked!

Paul
Comment 16 Paul Mackenzie 2009-08-21 08:51:18 UTC
I am running Version: 7.4 - r28228 @ Thu Aug 20 04:02:36 PDT 2009. I see 28235 is now available, do you want me to upgrade?

Paul
Comment 17 Paul Mackenzie 2009-08-21 09:10:36 UTC
Scan finished and I reboot the server. SyncOptions and SettingsManager are both still unticked and MusicInfoSCR is now showing as installed (still version 4.4.2). I wonder if that Plugs Ins Updated message was actually necessary or is another bug?

Paul
Comment 18 James Richardson 2009-08-21 09:38:15 UTC
What repository are you pulling those plug-ins from?
Comment 19 Paul Mackenzie 2009-08-21 10:04:53 UTC
Peter W's at: http://www.tux.org/~peterw/slim/slim7/repodata.xml

Paul
Comment 20 James Richardson 2009-08-21 10:41:05 UTC
OK, plug-ins are a red herring to this bug, sorry about the confusion on that.

In SBS there is no way (that I can find) to modify which Favorite is set to a preset button.  That function has been removed.

Also, there is no way to see what URL is set for a given preset in SBS any more.  Clicking on Favorites doesn't display presets now.  It did in 7.3.3.

This could be why the plug-ins mentioned are not working any more, because the functions have moved or been removed.
Comment 21 Paul Mackenzie 2009-08-21 11:04:21 UTC
(In reply to comment #20)
> OK, plug-ins are a red herring to this bug, sorry about the confusion on that.
> 
> In SBS there is no way (that I can find) to modify which Favorite is set to a
> preset button.  That function has been removed.
> 
> Also, there is no way to see what URL is set for a given preset in SBS any
> more.  Clicking on Favorites doesn't display presets now.  It did in 7.3.3.
> 
> This could be why the plug-ins mentioned are not working any more, because the
> functions have moved or been removed.

The plug ins do work actually, it was there disappearance (another bug I just logged) that got ne thinking they might be relevant. 

So there are a few bugs here. My buttons not syncing with the favourites list, also no way of assigning favourites to a button in the web interface or vice versa no way to see what URL is on a button. 

Paul
Comment 22 Michael Herger 2009-08-21 11:29:23 UTC
I haven't gone through all 21 comments... but answering the bug _title_ would be a "resolved - design decision". So what exactly is this bug about?
Comment 23 Paul Mackenzie 2009-08-21 11:47:30 UTC
(In reply to comment #22)
> I haven't gone through all 21 comments... but answering the bug _title_ would
> be a "resolved - design decision". So what exactly is this bug about?

That wasn't my original title! The bug is the fact my boom buttons do not correspond to my favourites. Infact there appears to be no way from the web interface to assign which favourites appear on which buttons. I first noticed the bug when preset 1 was unassigned even though I had 6 favourites. Then after some investigation I worked out the favourites and buttons seem to have lost their association

HTH

Paul
Comment 24 Paul Mackenzie 2009-08-21 11:55:15 UTC
Mweldon has just explained presets are not the same as favourites. So my bug is actually a change in functionality. You can close this now. Thanks.
Comment 25 Michael Herger 2009-08-21 22:37:43 UTC
Thanks for the feedback.