Fully operational mopidy middleware; Spotify middleware next
This commit is contained in:
30
src/js/services/spotify/actions.js
Executable file
30
src/js/services/spotify/actions.js
Executable file
@ -0,0 +1,30 @@
|
||||
|
||||
/**
|
||||
* Actions and Action Creators
|
||||
**/
|
||||
|
||||
export function authorize(){
|
||||
return {
|
||||
type: 'SPOTIFY_AUTHORIZING'
|
||||
}
|
||||
}
|
||||
|
||||
export function connect(){
|
||||
return {
|
||||
type: 'SPOTIFY_CONNECTING'
|
||||
}
|
||||
}
|
||||
|
||||
export function disconnect(){
|
||||
return {
|
||||
type: 'SPOTIFY_DISCONNECT'
|
||||
}
|
||||
}
|
||||
|
||||
export function loadAlbum( uri ){
|
||||
return {
|
||||
type: 'SPOTIFY_LOAD_ALBUM',
|
||||
uri: uri
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user