Icecast cachebuster

This commit is contained in:
James Barnsley
2018-07-02 21:37:24 +12:00
parent 58120a399e
commit c455406b0a
7 changed files with 20931 additions and 22821 deletions

View File

@ -72,6 +72,12 @@ export function clearCurrentTrack(){
}
}
export function cachebustHttpStream(){
return {
type: 'CACHEBUST_HTTP_STREAM'
}
}

View File

@ -7,6 +7,9 @@ export default function reducer(core = {}, action){
case 'CORE_SET':
return Object.assign({}, core, action.data)
case 'CACHEBUST_HTTP_STREAM':
return Object.assign({}, core, {http_streaming_cachebuster: new Date().getTime()})
/**
* Current track and tracklist
**/