home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
Improvement Suggestions
View Albums sorted by Artist
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Wilco" data-source="post: 102112" data-attributes="member: 28717"><p>This is a very simple change: </p><p></p><p>WindowPlugins -> GUIMusic -> GUIMusicBaseWindow.cs</p><p></p><p>line 392 (roughly):</p><p></p><p>[CODE]</p><p> case MusicSort.SortMethod.Name:</p><p> //Adjust To go to artist sort method (instead of going to date)</p><p> CurrentSortMethod = MusicSort.SortMethod.Artist;</p><p> break;</p><p></p><p> //Add what to do it currently on artist sort method</p><p> //continue on to date sort method</p><p> case MusicSort.SortMethod.Artist:</p><p> CurrentSortMethod = MusicSort.SortMethod.Date;</p><p> break;</p><p> case MusicSort.SortMethod.Date:</p><p> CurrentSortMethod = MusicSort.SortMethod.Size;</p><p> break;</p><p>[/CODE]</p><p></p><p>is all thats needed, the rest already exists. Don't know why its not included in the list of sort methods.</p><p></p><p>TBH i would change the whole order, its a bit random, how about this?:</p><p></p><p>[CODE]</p><p> switch (CurrentSortMethod)</p><p> {</p><p> case MusicSort.SortMethod.Name:</p><p> CurrentSortMethod = MusicSort.SortMethod.Artist;</p><p> break;</p><p> case MusicSort.SortMethod.Artist:</p><p> CurrentSortMethod = MusicSort.SortMethod.Title;</p><p> break;</p><p> case MusicSort.SortMethod.Title:</p><p> CurrentSortMethod = MusicSort.SortMethod.Album;</p><p> break;</p><p> case MusicSort.SortMethod.Album:</p><p> CurrentSortMethod = MusicSort.SortMethod.Track;</p><p> break;</p><p> case MusicSort.SortMethod.Track:</p><p> CurrentSortMethod = MusicSort.SortMethod.Rating;</p><p> break;</p><p> case MusicSort.SortMethod.Rating:</p><p> CurrentSortMethod = MusicSort.SortMethod.Date;</p><p> break;</p><p> case MusicSort.SortMethod.Date:</p><p> CurrentSortMethod = MusicSort.SortMethod.Size;</p><p> break;</p><p> case MusicSort.SortMethod.Size:</p><p> CurrentSortMethod = MusicSort.SortMethod.Duration;</p><p> break;</p><p> case MusicSort.SortMethod.Duration:</p><p> CurrentSortMethod = MusicSort.SortMethod.Filename;</p><p> break;</p><p> case MusicSort.SortMethod.Filename:</p><p> CurrentSortMethod = MusicSort.SortMethod.Name;</p><p> break;</p><p> }</p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="Wilco, post: 102112, member: 28717"] This is a very simple change: WindowPlugins -> GUIMusic -> GUIMusicBaseWindow.cs line 392 (roughly): [CODE] case MusicSort.SortMethod.Name: //Adjust To go to artist sort method (instead of going to date) CurrentSortMethod = MusicSort.SortMethod.Artist; break; //Add what to do it currently on artist sort method //continue on to date sort method case MusicSort.SortMethod.Artist: CurrentSortMethod = MusicSort.SortMethod.Date; break; case MusicSort.SortMethod.Date: CurrentSortMethod = MusicSort.SortMethod.Size; break; [/CODE] 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] switch (CurrentSortMethod) { case MusicSort.SortMethod.Name: CurrentSortMethod = MusicSort.SortMethod.Artist; break; case MusicSort.SortMethod.Artist: CurrentSortMethod = MusicSort.SortMethod.Title; break; case MusicSort.SortMethod.Title: CurrentSortMethod = MusicSort.SortMethod.Album; break; case MusicSort.SortMethod.Album: CurrentSortMethod = MusicSort.SortMethod.Track; break; case MusicSort.SortMethod.Track: CurrentSortMethod = MusicSort.SortMethod.Rating; break; case MusicSort.SortMethod.Rating: CurrentSortMethod = MusicSort.SortMethod.Date; break; case MusicSort.SortMethod.Date: CurrentSortMethod = MusicSort.SortMethod.Size; break; case MusicSort.SortMethod.Size: CurrentSortMethod = MusicSort.SortMethod.Duration; break; case MusicSort.SortMethod.Duration: CurrentSortMethod = MusicSort.SortMethod.Filename; break; case MusicSort.SortMethod.Filename: CurrentSortMethod = MusicSort.SortMethod.Name; break; } [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Improvement Suggestions
View Albums sorted by Artist
Contact us
RSS
Top
Bottom