View Albums sorted by Artist

Discussion in 'Improvement Suggestions' started by MacMini, January 5, 2007.

  1. MacMini

    MacMini Portal Pro

    Joined:
    May 16, 2006
    Messages:
    206
    Likes Received:
    0
    Ratings:
    +0 / 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.)
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. rtv
    • Premium Supporter

    rtv Retired Team Member

    Joined:
    April 7, 2005
    Messages:
    3,622
    Likes Received:
    301
    Occupation:
    CTO at ES2000
    Location:
    Osnabruck
    Ratings:
    +301 / 0
    Home Country:
    Germany Germany
    Show System Specs
    This is currently not possible but a suggestion I'd like to see realized, too ;)
     
  4. Spragleknas
    • Team MediaPortal
    • Administrator

    Spragleknas Administrator

    Joined:
    December 21, 2005
    Messages:
    9,472
    Likes Received:
    1,385
    Gender:
    Male
    Occupation:
    Occupied
    Location:
    Located
    Ratings:
    +1,892 / 12
    Home Country:
    Norway Norway
    Show System Specs
    You can use the "album-view" type for artist, though (thus, sorted by artist)... have to configure it yourself in Mediaportal setup/config.
     
  5. Wilco

    Wilco Portal Member

    Joined:
    January 6, 2007
    Messages:
    5
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    England England
    This is a very simple change:

    WindowPlugins -> GUIMusic -> GUIMusicBaseWindow.cs

    line 392 (roughly):

    Code (Text):
    1.  
    2.             case MusicSort.SortMethod.Name:
    3.               //Adjust To go to artist sort method (instead of going to date)
    4.               CurrentSortMethod = MusicSort.SortMethod.Artist;
    5.               break;
    6.  
    7.             //Add what to do it currently on artist sort method
    8.            //continue on to date sort method
    9.             case MusicSort.SortMethod.Artist:
    10.               CurrentSortMethod = MusicSort.SortMethod.Date;
    11.               break;
    12.             case MusicSort.SortMethod.Date:
    13.               CurrentSortMethod = MusicSort.SortMethod.Size;
    14.               break;
    15.  
    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 (Text):
    1.  
    2.           switch (CurrentSortMethod)
    3.           {
    4.             case MusicSort.SortMethod.Name:
    5.               CurrentSortMethod = MusicSort.SortMethod.Artist;
    6.               break;
    7.             case MusicSort.SortMethod.Artist:
    8.               CurrentSortMethod = MusicSort.SortMethod.Title;
    9.               break;
    10.             case MusicSort.SortMethod.Title:
    11.               CurrentSortMethod = MusicSort.SortMethod.Album;
    12.               break;
    13.             case MusicSort.SortMethod.Album:
    14.               CurrentSortMethod = MusicSort.SortMethod.Track;
    15.               break;
    16.             case MusicSort.SortMethod.Track:
    17.               CurrentSortMethod = MusicSort.SortMethod.Rating;
    18.               break;
    19.             case MusicSort.SortMethod.Rating:
    20.               CurrentSortMethod = MusicSort.SortMethod.Date;
    21.               break;
    22.             case MusicSort.SortMethod.Date:
    23.               CurrentSortMethod = MusicSort.SortMethod.Size;
    24.               break;
    25.             case MusicSort.SortMethod.Size:
    26.               CurrentSortMethod = MusicSort.SortMethod.Duration;
    27.               break;
    28.             case MusicSort.SortMethod.Duration:
    29.               CurrentSortMethod = MusicSort.SortMethod.Filename;
    30.               break;
    31.             case MusicSort.SortMethod.Filename:
    32.               CurrentSortMethod = MusicSort.SortMethod.Name;
    33.               break;
    34.           }
    35.  
     
  6. Spragleknas
    • Team MediaPortal
    • Administrator

    Spragleknas Administrator

    Joined:
    December 21, 2005
    Messages:
    9,472
    Likes Received:
    1,385
    Gender:
    Male
    Occupation:
    Occupied
    Location:
    Located
    Ratings:
    +1,892 / 12
    Home Country:
    Norway Norway
    Show System Specs
    Wow, great!

    Somebody alert rtv!
     
  7. rtv
    • Premium Supporter

    rtv Retired Team Member

    Joined:
    April 7, 2005
    Messages:
    3,622
    Likes Received:
    301
    Occupation:
    CTO at ES2000
    Location:
    Osnabruck
    Ratings:
    +301 / 0
    Home Country:
    Germany Germany
    Show System Specs
    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:
     
  8. Hadriagh

    Hadriagh Portal Member

    Joined:
    June 11, 2006
    Messages:
    11
    Likes Received:
    0
    Ratings:
    +0 / 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.
     
  9. _man_

    _man_ Portal Member

    Joined:
    June 20, 2005
    Messages:
    29
    Likes Received:
    0
    Location:
    Paris
    Ratings:
    +0 / 0
    I second that, the ideal would be to display by one tag but to sort by another.
     
  10. Koudijs
    • Premium Supporter

    Koudijs Retired Team Member

    Joined:
    January 4, 2007
    Messages:
    132
    Likes Received:
    3
    Ratings:
    +3 / 0
    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
     
  11. Spragleknas
    • Team MediaPortal
    • Administrator

    Spragleknas Administrator

    Joined:
    December 21, 2005
    Messages:
    9,472
    Likes Received:
    1,385
    Gender:
    Male
    Occupation:
    Occupied
    Location:
    Located
    Ratings:
    +1,892 / 12
    Home Country:
    Norway Norway
    Show System Specs
    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!
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!