Made the Player behaviour more consistent
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
export * from './audioplayer'
|
||||
export * from './player'
|
||||
export * from './themes'
|
||||
export * from './albumView'
|
||||
export * from './dialogs'
|
||||
|
||||
@@ -3,7 +3,6 @@ export const PLAYER_PLAY_NEXT = 'PLAYER_PLAY_NEXT'
|
||||
export const PLAYER_SET_TRACK = 'PLAYER_SET_TRACK'
|
||||
export const PLAYER_SYNC_QUEUE = 'PLAYER_SYNC_QUEUE'
|
||||
export const PLAYER_CLEAR_QUEUE = 'PLAYER_CLEAR_QUEUE'
|
||||
export const PLAYER_SCROBBLE = 'PLAYER_SCROBBLE'
|
||||
export const PLAYER_PLAY_TRACKS = 'PLAYER_PLAY_TRACKS'
|
||||
export const PLAYER_CURRENT = 'PLAYER_CURRENT'
|
||||
export const PLAYER_SET_VOLUME = 'PLAYER_SET_VOLUME'
|
||||
@@ -79,12 +78,6 @@ export const clearQueue = () => ({
|
||||
type: PLAYER_CLEAR_QUEUE,
|
||||
})
|
||||
|
||||
export const scrobble = (id, submit) => ({
|
||||
type: PLAYER_SCROBBLE,
|
||||
id,
|
||||
submit,
|
||||
})
|
||||
|
||||
export const currentPlaying = (audioInfo) => ({
|
||||
type: PLAYER_CURRENT,
|
||||
data: audioInfo,
|
||||
Reference in New Issue
Block a user