Merge pull request #162 from NattyNarwhal/send-npic-stop

Send metadata so that NPIC can receive stop events at end of playback
This commit is contained in:
Christopher Snowhill 2021-09-25 01:05:27 -07:00 committed by GitHub
commit 02de18dde4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -616,6 +616,8 @@ NSDictionary * makeRGInfo(PlaylistEntry *pe)
} }
[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.
[self sendMetaData];
} }
- (void)playlistDidChange:(PlaylistController *)p - (void)playlistDidChange:(PlaylistController *)p