From cd7c95ea7eacf847aeefffca34732c24f90578cf Mon Sep 17 00:00:00 2001 From: "aytac.kayadelen" Date: Mon, 3 Oct 2022 17:44:55 +0300 Subject: [PATCH] kinda fix for chroma usage --- Artemis.MediaInfo/MediaInfoModule.cs | 3 +++ Artemis.MediaInfo/plugin.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Artemis.MediaInfo/MediaInfoModule.cs b/Artemis.MediaInfo/MediaInfoModule.cs index 2ada124..2cb48d0 100644 --- a/Artemis.MediaInfo/MediaInfoModule.cs +++ b/Artemis.MediaInfo/MediaInfoModule.cs @@ -152,6 +152,9 @@ private void MediaManager_OnAnyPlaybackStateChanged(MediaSession mediaSession, { UpdateButtons(); DataModel.MediaState = playbackInfo.PlaybackStatus; + _mediaSessions.Add(mediaSession); + + UpdateButtons(); } private void UpdateButtons() diff --git a/Artemis.MediaInfo/plugin.json b/Artemis.MediaInfo/plugin.json index 2eec054..6cd68df 100644 --- a/Artemis.MediaInfo/plugin.json +++ b/Artemis.MediaInfo/plugin.json @@ -6,6 +6,6 @@ "Main": "Artemis.MediaInfo.dll", "Name": "Media Info", "Repository": "https://github.com/Aytackydln/Artemis.MediaInfo", - "Version": "0.0.5.0", + "Version": "0.0.6.0", "Platforms":"Windows" }