Add/Remove to libraries; Almost ready to bring in to dev pipeline
This commit is contained in:
@ -431,10 +431,11 @@ export function getLibraryPlaylists() {
|
||||
return { type: 'MOPIDY_GET_LIBRARY_PLAYLISTS' };
|
||||
}
|
||||
|
||||
export function getPlaylist(uri) {
|
||||
export function getPlaylist(uri, options) {
|
||||
return {
|
||||
type: 'MOPIDY_GET_PLAYLIST',
|
||||
data: { uri },
|
||||
uri,
|
||||
options,
|
||||
};
|
||||
}
|
||||
|
||||
@ -478,10 +479,11 @@ export function clearLibraryArtists() {
|
||||
};
|
||||
}
|
||||
|
||||
export function getArtist(uri) {
|
||||
export function getArtist(uri, options) {
|
||||
return {
|
||||
type: 'MOPIDY_GET_ARTIST',
|
||||
uri,
|
||||
options,
|
||||
};
|
||||
}
|
||||
|
||||
@ -493,10 +495,11 @@ export function getArtists(uris, processor = null) {
|
||||
};
|
||||
}
|
||||
|
||||
export function getAlbum(uri) {
|
||||
export function getAlbum(uri, options) {
|
||||
return {
|
||||
type: 'MOPIDY_GET_ALBUM',
|
||||
uri,
|
||||
options,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user