diff --git a/src/more-infos/more-info-media_player.html b/src/more-infos/more-info-media_player.html index faaa3257bd..99ee82026b 100644 --- a/src/more-infos/more-info-media_player.html +++ b/src/more-infos/more-info-media_player.html @@ -333,13 +333,14 @@ Polymer({ this.callService('media_next_track'); }, - handleSourceChanged: function (sourceIndex) { + handleSourceChanged: function (sourceIndex, sourceIndexOld) { var sourceInput; // Selected Option will transition to '' before transitioning to new value if (!this.stateObj || this.stateObj.attributes.source_list === undefined || sourceIndex < 0 || sourceIndex >= this.stateObj.attributes.source_list.length + || sourceIndexOld === undefined ) { return; }