Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloadError ¶
type DownloadError struct {
Cause error
}
func (*DownloadError) Error ¶
func (e *DownloadError) Error() string
type DownloadResult ¶
func DownloadTrackError ¶
func DownloadTrackError() *DownloadResult
type Engine ¶
type Engine struct {
DataRepository *repository.Repository
}
func (*Engine) PlaylistDownloader ¶
func (e *Engine) PlaylistDownloader() *PlaylistDownloader
Download playlist from music service
type MasterData ¶
type MasterData struct { Engine *Engine Logger *zap.SugaredLogger MusicRepository musicservices.IMasterDataRepository }
find album and artist IDs using album and artist names
type PlaylistDownloader ¶
type PlaylistDownloader struct { Engine *Engine DataRepository *repository.Repository Logger *zap.SugaredLogger CurrentPlaylist *core.Playlist MusicService musicservices.IMusicService MusicRepository musicservices.IMasterDataRepository TotalSingles uint TotalAlbums uint PlaylistWasUpdated bool }
func (*PlaylistDownloader) Download ¶
func (d *PlaylistDownloader) Download(playlistId uint) *DownloadResult
type StoreError ¶
type StoreError struct {
Cause error
}
func (*StoreError) Error ¶
func (e *StoreError) Error() string
Click to show internal directories.
Click to hide internal directories.