Skip to content

Conversation

@anatosun
Copy link
Contributor

@anatosun anatosun commented Nov 14, 2025

Fix Plex provider: Tracks not syncing to library

Summary

Fixes issue where tracks from Plex provider were not being synced to the Music Assistant library, leaving the Tracks tab empty while Albums and Artists tabs populated correctly.

Problem

When syncing tracks from Plex, the provider incorrectly marked tracks as available=False when the media attribute wasn't populated in the track object. During bulk library sync operations using searchTracks(), Plex API often returns track objects without fully populated metadata (including the media attribute), even though the tracks are actually available in the library.

Fixes this issue @OzGav

Copilot AI review requested due to automatic review settings November 14, 2025 12:16
Copilot finished reviewing on behalf of anatosun November 14, 2025 12:19
@OzGav OzGav added the bugfix label Nov 14, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@anatosun anatosun requested a review from Copilot November 14, 2025 14:09
Copilot finished reviewing on behalf of anatosun November 14, 2025 14:12
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants