Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't process songs from unsynced libraries #331

Merged
merged 1 commit into from Jul 7, 2020

Conversation

mcarlton00
Copy link
Member

@mcarlton00 mcarlton00 commented Jun 27, 2020

Fixes #270 (and maybe #122)

The library_check() decorator verifies that the library ID is in the local synced library list before moving forward. Adding it to the song() function stops cascading failures in song_artist_discography() and song_artist_link(). Albums don't need this since their inheritance seem to be more tightly tied to the artist, which is created first.

@sonarcloud
Copy link

sonarcloud bot commented Jun 27, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@oddstr13 oddstr13 merged commit eb40690 into jellyfin:master Jul 7, 2020
@mcarlton00 mcarlton00 deleted the music-sync branch July 18, 2020 14:38
@oddstr13 oddstr13 mentioned this pull request Jul 31, 2020
@oddstr13 oddstr13 mentioned this pull request Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incremental music sync log errors
2 participants