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
    50
    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
    50
    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
    50
    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

    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
    861
    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
    250
    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
    573
    hm, weird. it can't access the file because its in use by another process... Wonder what that other one is. Can you try excluding the recording folder of all background processes? (f.e. defender/antivirus etc, and maybe (don't know if that is even a thing) from creating thumbnails) Edit: and is it always the second time it succeeds...
    hm, weird. it can't access the file because its in use by another process... Wonder what that other one is. Can you try excluding...
    Hello I have some issues after I skipped Win 7 and upgraded hardware and OS. I now have 1.37 running on a Win 11 setup. Every...
    Replies
    2
    Views
    363
    I installed the new EXE on my MP 1.36 64-bit system (Win 10 laptop), and... it works fine. (y) :) Thank you for making this change :). I hope that it will be included in the next release. -- from CyberSimian in the UK
    I installed the new EXE on my MP 1.36 64-bit system (Win 10 laptop), and... it works fine. (y) :) Thank you for making this...
    In "MP Config" the following setting enables the display of channel numbers in the TV EPG: But there is no equivalent setting in...
    Replies
    4
    Views
    901
    Top Bottom