Bugzilla – Bug 7213
Add a highlight for the years for Jive 'Years' menu.
Last modified: 2009-09-08 09:24:19 UTC
Description: When skipping down the years list on the Jive remote it's handy to have the acceleration highlight, particularly when you have a lot of years. It's more useful to know the decade, but we might as well return the whole year. This makes it easier to skip from 1909 to 1990 without going very slowly (or upwards). This patch adds this function. Implementation: In the yearsQuery we use the last 2 digits of the year as the textkey, IFF the year is not 0 (which is used for un-year'd tracks). Testing: Go to the top level Jive menu, select years. Scroll quickly down the list to see that the last 2 digits of the year are shown as your highlight. (may only be useful if you have a wide range of years) Note: This is quite cute as we can *just* fit 2 digits on the screen as the textkey. Any more than this would be silly, but fortunately we tend to understand the last 2 digits quite well so it all works out ok.
Created attachment 2912 [details] Patch for Slim/Control/Queries.pm for putting the year as the accelerator highlight on the Years Jive remote menu
Hm, I'd have to see this. Can you attach a screenshot?
I've tried pressing the rewind+pause button (which I think is the snapshot) but I can't see any indication that it's actually worked... I'll keep trying...
Created attachment 2913 [details] Example image Ah-ha... Gotcha. It's a tricky one to grab, but... here you go.
Ah, got it. I'd prefer to have it say 1970, rather than 70. That may require more work.
I kept it to just 2 digits because the display's not wide enough for 4. Plus I didn't know what Jive'd do if I gave it 4 characters.