Enable Last.fm scrobbling by default (still requires user's authorization)
This commit is contained in:
@@ -11,6 +11,7 @@ import {
|
||||
useTranslate,
|
||||
} from 'react-admin'
|
||||
import { Title } from '../common'
|
||||
import config from '../config'
|
||||
|
||||
const PlayerTitle = ({ record }) => {
|
||||
const translate = useTranslate()
|
||||
@@ -47,7 +48,9 @@ const PlayerEdit = (props) => (
|
||||
]}
|
||||
/>
|
||||
<BooleanInput source="reportRealPath" fullWidth />
|
||||
<BooleanInput source="scrobbleEnabled" fullWidth />
|
||||
{config.devEnableScrobble && (
|
||||
<BooleanInput source="scrobbleEnabled" fullWidth />
|
||||
)}
|
||||
<TextField source="client" />
|
||||
<TextField source="userName" />
|
||||
</SimpleForm>
|
||||
|
||||
Reference in New Issue
Block a user