Bug 8116 - SongScanner key defs should be in default.map
: SongScanner key defs should be in default.map
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Plugins
: 7.1
: PC Windows XP
: -- enhancement (vote)
: 7.x
Assigned To: KDF
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-10 15:00 UTC by Marc Auslander
Modified: 2009-09-08 09:29 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments
move mappings (1.31 KB, patch)
2008-06-19 09:45 UTC, KDF
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Auslander 2008-05-10 15:00:00 UTC
Since it appears that songscanner is now a required pluggin, its key definitions should be in default.map rather than dynamically installed in initPlugin.

The difference is that keys in default.map can be overridden using a custom.map

I swap fwd/rev and fwd/rev-hold function - but this won't work properly with current implementation.
Comment 1 KDF 2008-05-10 15:28:59 UTC
good point.  target 7.1, I suppose?
Comment 2 KDF 2008-05-10 15:34:58 UTC
common mode functions should certainly move.
not sure about the plugin mode buttons.  Then again, maybe it's better as a button module since it's an enforced plugin anyway.  That is essentially what the Button/* and Web/Pages/* modules are.
Comment 3 Chris Owens 2008-06-19 09:28:37 UTC
So what work needs to be done here?  Since this bug wasn't assigned to anyone it's kind of fallen through the cracks.
Comment 4 KDF 2008-06-19 09:45:35 UTC
Created attachment 3460 [details]
move mappings

something like this needs to be done.  I don't think the other buttons should be moved, as this is specific to the plugin mode itself.  Normally that would have been in the %functions, but the addModeDefaultMapping call does pretty much the same thing.
Comment 5 Alan Young 2008-06-19 23:21:38 UTC
KDF, I guess that is fine if we are happy with SonScanner being mandatory. The old (current) behaviour allows one to disable the SongScanner plugin and then get the old accelerated-audio behaviour. This patch would remove that option but it would not be difficult for a user that cares to change the mapping in this case.

Do you want to commit this?
Comment 6 KDF 2008-06-19 23:29:05 UTC
I'll assign to me as a todo, but since it's targetted for 7.2 and I'm currently busy packing for a flight to the UK, I'll hold off for now.  Let's be sure that permanently on SongScanner is what is desired.
Comment 7 KDF 2008-07-31 12:23:14 UTC
well, I'll merge this in, but Dean has to decide if having songscanner changed to a forced-enabled plugin. users wanting the older scanning can change the map file (though I realise that's almost never considered an accepted option)
Comment 8 Blackketter Dean 2008-08-06 13:16:16 UTC
Thanks, KDF.  Is this merged in?
Comment 9 KDF 2008-08-06 13:47:18 UTC
not merged yet.  I want to know if we should make the plugin mandatory as per alan's query. Otherwise, the mapping would be a problem should a user disable the plugin. 
Comment 10 KDF 2008-08-08 10:29:55 UTC
ping Dean,
Any chance of a confirmation here?  This change would make the scanner mandatory as a plugin.  Users can only bypass with a custom map
Comment 11 Chris Owens 2008-08-11 10:34:49 UTC
Dean says go ahead and commit!
Comment 12 KDF 2008-08-11 10:57:04 UTC
Change 22519.  no change in song scanner enforce status, as it appears it was already mandatory :)
Comment 13 James Richardson 2008-12-15 12:33:51 UTC
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.
Comment 14 Chris Owens 2009-07-31 10:21:15 UTC
Reduce number of active targets for SC