Playback Controller: Remove "stopping" status use
This should not really be necessary for proper player operation any longer, and can safely be removed. Signed-off-by: Christopher Snowhill <kode54@gmail.com>main
parent
02c5ccaae1
commit
4f942ac890
|
@ -677,14 +677,6 @@ NSDictionary *makeRGInfo(PlaylistEntry *pe) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(status == CogStatusStopped) {
|
|
||||||
status = CogStatusStopping;
|
|
||||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 3 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
|
|
||||||
if([self playbackStatus] == CogStatusStopping)
|
|
||||||
[self setPlaybackStatus:CogStatusStopped];
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
[self setPlaybackStatus:status];
|
[self setPlaybackStatus:status];
|
||||||
// If we don't send it here, if we've stopped, then the NPIC will be stuck at the last file we played.
|
// If we don't send it here, if we've stopped, then the NPIC will be stuck at the last file we played.
|
||||||
[self sendMetaData];
|
[self sendMetaData];
|
||||||
|
|
Loading…
Reference in New Issue