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>xcode15
parent
1de501a64a
commit
1b9f460538
|
@ -677,14 +677,6 @@ NSDictionary *makeRGInfo(PlaylistEntry *pe) {
|
|||
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];
|
||||
// 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];
|
||||
|
|
Loading…
Reference in New Issue