Files
navidrome/domain/playlist.go
T
2016-03-20 13:33:59 -04:00

19 lines
352 B
Go

package domain
type Playlist struct {
Id string
Name string
FullPath string
Tracks []string
}
type PlaylistRepository interface {
BaseRepository
Put(m *Playlist) error
Get(id string) (*Playlist, error)
GetAll(options QueryOptions) (Playlists, error)
PurgeInactive(active Playlists) ([]string, error)
}
type Playlists []Playlist