05-10-2018, 07:36 AM
(05-09-2018, 05:24 PM)Tim Curtis Wrote: Hi Mario,
Its not been a common request but you could try modifying the code yourself.
/var/www/inc/playerlib.php
function genLibrary($flat) {
Add the date to the line of code below, then reboot, open Sources and RESET the Library cache, then open the Library.
$album = $flatData['Album'] ? $flatData['Date'] . '-' . $flatData['Album'] : 'Unknown';
-Tim
Tim, thank you soooo much, this works great! I am in heaven using moOde now
Very tiny change to :
$album = $flatData['Album'] ? $flatData['Date'] . ' - ' . $flatData['Album'] : 'Unknown';
Of course this now look a bit strange if you have selected more than one artist, like a hole genre but i would also not want to search through a ton of albums sorted alphabetically without selecting an artist anyway.
Also at Eric: yes it will not look nice if there are tracks of an album with different year dates. But i dont have that in my whole collection - since its fully CD based with one year date for all tracks of ar CD. I guess an individual track will only occur on mp3 collections not based on CDs. Then using "AlbumSort" tag instead of "date minus album" would probably be a better idea.
And yes, mp3tag is THE tag editor, I am using it for more than 15 years now Especially mass tagging, actions, regex... are sooo cool...
Mario