Sorting My Music folder (1 Viewer)

burdell1

Portal Pro
June 8, 2006
64
0
If I switch the view by artist ...is there a way to sort it by name=> album => track? it always defaults back to name after I restart it.
 

hwahrmann

Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    go in Configuration and select Music -> Music Sort.
    here you can define what fields are displayed in the various views.
     

    kaladon

    New Member
    January 14, 2007
    2
    0
    43
    Hi,
    I try changing the music sorting in the configuration but it doesn't seem to stick. When I open the config again the sorting has reverted back to "Name". Bug?

    /Andreas
     

    Koudijs

    Retired Team Member
  • Premium Supporter
  • January 4, 2007
    132
    3
    51
    Home Country
    Netherlands Netherlands
    I also see that the sort method always returns to Name after restarting MP. I think that it is much more logical if the default sort method is related to the currently used view.

    I normally use the Artist view that is build up as Artist:Album:Track in the Music->Music Views configuration. In Music->Music Sort I have configured the fields that I would like to see for Artist, Album and Track. With this configuration I would expect that when I enter My Music and select the Artist view a list of artists is show and Sort is also set to Artist. After selecting an artist there will be a list of albums sorted by Album. By selecting an album the tracks appear which are sorted by Track.

    It should still be possible to change the sort method within My Music and these changes should be saved in order to get them back after a restart.

    Is the behavior I discribed the intended behavior or have I missed something and is it working differently?

    Best regards,
    Jan
     

    klinsek

    Portal Member
    February 14, 2007
    7
    0
    Home Country
    United States of America United States of America
    I also see that the sort method always returns to Name after restarting MP. I think that it is much more logical if the default sort method is related to the currently used view.

    I normally use the Artist view that is build up as Artist:Album:Track in the Music->Music Views configuration. In Music->Music Sort I have configured the fields that I would like to see for Artist, Album and Track. With this configuration I would expect that when I enter My Music and select the Artist view a list of artists is show and Sort is also set to Artist. After selecting an artist there will be a list of albums sorted by Album. By selecting an album the tracks appear which are sorted by Track.

    It should still be possible to change the sort method within My Music and these changes should be saved in order to get them back after a restart.

    Is the behavior I discribed the intended behavior or have I missed something and is it working differently?

    Best regards,
    Jan

    I would like to set my default views up in the same fashion. I can't seem to get it working myself. :(
     

    Koudijs

    Retired Team Member
  • Premium Supporter
  • January 4, 2007
    132
    3
    51
    Home Country
    Netherlands Netherlands
    I checked the code for the current implementation of the sort function within My Music and discovered the following:

    In the Shares view the sort method is saved in the database on a per directory basis.

    For all database views (Genres till Songs) the sort method is not saved, as reported before in this forum. As long as Mediaportal is running the sort method is stored on a per level basis. A level is a line in the Music->Music Views configuration in Setup (e.g. I configured the Artists view as Artist:Album:Track so this makes three levels). By changing the sort method of a specific level and view all corresponding levels of the other views are changed as well.

    The current implementation is in my opinion not very usefull and therefore I modified it based on the method I already described in my previous post. I created a fixed relation between the Selection column in Music->Music Views and the used sort method:

    Code:
    [B]Selection[/B]            [B]Sort[/B]
    album                   Album
    artist                    Artist
    title                      Title,
    genre                   Name,
    year                     Name,
    track                    Track,
    timesplayed          Rating
    rating                   Rating
    favorites               Name

    The fields that are displayed for the different sort methods can still be configured in Music->Music Sort. To make the change I performed a bit clearer I added some screenshots:

    1. Artists view; artist selection (level 1); automatically sorted by artist
    2. Artists view; album selection (level 2); automatically sorted by album
    3. Artists view; track selection (level 3); automatically sorted by track
    4. Songs view; title selection (level 1); automatically sorted by title

    This implementation has not the maximum flexibility but gives a better useability without additional configuration.

    I invite all of you to give your opinion about this. After that I would like to commit my changes to SVN.


    Regards,
    Jan
     

    sleepycol

    Portal Pro
    June 2, 2006
    540
    39
    Home Country
    United Kingdom United Kingdom
    Excellent. I have been messing about with the views/sorts options in MP config for ages to try and get this sorted out. The sorts you mentioned sound perfect, but surely it should be user changable incase other dont like that sort method?

    However, a big thumbs up from me!
     

    Koudijs

    Retired Team Member
  • Premium Supporter
  • January 4, 2007
    132
    3
    51
    Home Country
    Netherlands Netherlands
    However, a big thumbs up from me!
    Thank you.


    In my current implementation I disabled the 'Sort by' button for the database views of 'My Music'. This was the easiest way to do it because in the implementation that is used till now changing the sort method can influence all views.

    To get the maximum flexibility the 'Music Views' table in configuration.exe should be extended with a column in which the sort method for each level can be specified. This is a more complex implementation but it should be possible if there is a need for it.

    Jan
     

    Users who are viewing this thread


    Write your reply...

    Similar threads

    MP1 MP2 [solved] Ignore "The" for Sort Name? DE
    Added to 1.38 Final
    Added to 1.38 Final
    I don't want to remove the title prefix from a movie title (i.e. "The Matrix" -> "Matrix, The", but I don't want to manually remove...
    Replies
    20
    Views
    1K
    Nevermind, I think. I found them in the forum. I had only checked the main webiste for MP2 plugins. https://www.team-mediaportal.com/extensions/mp2-plugins I hope these work: Featured Plugins
    Nevermind, I think. I found them in the forum. I had only checked the main webiste for MP2 plugins...
    I've been an MP1 user for a long time. I'm interested in switching to MP2. However, I rely heavily on the features provided by...
    Replies
    1
    Views
    226
    My bad, I misunderstood your post then :) Yeah, these things can get complicated really quickly. I remember scrapping some of my skin-improvement-ideas because I couldn't get these cross-dependencies sorted out.
    My bad, I misunderstood your post then :) Yeah, these things can get complicated really quickly. I remember scrapping some of my...
    I adjusted the MyMusicPlayingNowInfos.xml for my OldEyes variant of DWHD so it fits without crowding. I now have the issue of text...
    Replies
    7
    Views
    1K
    That screen is generated by the file "MyVideo.xml", but it uses various other files too. When the list on the right is a list of episodes, the area in the middle contains the programme information for the episode that has the focus. In your screen shot, the list on the right is a list of folders. You could fill the area in the...
    That screen is generated by the file "MyVideo.xml", but it uses various other files too. When the list on the right is a list of...
    Can someone please assist me in the file name and location of which XML controls this screen. I want to create an additional box...
    Replies
    1
    Views
    296
    I do have most of my Music tagged with Lyrics and it works with My Lyrics. If I remember correctly, you have to set: <Don't search songs with Lyrics in Music tag>
    I do have most of my Music tagged with Lyrics and it works with My Lyrics. If I remember correctly, you have to set: <Don't search...
    Hi. Setting up MyLyrics now. I got version 2.2.2.295 from My Lyrics 2.2.0 for MP 1.10 Final, and above (31-12-2014) . I'm planning...
    Replies
    1
    Views
    810
    Top Bottom