Removing deprectated http_streaming references
This commit is contained in:
@ -6,13 +6,6 @@ export default function reducer(core = {}, action) {
|
||||
case 'CORE_SET':
|
||||
return { ...core, ...action.data };
|
||||
|
||||
case 'CACHEBUST_HTTP_STREAM':
|
||||
return { ...core, http_streaming_cachebuster: new Date().getTime() };
|
||||
|
||||
/**
|
||||
* Current track and tracklist
|
||||
* */
|
||||
|
||||
case 'CURRENT_TRACK_LOADED':
|
||||
return {
|
||||
...core,
|
||||
|
||||
@ -43,9 +43,6 @@ let state = {
|
||||
tracks: {},
|
||||
items: {},
|
||||
libraries: {},
|
||||
http_streaming_enabled: false,
|
||||
http_streaming_cachebuster: null,
|
||||
http_streaming_url: `http://${window.location.hostname}:8000/mopidy`,
|
||||
},
|
||||
ui: {
|
||||
language: 'en',
|
||||
|
||||
@ -6,13 +6,7 @@ import { Switch, Route } from 'react-router-dom';
|
||||
import Header from '../components/Header';
|
||||
import Icon from '../components/Icon';
|
||||
import DropdownField from '../components/Fields/DropdownField';
|
||||
import TrackList from '../components/TrackList';
|
||||
import ArtistGrid from '../components/ArtistGrid';
|
||||
import AlbumGrid from '../components/AlbumGrid';
|
||||
import PlaylistGrid from '../components/PlaylistGrid';
|
||||
import LazyLoadListener from '../components/LazyLoadListener';
|
||||
import SearchForm from '../components/Fields/SearchForm';
|
||||
import URILink from '../components/URILink';
|
||||
import SearchResults from '../components/SearchResults';
|
||||
import * as coreActions from '../services/core/actions';
|
||||
import * as uiActions from '../services/ui/actions';
|
||||
|
||||
Reference in New Issue
Block a user