Subsonic: album/song lists (getAlbumList/2, getRandomSongs, getSongsByGenre, getNowPlaying, getStarred/2) and search (search, search2, search3)

This commit is contained in:
2026-08-23 00:08:06 -05:00
parent f40a011c46
commit a297454065
6 changed files with 742 additions and 0 deletions
+4
View File
@@ -14,6 +14,10 @@ import (
// keeps XML and JSON output (and every endpoint that happens to return
// the same entity type) semantically identical.
func secondsSince(t time.Time) float64 {
return time.Since(t).Seconds()
}
func isoTime(t time.Time) string {
if t.IsZero() {
return ""