Moode Forum
[SOLVED] Auto-shuffle does not distinguish between different albums of same album title - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: [SOLVED] Auto-shuffle does not distinguish between different albums of same album title (/showthread.php?tid=5057)

Pages: 1 2


RE: Auto-shuffle does not distinguish between different albums of same album title - Tim Curtis - 02-02-2023

(02-02-2023, 07:43 PM)jenzd Wrote: I have found out that it is rather easy to patch Moode to always use "--group-by album albumartist" instead of the default "--group-by album".

Just modify the file /var/www/inc/music-library.php. Search for the following line (near the end of the file):
Code:
        $mode = $_SESSION['ashuffle_mode'] == 'Album' ? '--group-by album ' : '';


And modify it (e.g. using "sudo nano /var/www/inc/music-library.php") to:
Code:
       $mode = $_SESSION['ashuffle_mode'] == 'Album' ? '--group-by album albumartist ' : '';

This completely fixed the auto-shuffle issue for me. Note however that this step needs to be repeated after each in-place update of Moode (which overwrites the file with a new version).

Thanks & best regards
Jens

I'll add to the TODO list for the upcoming release


RE: Auto-shuffle does not distinguish between different albums of same album title - suzywong - 02-05-2023

I wonder what it would make of these two.... Big Grin

[attachment=3165]

Same artist_name, same album_name, but totally different track listing (with no overlaps!)


RE: Auto-shuffle does not distinguish between different albums of same album title - Tim Curtis - 02-05-2023

Right. Are they separate in the Library views?


RE: Auto-shuffle does not distinguish between different albums of same album title - suzywong - 02-05-2023

It was some years ago that I added the "red cover" Greatest Hits (the earlier Green/Kirwan/Spencer incarnation of the band) to library which already included the "green cover" Greatest Hits (the later Perfect/Nicks/Buckingham incarnation), but IIRC they all got lumped in together in Tag View, with doubled up track numbers:

1 The Green Manalishi....          <earlier GH>
1 Rhiannon                             <later GH>
2 Oh Well - Part 1                    <earlier GH>
2 Go Your Own Way                 <later GH>
etc.

In the end I fudged the album_name in the metadata to "Greatest Hits [1]" and "Greatest Hits [2]".

There can't be that many instances of this occuring in the pop/rock world, but I could see it being more of an issue in the classical world - conductors & orchestras have been known to make more than one recording of a particular work.


RE: Auto-shuffle does not distinguish between different albums of same album title - the_bertrum - 02-05-2023

(02-05-2023, 09:55 AM)suzywong Wrote: It was some years ago that I added the "red cover" Greatest Hits (the earlier Green/Kirwan/Spencer incarnation of the band) to library which already included the "green cover" Greatest Hits (the later Perfect/Nicks/Buckingham incarnation), but IIRC they all got lumped in together in Tag View, with doubled up track numbers:

1 The Green Manalishi....          <earlier GH>
1 Rhiannon                             <later GH>
2 Oh Well - Part 1                    <earlier GH>
2 Go Your Own Way                 <later GH>
etc.

In the end I fudged the album_name in the metadata to "Greatest Hits [1]" and "Greatest Hits [2]".

There can't be that many instances of this occuring in the pop/rock world, but I could see it being more of an issue in the classical world - conductors & orchestras have been known to make more than one recording of a particular work.

I think it was for situations such as this that the "Folder Path" key for the index was implemented.