Convert all Subsonic API ints to int32 as per specification (#2252)

* Fix Genre

* Fix ArtistID3

* Fix AlbumID3

* Fix Child

* Fix NowPlayingEntry

* Fix Playlist

* Fix Share

* Fix User

* Fix Artist

* Fix Directory

* Fix Error
This commit is contained in:
Deluan Quintão
2023-03-14 09:48:52 -04:00
committed by GitHub
parent 002cb4ed71
commit f7d4fcdcc1
9 changed files with 79 additions and 79 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ func (api *Router) buildShare(r *http.Request, share model.Share) responses.Shar
Created: share.CreatedAt,
Expires: &share.ExpiresAt,
LastVisited: share.LastVisitedAt,
VisitCount: share.VisitCount,
VisitCount: int32(share.VisitCount),
}
if resp.Description == "" {
resp.Description = share.Contents