1.27.0 [solved] 5079: Music Views not sorting by discnumber anymore (1 Viewer)

bta489

Portal Pro
March 17, 2013
162
83
Home Country
Germany Germany
Country flag
I have my music views set to sort by discnumber:

MP_MusicView.JPG

It used to work as expected (one big list, starting with the first disc first to last track, then the next disc first to last track and so on). But when I browse my music now, it only sorts by tracknumber (all tracks #1 of each disc, then all tracks #2 of each disc and so on):

MP_GUI.JPG

I checked my MusicDatabase14.db, and the tracks have correct disc numbers set in the iDisc field. The iNumDisc fields were originally all 0, but even when set manually to the correct value, the sorting remains the same.

MP_Database.JPG

It used to display the discnumber as secondary value in the list (in this skin right aligned on the other end of the same line), which seems to have disappeared as well.

Maybe something changed with a new version of MediaInfo? I'm not exactly sure when it stopped working, it could have been already in v1.26.
 

bta489

Portal Pro
March 17, 2013
162
83
Home Country
Germany Germany
Country flag
Anyone?

I noticed that the property #Play.Current.DiscID seems to be broken as well. My CD-Art using this property stopped working as well. Was there a change of the properties in the music section?

I don't know much of the inner workings of MediaPortal, but I peeked into the source on GitHub. Takes a while, when you don't know where to look, but I maybe found the culprit. Could it be that it was simply forgotten in a rewrite? I noticed that in commit 19c73e1670c27f855b460725826aac0dee08928c (November 2020) in the public MusicTag ToMusicTag() function in mediaportal/Databases/Music/Song.cs this commit replaced a bunch of properties, and removed DiscID in line 338, but not added it again. Only DiscTotal in line 397 was added again.

Can anyone with knowledge of the MP internal workings confirm this? Maybe @hwahrmann or @ajs
 
Last edited:

bta489

Portal Pro
March 17, 2013
162
83
Home Country
Germany Germany
Country flag
Does anybody want to chime in?

Is this function involved in passing metadata to the GUI? Is there someplace else, where the DiscID may be handled? Am I misinterpreting the source code? Do Discnumbers also not work for anyone else? Will there be cookies at teatime? :D
 

bta489

Portal Pro
March 17, 2013
162
83
Home Country
Germany Germany
Country flag
I just installed it and the discnumbers are indeed back.

Thank you for the fix! Now I can enjoy my collected boxsets again (y)
 

Users who are viewing this thread

Similar threads

Having used MP1 since 15 years, these epg related problems occuring after a fresh install stumble me. Needed to change a system hdd and decided it was time for a clean install anyway. Other hardware (C2D, 8 Gb ram, no tv cards - IP only) unchanged. Was running an earlier Win10 version with MP 1.24 which had been updated for years...
Having used MP1 since 15 years, these epg related problems occuring after a fresh install stumble me. Needed to change a system...
Having used MP1 since 15 years, these epg related problems occuring after a fresh install stumble me. Needed to change a system...
Replies
0
Views
272
MP1 MP2 Music player help DE
Very strange, I checked, there is such a file, and it is not corrupted. :):whistle::coffee:
Very strange, I checked, there is such a file, and it is not corrupted. :):whistle::coffee:
I have just installed MP1 (I tried MP2, but it didn't meet all my requirements as a Windows media Centre replacement). I made a...
Replies
4
Views
2K
There was no change obviously related to it, but maybe something as the fixed user management or similar made it.
There was no change obviously related to it, but maybe something as the fixed user management or similar made it.
Before you create this bug report: Make sure that your system (Windows, codecs and drivers) is up to date, matching the...
Replies
7
Views
554
In lieu of a likely modification to TV Setup module, I have devised my own workaround, using SQL. Here is a quick resume. Should be safe but make sure you have a backup before you try this! Simple scenario to demonstrate. 2 cards both on A/B diseqc switches. In each case A connects to LNB pointed at Satelite 1, and B to Sat 2...
In lieu of a likely modification to TV Setup module, I have devised my own workaround, using SQL. Here is a quick resume. Should be...
Started on: 2020-08-25 last update: 2020-08-25 Summary: Add the ability to sort or restrict channels by group in mapping dialog...
Replies
4
Views
485
It is looking and working very well now and I am almost at the point of switching my HTPC to MP2, madvr would definitely push me over the edge for sure.;)
It is looking and working very well now and I am almost at the point of switching my HTPC to MP2, madvr would definitely push me...
We are proud to present MediaPortal 2.3 MediaPortal 2.3 is a full-blown media center software that addresses the most common user...
Replies
4
Views
2K
Top Bottom