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:
@@ -165,9 +165,9 @@ func (api *Router) buildPlaylist(p model.Playlist) *responses.Playlist {
|
||||
pls.Id = p.ID
|
||||
pls.Name = p.Name
|
||||
pls.Comment = p.Comment
|
||||
pls.SongCount = p.SongCount
|
||||
pls.SongCount = int32(p.SongCount)
|
||||
pls.Owner = p.OwnerName
|
||||
pls.Duration = int(p.Duration)
|
||||
pls.Duration = int32(p.Duration)
|
||||
pls.Public = p.Public
|
||||
pls.Created = p.CreatedAt
|
||||
pls.Changed = p.UpdatedAt
|
||||
|
||||
Reference in New Issue
Block a user