mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-13 05:38:47 +01:00
feat(subsonic): add folder-based navigation to getIndexes and getMusicDirectory
This commit is contained in:
parent
95f67d2c4e
commit
617b76a8fc
10 changed files with 1328 additions and 23 deletions
|
|
@ -99,4 +99,7 @@ type FolderRepository interface {
|
|||
// GetAllWithPlaylists returns all non-missing folders with playlists, ignoring
|
||||
// the scan-timestamp gate used by GetTouchedWithPlaylists.
|
||||
GetAllWithPlaylists(ctx context.Context) (FolderCursor, error)
|
||||
GetSubfoldersWithAudio(ctx context.Context, parentID string, libraryIDs ...int) ([]Folder, error)
|
||||
GetRootSubfoldersWithAudio(ctx context.Context, libraryIDs ...int) ([]Folder, error)
|
||||
GetCoverArtForFolders(ctx context.Context, folderIDs ...string) (map[string]string, error)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue