Bug 1963 - Feature request: Browse Artwork - split pages alphabetically, not by page number
: Feature request: Browse Artwork - split pages alphabetically, not by page number
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: unspecified
: All All
: P2 enhancement (vote)
: Future
Assigned To: KDF
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-11 16:31 UTC by alex_m74
Modified: 2009-09-08 09:25 UTC (History)
0 users

See Also:
Category: ---


Attachments
patch to do the above (419 bytes, patch)
2005-08-11 23:04 UTC, KDF
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description alex_m74 2005-08-11 16:31:58 UTC
Is it possible to browse artwork and separate the pages alphabetically (i.e. in
the same way "Browse Artists" works)?

At the moment we just get an arbitrary page number, with no real indication of
where everything is.

With over 1,500 albums, it's quite hard to browse through everything and find
what I'm looking for - there's a lot of trial and error involved in finding the
right page number! 

At the moment everything in the "Browse Albums" view is sorted for me using the
ALBUMSORT tag (set to "Artist|Year|Album" for my collection, though to each his
own on this one!). This goes some way in helping me find the album I'm looking
for, but things would be so much faster (and easier) if I could click on the
appropriate letter and be directed to the right page. 

If multiple sort orders will ever be implemented as well, then the page split
should happen based on the first character of the current sort order being used,
of course!

Thanks!
Alexis
Comment 1 KDF 2005-08-11 16:46:52 UTC
running anything but the EXE version, changing Slim/DataStores/Base.pm line 435 to:
			'alphaPageBar' => sub { return 1; },

should have the desired effect.  

originally, since there was no alpha information displayed, the choice was to
have no alphapagebar.  if the layout changes to remove browse artwork, and
simply include artwork in browse albums (as per bug 882), then this is moot.
Comment 2 KDF 2005-08-11 23:04:59 UTC
Created attachment 716 [details]
patch to do the above

self-explanatory really.
Comment 3 alex_m74 2005-08-12 03:21:39 UTC
Cool stuff! Wasn't expecting such a quick response!

Unfortunately I'm running the EXE version, but this is reason enough for me to
install Perl and download the perlscripts version.

Thanks!
Alexis
Comment 4 KDF 2005-08-17 20:33:41 UTC
dean, any thoughts on this one?  
Comment 5 Blackketter Dean 2005-08-19 11:24:56 UTC
Go for it!
Comment 6 KDF 2005-08-19 12:42:25 UTC
in trunk at change 3999
similarly patched in 6.1.x at change 4000
Comment 7 James Richardson 2008-12-15 13:06:58 UTC
This bug appears to have been fixed in the latest release!

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.

Make sure to include the version number of the software you are seeing the error with.