Add Internet Radio support (#2063)
* add internet radio support * Add dynamic sidebar icon to Radios * Fix typos * Make URL suffix consistent * Fix typo * address feedback * Don't need to preload when playing Internet Radios * Reorder migration, or else it won't be applied * Make Radio list view responsive Also added filter by name, removed RadioActions and RadioContextMenu, and added a default radio icon, in case of favicon is not available. * Simplify StreamField usage * fix button, hide progress on mobile * use js styles over index.css Co-authored-by: Deluan <deluan@navidrome.org>
This commit is contained in:
@@ -14,6 +14,7 @@ import song from './song'
|
||||
import album from './album'
|
||||
import artist from './artist'
|
||||
import playlist from './playlist'
|
||||
import radio from './radio'
|
||||
import { Player } from './audioplayer'
|
||||
import customRoutes from './routes'
|
||||
import {
|
||||
@@ -99,6 +100,10 @@ const Admin = (props) => {
|
||||
<Resource name="album" {...album} options={{ subMenu: 'albumList' }} />,
|
||||
<Resource name="artist" {...artist} />,
|
||||
<Resource name="song" {...song} />,
|
||||
<Resource
|
||||
name="radio"
|
||||
{...(permissions === 'admin' ? radio.admin : radio.all)}
|
||||
/>,
|
||||
<Resource
|
||||
name="playlist"
|
||||
{...playlist}
|
||||
|
||||
Reference in New Issue
Block a user