Made the Player behaviour more consistent

This commit is contained in:
Deluan
2021-07-02 14:07:03 -04:00
parent 26b5e6b1b4
commit ace5c905eb
14 changed files with 374 additions and 377 deletions
+1 -1
View File
@@ -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,