Skip to content

Commit

Permalink
Fixed an issue where the previous session was repeated when an unknow…
Browse files Browse the repository at this point in the history
…n track was encountered
  • Loading branch information
fuzeman committed Aug 1, 2018
1 parent eb111ca commit de63e90
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Player/Monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ export default class PlayerMonitor extends EventEmitter {
if(IsNil(track)) {
Log.warn('Unable to parse track: %o', current);

// Clear current identifier
this._currentItem = null;

// Emit "stopped" event
this.emit('stopped');
return;
}

Expand Down

0 comments on commit de63e90

Please sign in to comment.