extract additional iterator helper to share with Jellyfin

This commit is contained in:
Drew Weymouth
2023-11-14 09:05:02 -08:00
parent 5431fe3058
commit 7637440fd6
3 changed files with 113 additions and 111 deletions
@@ -265,7 +265,7 @@ func (j *jellyfinMediaProvider) Scrobble(trackID string, submission bool) error
}
func (s *jellyfinMediaProvider) RescanLibrary() error {
return errors.ErrUnsupported
return errors.New("unimplemented")
}
func toTrack(ch *jellyfin.Song) *mediaprovider.Track {