Return playlist duration in getPlayList
This commit is contained in:
+1
-1
@@ -4,7 +4,6 @@ type Playlist struct {
|
||||
ID string
|
||||
Name string
|
||||
Comment string
|
||||
FullPath string
|
||||
Duration int
|
||||
Owner string
|
||||
Public bool
|
||||
@@ -16,6 +15,7 @@ type PlaylistRepository interface {
|
||||
Exists(id string) (bool, error)
|
||||
Put(pls *Playlist) error
|
||||
Get(id string) (*Playlist, error)
|
||||
GetWithTracks(id string) (*Playlist, error)
|
||||
GetAll(options ...QueryOptions) (Playlists, error)
|
||||
Delete(id string) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user