feat: Add Navidrome source#270
Draft
FoxxMD wants to merge 2 commits into
Draft
Conversation
Owner
Author
|
Ways to get recently played from Navidrome Smart Playlist
Navidrome API
Response data sample [
{
"playCount": 2,
"playDate": "2025-02-14T16:50:20.76Z",
"rating": 0,
"starred": false,
"starredAt": null,
"bookmarkPosition": 0,
"id": "e88c35e805e5bdfdd4cdd2a97c98d9f4",
"libraryId": 1,
"path": "/music/Gorillaz/Cracker Island/08 - Tormenta.mp3",
"title": "Tormenta",
"album": "Cracker Island",
"artistId": "",
"artist": "Gorillaz feat. Bad Bunny",
"albumArtistId": "ae85c391f2ea8f0212ee4b08738f1b00",
"albumArtist": "Gorillaz",
"albumId": "0a44c74e9f89ac3a15a6a1e91fcfec82",
"hasCoverArt": true,
"trackNumber": 8,
"discNumber": 1,
"year": 2023,
"date": "2023",
"originalYear": 0,
"releaseYear": 0,
"size": 8355699,
"suffix": "mp3",
"duration": 193.41,
"bitRate": 320,
"sampleRate": 44100,
"channels": 2,
"genre": "Synthpop",
"genres": [
{
"id": "2ea2361c-8e31-47ef-b9eb-02ad818fdd02",
"name": "Synthpop"
}
],
"sortArtistName": "Gorillaz feat. Bad Bunny",
"orderTitle": "tormenta",
"orderAlbumName": "cracker island",
"orderArtistName": "gorillaz feat. bad bunny",
"orderAlbumArtistName": "gorillaz",
"compilation": false,
"comment": "PMEDIA",
"lyrics": "[]",
"mbzRecordingID": "a80fe21b-e871-4224-816f-192473888877",
"mbzArtistId": "e21857d5-3256-4547-afb3-4b6ded592596",
"rgAlbumGain": 0,
"rgAlbumPeak": 1,
"rgTrackGain": 0,
"rgTrackPeak": 1,
"createdAt": "2024-08-26T18:18:24.490439623Z",
"updatedAt": "2024-08-26T18:08:29.61872256Z"
},
{
"playCount": 1,
"playDate": "2025-02-14T16:48:22.536Z",
"rating": 0,
"starred": false,
"starredAt": null,
"bookmarkPosition": 0,
"id": "e656e0dcdd9808f1f61de4810ac3fa05",
"libraryId": 1,
"path": "/music/Faith Hill/Take Me as I Am/02 - Wild One.mp3",
"title": "Wild One",
"album": "Take Me as I Am",
"artistId": "83dec102ed9d1bb347345e27ca194ff5",
"artist": "Faith Hill",
"albumArtistId": "83dec102ed9d1bb347345e27ca194ff5",
"albumArtist": "Faith Hill",
"albumId": "1c9ab6afba737a9a4fa722890a95af36",
"hasCoverArt": true,
"trackNumber": 2,
"discNumber": 1,
"year": 1993,
"date": "1993",
"originalYear": 0,
"releaseYear": 0,
"size": 6652403,
"suffix": "mp3",
"duration": 165.17,
"bitRate": 320,
"sampleRate": 44100,
"channels": 2,
"genre": "Country",
"genres": [
{
"id": "efc3c68e-68b7-4f63-9de3-5ac691594323",
"name": "Country"
}
],
"sortArtistName": "Hill, Faith",
"orderTitle": "wild one",
"orderAlbumName": "take me as i am",
"orderArtistName": "faith hill",
"orderAlbumArtistName": "faith hill",
"compilation": false,
"lyrics": "[]",
"mbzRecordingID": "67717720-4f71-4490-bcda-d6dee274eefb",
"mbzArtistId": "406552d4-5ba1-4226-b7c0-367bc50fc767",
"rgAlbumGain": 0,
"rgAlbumPeak": 1,
"rgTrackGain": 0,
"rgTrackPeak": 1,
"createdAt": "2024-08-26T18:08:23.577382083Z",
"updatedAt": "2024-08-26T18:08:14.728507247Z"
}
]Comparison to Subsonic ImplementationAdvantages
Disadvantages
|
Owner
Author
|
Api communication requires JWT auth navidrome/navidrome#3765 |
7278e20 to
4f54686
Compare
10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist before requesting a review
Type of change
Please delete options that are not relevant.
Describe your changes
Add Navidrome as a Source, separate from other Subsonic sources.
Issue number and link, if applicable
#265
#268