View Albums sorted by Artist (1 Viewer)

MacMini

Portal Pro
May 16, 2006
206
0
I am having a problem getting this to work.

The only way I can get images of the album art to show when browsing is when I select View By Album. But then, it lists all the albums by the name of the album. There is no Sort By Artist option. Is there a way to be able to browse albums sorted by artist, while viewing by cover art icons?

If I select View By Artist, the cover art does not show when browsing the library (it just shows a generic icon,) but only when I get to the individual artist (which is deeper in the menu.)
 

rtv

Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    This is currently not possible but a suggestion I'd like to see realized, too ;)
     

    Spragleknas

    Moderator
  • Team MediaPortal
  • December 21, 2005
    9,474
    1,822
    Located
    Home Country
    Norway Norway
    You can use the "album-view" type for artist, though (thus, sorted by artist)... have to configure it yourself in Mediaportal setup/config.
     

    Wilco

    Portal Member
    January 6, 2007
    5
    0
    Home Country
    England England
    This is a very simple change:

    WindowPlugins -> GUIMusic -> GUIMusicBaseWindow.cs

    line 392 (roughly):

    Code:
                case MusicSort.SortMethod.Name:
                  //Adjust To go to artist sort method (instead of going to date)
                  CurrentSortMethod = MusicSort.SortMethod.Artist;
                  break;
    
                //Add what to do it currently on artist sort method
               //continue on to date sort method
                case MusicSort.SortMethod.Artist:
                  CurrentSortMethod = MusicSort.SortMethod.Date;
                  break;
                case MusicSort.SortMethod.Date:
                  CurrentSortMethod = MusicSort.SortMethod.Size;
                  break;

    is all thats needed, the rest already exists. Don't know why its not included in the list of sort methods.

    TBH i would change the whole order, its a bit random, how about this?:

    Code:
              switch (CurrentSortMethod)
              {
                case MusicSort.SortMethod.Name:
                  CurrentSortMethod = MusicSort.SortMethod.Artist;
                  break;
                case MusicSort.SortMethod.Artist:
                  CurrentSortMethod = MusicSort.SortMethod.Title;
                  break;
                case MusicSort.SortMethod.Title:
                  CurrentSortMethod = MusicSort.SortMethod.Album;
                  break;
                case MusicSort.SortMethod.Album:
                  CurrentSortMethod = MusicSort.SortMethod.Track;
                  break;
                case MusicSort.SortMethod.Track:
                  CurrentSortMethod = MusicSort.SortMethod.Rating;
                  break;
                case MusicSort.SortMethod.Rating:
                  CurrentSortMethod = MusicSort.SortMethod.Date;
                  break;
                case MusicSort.SortMethod.Date:
                  CurrentSortMethod = MusicSort.SortMethod.Size;
                  break;
                case MusicSort.SortMethod.Size:
                  CurrentSortMethod = MusicSort.SortMethod.Duration;
                  break;
                case MusicSort.SortMethod.Duration:
                  CurrentSortMethod = MusicSort.SortMethod.Filename;
                  break;
                case MusicSort.SortMethod.Filename:
                  CurrentSortMethod = MusicSort.SortMethod.Name;
                  break;
              }
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    I've added changed that but it seems the listcontrol's album-view has some serious performance problem. Maybe it internally checks for thumbs again or something like that :confused:
     

    Hadriagh

    Portal Member
    June 11, 2006
    11
    0
    Seems the latest snapshot download I grabbed has this feature enabled (Album view with Artist sort) and I love it. I can't seem to make the Artist sort stick as the default when I open up my music though, quite frustrating. I'm pretty anal about this stuff and would also really like to see a secondary sort, so it would sort first by Artist and then by album year or name.
     

    Koudijs

    Retired Team Member
  • Premium Supporter
  • January 4, 2007
    132
    3
    49
    Home Country
    Netherlands Netherlands
    Since svn version 13735 the default sort can be configured per view. In configuration.exe you have to go Music->Music Views, select the albums view and set SortBy to Artist. If you now select the albums view in MediaPortal you will get your albums sorted by artist (see screenshots).

    Regards,
    Jan
     

    Spragleknas

    Moderator
  • Team MediaPortal
  • December 21, 2005
    9,474
    1,822
    Located
    Home Country
    Norway Norway
    Thanks for all you great work on the "view-matter", Koudijs!

    Since you have planted your nose in the view-code-area, could I possible make a request?

    I would like to use the "album"-view type in ALL areas (from top of my head: movies, pictures, radio). (Frodo also said it would be a good idea). Is there any way this can be done?

    Thanks in advance!
     

    Users who are viewing this thread

    Top Bottom