Customising artist and album library URIs
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
|
||||
import * as helpers from '../../helpers'
|
||||
|
||||
export function setConfig(config){
|
||||
return {
|
||||
type: 'MOPIDY_SET_CONFIG',
|
||||
config: config
|
||||
}
|
||||
export function set(data){
|
||||
return {
|
||||
type: 'MOPIDY_SET',
|
||||
data: data
|
||||
}
|
||||
}
|
||||
|
||||
export function connect(){
|
||||
@ -352,6 +352,12 @@ export function getLibraryArtists(){
|
||||
}
|
||||
}
|
||||
|
||||
export function clearLibraryArtists(){
|
||||
return {
|
||||
type: 'MOPIDY_CLEAR_LIBRARY_ARTISTS'
|
||||
}
|
||||
}
|
||||
|
||||
export function getArtist(uri){
|
||||
return {
|
||||
type: 'MOPIDY_GET_ARTIST',
|
||||
@ -388,6 +394,12 @@ export function getLibraryAlbums(){
|
||||
}
|
||||
}
|
||||
|
||||
export function clearLibraryAlbums(){
|
||||
return {
|
||||
type: 'MOPIDY_CLEAR_LIBRARY_ALBUMS'
|
||||
}
|
||||
}
|
||||
|
||||
export function runProcessor(processor){
|
||||
return {
|
||||
type: processor
|
||||
|
||||
Reference in New Issue
Block a user