-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Milestone
Description
Background
GetMediaSourceConfig is currently sitting on ICore. You can easily access this method from pretty much anywhere. If you have an ICoreTrack, simply access track.SourceCore.GetMediaSourceAsync(track).
Problem
There's no explicit problem with this (yet), but there are a few advantages to changing it.
Solution
Move GetMediaSourceAsync to ICoreTrack and ITrack directly. This has a few immediate knock-on effects:
- This method becomes part of the merging process for collection items.
- Removes the ambiguity of "which source should I use", without restricting you to a single source.
PlaybackItemcan be removed and replaced withITrack.- On the core side, this puts the media source into the same context as the track, which reduces development complexity in several scenarios.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Projects
Status
In Progress