Patching Icecast2 audio issue, fixes #288

This commit is contained in:
James Barnsley
2018-06-01 21:26:18 +12:00
parent 6d8cd8b104
commit 1aba008394
4 changed files with 4 additions and 6 deletions

View File

@ -58558,7 +58558,7 @@ var PlaybackControls = function (_React$Component) {
return _react2.default.createElement(
'div',
{ className: this.state.expanded ? "expanded playback-controls" : "playback-controls" },
this.props.http_streaming_enabled && this.props.http_streaming_active && this.props.play_state == 'playing' ? _react2.default.createElement(
this.props.http_streaming_enabled && this.props.play_state == 'playing' ? _react2.default.createElement(
'audio',
{ id: 'http-streamer', autoPlay: true, preload: 'none' },
_react2.default.createElement('source', { src: this.props.http_streaming_url, type: "audio/" + this.props.http_streaming_encoding })
@ -58687,7 +58687,6 @@ var PlaybackControls = function (_React$Component) {
var mapStateToProps = function mapStateToProps(state, ownProps) {
return {
snapcast_enabled: state.pusher.config.snapcast_enabled,
http_streaming_active: state.core.http_streaming_active,
http_streaming_enabled: state.core.http_streaming_enabled,
http_streaming_encoding: state.core.http_streaming_encoding,
http_streaming_url: state.core.http_streaming_url,

File diff suppressed because one or more lines are too long

View File

@ -77,7 +77,7 @@
// Release details
// These are automatically injected to built HTML
var build = "1527842697";
var build = "1527844844";
var version = "3.19.0";
// Construct the script tag