04-16-2025, 12:21 PM
I've stumbled across an issue where the Moode UI “loses” albums when selecting via ARTISTS row on the Tags view (and also by album view)
Moode Version: 9.3.0 2025-03-21
Symptom:
Clicking GENRE column yields correct entry on ARTISTS and ALBUMS columns, though the ALBUMS “artist” field says “Various”.
When clicking on the row in the ARTISTS column, the album disappears from the ALBUMS column and so is no longer selectable
Observation:
I have narrowed this behaviour down to a repeatable case with 2 tracks (which occurs similarly in a number of places in my library)
The “artist” json array and the “album_artist” string are consistent in any given track, but between tracks on the same album there are case-only inconsistencies.
For example
"Rage Against the Machine"
vs. "Rage Against The Machine"
(notice the capitalised T on “the")
So we have 2 tracks on the same album but it appears the filtering of rows in ALBUMS from a selected row on ARTISTS is done on different criteria, where case sensitivity doesn’t play nicely.
Note this pattern is identical to albums with various artists (compilations/soundtracks) but they are somehow not treated in quite the same way - those strings are handled correctly, so it feels rooted in case sensitivity somewhere between ARTISTS row selection and the resulting ALBUMS.
Intriguingly, the ARTISTS row may have grouped case insensitively and displays the value based on the “album_artist” string - in this case, the first one is "Rage Against The Machine" and that’s the text displayed. Not sure if that is part of the issue or completely irrelevant, because it does not pick up either track - where you might expect it to detect one of them.
Everything is listed on the tracks panel when the GENRE row (or all) is selected, it only starts to fail when selecting entries further right - either ARTISTS or ALBUMS.
Sample /var/local/www/libcache_all.json to illustrate the issue:
[
{
"file": "NAS/Music/Rage Against the Machine/Evil Empire/11 Year Of Tha Boomerang.m4a",
"tracknum": "11",
"title": "Year Of Tha Boomerang",
"disc": "1",
"artist": [
"Rage Against the Machine"
],
"album_artist": "Rage Against the Machine",
"composer": "Rage Against the Machine",
"year": "199600",
"album_year": "",
"time": "240",
"album": "Evil Empire",
"genre": [
"Rock"
],
"time_mmss": "04:00",
"last_modified": "2025-04-10T12:14:45Z",
"encoded_at": "M4A 16/44.1,s,2",
"comment": "",
"mb_albumid": "0"
},
{
"file": "NAS/Music/Rage Against the Machine/Evil Empire/02 Bulls On Parade.m4a",
"tracknum": "2",
"title": "Bulls On Parade",
"disc": "1",
"artist": [
"Rage Against The Machine"
],
"album_artist": "Rage Against The Machine",
"composer": "Rage Against the Machine",
"year": "199600",
"album_year": "",
"time": "231",
"album": "Evil Empire",
"genre": [
"Rock"
],
"time_mmss": "03:51",
"last_modified": "2025-04-10T12:14:26Z",
"encoded_at": "M4A 16/44.1,s,2",
"comment": "",
"mb_albumid": "0"
}
]
FIX AT SOURCE:
I’ve fixed this for my own library by manually going through the UI to see where this "Various" entry occurs in the ALBUMS row's sub-text and fixing up the tags in the m4a & mp3 files via AtomicParsley (OSX) or id3v2 (linux) and making sure all artist names for a given album are consistent.
Thought this might be a useful helper should anyone observe this issue.
I've not had a chance to look in detail at the javascript to see how all this hangs together, so not able to offer up a code fix.
Moode Version: 9.3.0 2025-03-21
Symptom:
Clicking GENRE column yields correct entry on ARTISTS and ALBUMS columns, though the ALBUMS “artist” field says “Various”.
When clicking on the row in the ARTISTS column, the album disappears from the ALBUMS column and so is no longer selectable
Observation:
I have narrowed this behaviour down to a repeatable case with 2 tracks (which occurs similarly in a number of places in my library)
The “artist” json array and the “album_artist” string are consistent in any given track, but between tracks on the same album there are case-only inconsistencies.
For example
"Rage Against the Machine"
vs. "Rage Against The Machine"
(notice the capitalised T on “the")
So we have 2 tracks on the same album but it appears the filtering of rows in ALBUMS from a selected row on ARTISTS is done on different criteria, where case sensitivity doesn’t play nicely.
Note this pattern is identical to albums with various artists (compilations/soundtracks) but they are somehow not treated in quite the same way - those strings are handled correctly, so it feels rooted in case sensitivity somewhere between ARTISTS row selection and the resulting ALBUMS.
Intriguingly, the ARTISTS row may have grouped case insensitively and displays the value based on the “album_artist” string - in this case, the first one is "Rage Against The Machine" and that’s the text displayed. Not sure if that is part of the issue or completely irrelevant, because it does not pick up either track - where you might expect it to detect one of them.
Everything is listed on the tracks panel when the GENRE row (or all) is selected, it only starts to fail when selecting entries further right - either ARTISTS or ALBUMS.
Sample /var/local/www/libcache_all.json to illustrate the issue:
[
{
"file": "NAS/Music/Rage Against the Machine/Evil Empire/11 Year Of Tha Boomerang.m4a",
"tracknum": "11",
"title": "Year Of Tha Boomerang",
"disc": "1",
"artist": [
"Rage Against the Machine"
],
"album_artist": "Rage Against the Machine",
"composer": "Rage Against the Machine",
"year": "199600",
"album_year": "",
"time": "240",
"album": "Evil Empire",
"genre": [
"Rock"
],
"time_mmss": "04:00",
"last_modified": "2025-04-10T12:14:45Z",
"encoded_at": "M4A 16/44.1,s,2",
"comment": "",
"mb_albumid": "0"
},
{
"file": "NAS/Music/Rage Against the Machine/Evil Empire/02 Bulls On Parade.m4a",
"tracknum": "2",
"title": "Bulls On Parade",
"disc": "1",
"artist": [
"Rage Against The Machine"
],
"album_artist": "Rage Against The Machine",
"composer": "Rage Against the Machine",
"year": "199600",
"album_year": "",
"time": "231",
"album": "Evil Empire",
"genre": [
"Rock"
],
"time_mmss": "03:51",
"last_modified": "2025-04-10T12:14:26Z",
"encoded_at": "M4A 16/44.1,s,2",
"comment": "",
"mb_albumid": "0"
}
]
FIX AT SOURCE:
I’ve fixed this for my own library by manually going through the UI to see where this "Various" entry occurs in the ALBUMS row's sub-text and fixing up the tags in the m4a & mp3 files via AtomicParsley (OSX) or id3v2 (linux) and making sure all artist names for a given album are consistent.
Thought this might be a useful helper should anyone observe this issue.
I've not had a chance to look in detail at the javascript to see how all this hangs together, so not able to offer up a code fix.