| |||||||
| Support Post problems you have with MediaPortals Music features here. |
![]() |
| | Thread Tools | Display Modes |
| | #5 (permalink) |
| Portal Developer | 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 |
| | |
| | #6 (permalink) | |
| Portal Member Join Date: Feb 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Quote:
![]() | |
| | |
| | #7 (permalink) |
| Portal Developer | 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: Selection Sort album Album artist Artist title Title, genre Name, year Name, track Track, timesplayed Rating rating Rating favorites Name
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 |
| | |
| | #8 (permalink) |
| Portal Member Join Date: Jun 2006
Posts: 301
Thanks: 1
Thanked 4 Times in 4 Posts
Country: | 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! |
| | |
| | #9 (permalink) |
| Portal Developer | 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 |
| | |
![]() |
| Bookmarks |
| Tags |
| folder, music, sorting |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Folder Shortcuts in Music Database? | Phatteus | Support | 7 | 2006-12-20 13:41 |
| No Music Folder Selected | oakster | General Support | 1 | 2006-04-03 13:49 |
| all files in music folder turned into "unknown - unknow | dimitri | General Support | 1 | 2006-03-10 10:52 |
| Network folder as music folder?? | sitdown | General Support | 10 | 2006-01-14 11:19 |
| My Music -> Tell what folder you're browsing | mikael | Improvement Suggestions | 2 | 2005-06-14 16:02 |