// key if we are going to look for album art later
// for now we check length and title this will require further examination later
mCurrentStatus.newtrack = true;
- if (mCurrentStatus.length == length && !mCurrentStatus.title.isNull() && 0 == QString::compare(mCurrentStatus.title, title)) {
+ if ( (0 == mCurrentStatus.length || STOP == mCurrentStatus.state) // stopped or null
+ || // same track as current playing
+ (mCurrentStatus.length == length && !mCurrentStatus.title.isNull() && 0 == QString::compare(mCurrentStatus.title, title)) ){
mCurrentStatus.newtrack = false;
}
mCurrentStatus.volume = volume;