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

bta489

Portal Pro
March 17, 2013
164
85
Home Country
Germany Germany
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
164
85
Home Country
Germany Germany
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
164
85
Home Country
Germany Germany
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
164
85
Home Country
Germany Germany
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

in some of the previous logs: [2021-10-20 19:19:48,879] [Log ] [MPMain ] [INFO ] - Main: GPU_HUNG - Error in the application. -2005530508 (Unknown) at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, IntPtr overrideWindow) at Microsoft.DirectX.Direct3D.Device.Present()...
in some of the previous logs: [2021-10-20 19:19:48,879] [Log ] [MPMain ] [INFO ] - Main: GPU_HUNG - Error in the application...
Hi All, Hope everyone is safe & well, in these trying times. As I live in a city that has been incarcerated for rmonths, thought I...
Replies
2
Views
206
  • Sticky
Great work and release!! Contrats to all involved developers :):D I installed MP1 initially, but didn’t get along with it. Many things were not intuitive, too frumpy and the gui had hardcoded dependencies to plug-ins, some buttons didn’t work even without a note due to that. Same for player controls, why do I see always play and pause...
Great work and release!! Contrats to all involved developers :):D I installed MP1 initially, but didn’t get along with it. Many...
We are proud to present MediaPortal 2.4 MediaPortal 2.4 is a full-blown media center software that addresses most common user...
Replies
4
Views
626
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
511
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
3K
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
889
Top Bottom