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
Christopher Snowhill 2022-12-09 21:13:12 -08:00
parent 02c5ccaae1
commit 4f942ac890
No known key found for this signature in database
1 changed files with 0 additions and 8 deletions

View File

@ -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];