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

    Similar threads

    Good to hear you got it working.(y) I have attached a screenshot of my Power Scheduler settings and, yes my TV does stay off when a scheduled recording starts. Regarding the monitor sleeping when playing music, if the screensaver option is set in your MP skin settings try disabling it, I have a vague recollection it may get...
    Good to hear you got it working.(y) I have attached a screenshot of my Power Scheduler settings and, yes my TV does stay off when...
    Hi, everytime my computer awakes for scheduled recordings, the monitor awake too and does not switch of during the whole recording...
    Replies
    5
    Views
    394
    First thing to say is that I use MP1, whereas I believe that you use MP2. @ge2301 has just posted that MP2 has a "folder view" in addition to the "library view", so you should be able to set up your system as I describe below, but the details will differ. In MP1, the folders that are to appear on the "Videos" panel are defined in "MP...
    First thing to say is that I use MP1, whereas I believe that you use MP2. @ge2301 has just posted that MP2 has a "folder view" in...
    Help Please. Yesterday upon switch-on, I had this issue with MP2: When I clicked on the [REC] icon in the following Image...
    Replies
    18
    Views
    1K
    According to Wikipedia, Windows only uses code pages other than UTF-8 to support legacy (mostly 32 bit) applications and supports two code pages in addition to UTF-8 (OEM and ANSI). According to Microsoft, UTF-8 has been the preferred character set since 2019. If TV Server (or its import routine) were using UTF-8, then umlauts...
    According to Wikipedia, Windows only uses code pages other than UTF-8 to support legacy (mostly 32 bit) applications and supports...
    Because I have around 200 TV channels and more than a dozen groups, I tried to import the TV channel groups from an old export.xml...
    Replies
    4
    Views
    179
    Result, it works on the two PC's we use for watching TV :D I've not lost anything by the looks of it either, all channels etc still setup. Just my office PC won't connect, which I only use for testing things anyway (I tried updating that this morning as well), but I'll uninstall and install fresh on that. PS. Exported all settings...
    Result, it works on the two PC's we use for watching TV :D I've not lost anything by the looks of it either, all channels etc still...
    I tried to install MP 1.35 this morning, but I couldn't get any further with the installation on the TV server, see error message...
    Replies
    13
    Views
    1K
    I eventually came across the TwinHan driver CD that was included with the original product. The CD contains numerous drivers for the different TwinHan tuner models, but the drivers are for Win 2K (32-bit only) and Win XP (32-bit and 64-bit). The drivers install directly on Vista, and the drivers can be installed on Win 7 and Win 10...
    I eventually came across the TwinHan driver CD that was included with the original product. The CD contains numerous drivers for...
    Hi, went from a 1.29 install (working, reinstalled for other reasons) on a fairly fresh and fully updated Windows 10 system for a...
    Replies
    24
    Views
    3K
    Top Bottom