mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-15 11:40:36 +03:00
refactor: rename player to audioplayer
This commit is contained in:
parent
da36941252
commit
353c48d8d8
@ -11,7 +11,7 @@ import song from './song'
|
||||
import album from './album'
|
||||
import artist from './artist'
|
||||
import { createMuiTheme } from '@material-ui/core/styles'
|
||||
import { Player, playQueueReducer } from './player'
|
||||
import { Player, playQueueReducer } from './audioplayer'
|
||||
|
||||
const theme = createMuiTheme(DarkTheme)
|
||||
|
||||
|
@ -8,7 +8,7 @@ import PlayArrowIcon from '@material-ui/icons/PlayArrow'
|
||||
import ShuffleIcon from '@material-ui/icons/Shuffle'
|
||||
import React from 'react'
|
||||
import { useDispatch } from 'react-redux'
|
||||
import { playAlbum } from '../player'
|
||||
import { playAlbum } from '../audioplayer'
|
||||
|
||||
export const AlbumActions = ({
|
||||
className,
|
||||
|
@ -13,7 +13,7 @@ import { useStyles } from './styles'
|
||||
import { AlbumActions } from './AlbumActions'
|
||||
import { AlbumSongBulkActions } from './AlbumSongBulkActions'
|
||||
import { useMediaQuery } from '@material-ui/core'
|
||||
import { setTrack } from '../player'
|
||||
import { setTrack } from '../audioplayer'
|
||||
import { useDispatch } from 'react-redux'
|
||||
|
||||
const AlbumShow = (props) => {
|
||||
|
@ -6,7 +6,7 @@ import {
|
||||
useUnselectAll
|
||||
} from 'react-admin'
|
||||
import { useDispatch } from 'react-redux'
|
||||
import { addTrack } from '../player'
|
||||
import { addTrack } from '../audioplayer'
|
||||
import AddToQueueIcon from '@material-ui/icons/AddToQueue'
|
||||
|
||||
const AddToQueueButton = ({ selectedIds }) => {
|
||||
|
@ -22,7 +22,7 @@ import {
|
||||
Title
|
||||
} from '../common'
|
||||
import { useDispatch } from 'react-redux'
|
||||
import { addTrack, setTrack } from '../player'
|
||||
import { addTrack, setTrack } from '../audioplayer'
|
||||
import AddIcon from '@material-ui/icons/Add'
|
||||
import { SongBulkActions } from './SongBulkActions'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user