This repository has been archived by the owner on Dec 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Don't use `albumId` or `artistId` from Google, as it doesn't always exist * Remove commented code * Add pipe to separate sections of album ID * Add logging for library refresh * Hopefully fix indentations * Ran `black .`
- Loading branch information
Showing
1 changed file
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a4a7846
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tried this, but some problems seems not to be resolved. Some albums are shown multiple times. I played a bit around with the line 601: album_id = create_id(f"{name}") this solves the issue showing albums multiple times, but the tracks are not merged in one album together, so that I only see some of them, any suggestions?
a4a7846
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It groups albums by artist, track and year. The only place I've seen issues is where the year isn't set the same on all tracks that I'm expecting to appear all on one album.
I've been able to fix anything that still looks wrong by fixing the metadata in Google Play Music itself.
a4a7846
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, I can confirm, after correcting the Album-Year, the Album-Listing in Mopidy work as expected. Unfortunaley for Compilations you'll overwrite correct Year-Informations of the songs
a4a7846
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that's the only legitimate issue I've found. I think most of my compilations must have the year set for the whole album, so work fine. ie the tracks have the year of the album, rather than the year of the track. I've got a couple where each track has a different year though.