ExportXMLWordPrintable

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Normal
    • None
    • Component/s: None
    • None

      Currently users can connect to their Navidrome instance, which allows them to play music using that as a source.

      However there is no way to import the user's starred tracks from Navidrome, in the same way we have it for Last.FM ("Import loved tracks" button).

      This is a manual action that users have to do at intervals to keep the two synced up.

      For Navidrome, this can be done by using the `getStarred` method of the subsonic API:
      https://subsonic.org/pages/api.jsp#getStarred

      A sample output of that API endpoint is provided below.
      We would only be interested in the `<song>` elements at the moment.

      This functionality is already partly built on the server; have a look at the feedback_api and the way it is implemented for Last.FM .
      One thing that was made easier for LFM is that they provided recording MBIDs. For Navidrome you'll need to match songs to a MusicBrainz recording using our MBIDMapper

      <subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.8.0">    <starred2>        <artist id="126" name="Iron Maiden" coverArt="ar-126" albumCount="1"            starred="2012-04-05T19:03:31" />        <artist id="133" name="Dimmu Borgir" coverArt="ar-133" albumCount="1"            starred="2012-04-05T19:03:17" />        <artist id="141" name="Kvelertak" albumCount="1" starred="2012-04-05T19:03:05" />        <album id="180" name="Collapse Into Now" artist="R.E.M." artistId="144" songCount="12"            duration="2459" created="2011-03-23T09:37:55" starred="2012-04-05T19:02:02" />        <album id="178" name="Postcards From A Young Man" artist="Manic Street Preachers"            artistId="142" coverArt="al-178" songCount="12" duration="2665"            created="2011-02-26T10:47:19" starred="2012-04-05T19:01:03" />        <song id="143588" parent="143586" title="Born Treacherous" album="Abrahadabra"            artist="Dimmu Borgir" isDir="false" coverArt="143586" created="2010-09-27T20:52:23"            starred="2012-04-02T17:17:01" duration="302" bitRate="320" track="2" year="2010"            genre="Scene-core" size="12087601" suffix="mp3" contentType="audio/mpeg" isVideo="false"            path="Dimmu Borgir/Abrahadabra/02 - Born Treacherous.mp3" albumId="163" artistId="133"            type="music" />        <song id="143600" parent="143386" title="Satellite 15....The Final Frontier"            album="The Final Frontier (Mission Edition)" artist="Iron Maiden" isDir="false"            coverArt="143386" created="2010-08-16T21:08:01" starred="2012-04-02T14:12:54"            duration="521" bitRate="320" track="1" year="2010" genre="Heavy Metal" size="21855635"            suffix="mp3" contentType="audio/mpeg" isVideo="false"            path="Iron Maiden/2010 The Final Frontier/01 Satellite 15....The Final Frontier.mp3"            albumId="156" artistId="126" type="music" />        <song id="143604" parent="143386" title="The Alchemist"            album="The Final Frontier (Mission Edition)" artist="Iron Maiden" isDir="false"            coverArt="143386" created="2010-08-16T21:07:51" starred="2012-04-02T14:12:52"            duration="269" bitRate="320" track="5" year="2010" genre="Heavy Metal" size="11774455"            suffix="mp3" contentType="audio/mpeg" isVideo="false"            path="Iron Maiden/2010 The Final Frontier/05 The Alchemist.mp3" albumId="156"            artistId="126" type="music" />    </starred2></subsonic-response>

       

       

            Assignee:
            Haris076
            Reporter:
            Monkey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package