ampache_react/app/reducers/index.js
Phyks (Lucas Verney) 4d4ce6c14e Basic webplayer
Now able to play a single file, in a format supported by your browser.

* Playlists not yet supported.
* Volume is a simple on/off switch.
* Repeat / Random not yet supported.
2016-08-07 01:38:49 +02:00

25 lines
534 B
JavaScript

import { routerReducer as routing } from "react-router-redux";
import { combineReducers } from "redux";
import auth from "./auth";
import paginate from "./paginate";
import webplayer from "./webplayer";
import * as ActionTypes from "../actions";
// Updates the pagination data for different actions.
const api = paginate([
ActionTypes.API_REQUEST,
ActionTypes.API_SUCCESS,
ActionTypes.API_FAILURE
]);
const rootReducer = combineReducers({
routing,
auth,
api,
webplayer
});
export default rootReducer;