Send metadata so that NPIC can receive stop events at end of playback

Otherwise, the NPIC will just show the last track stuck at the last second.
There may be a better place to put this.
This commit is contained in:
Calvin Buckley 2021-07-31 12:08:02 -03:00
parent 8875a36aba
commit cdde55004a

View file

@ -616,6 +616,8 @@ NSDictionary * makeRGInfo(PlaylistEntry *pe)
}
[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