From cdde55004a54bd20e71e98fe57968186e085882d Mon Sep 17 00:00:00 2001 From: Calvin Buckley Date: Sat, 31 Jul 2021 12:08:02 -0300 Subject: [PATCH] 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. --- Application/PlaybackController.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Application/PlaybackController.m b/Application/PlaybackController.m index b0333dabb..8da66768d 100644 --- a/Application/PlaybackController.m +++ b/Application/PlaybackController.m @@ -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