From 5fa9ccec452f1626933800c5a964bf846c41c12a Mon Sep 17 00:00:00 2001 From: Socketlike <36399055+Socketlike@users.noreply.github.com> Date: Sun, 30 Jul 2023 08:44:13 +0700 Subject: [PATCH] chore(README): update snippet --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bc48518..3ecba75 100644 --- a/README.md +++ b/README.md @@ -80,10 +80,13 @@ modal css map: updates. - fix: none - we cannot trust Spotify's timestamps. they are wildly inaccurate for some reason - the modal does not update while playing episodes (shows) - - fix: none - we don't get the item data for the episode at all (`null`). don't believe me? - execute - `.events.on('message', (ev) => console.log(ev.detail.currently_playing_type, ev.detail.item))` - and check console when you play an episode. + - fix: none - we don't get the item data for the episode at all (`null`). check it yourself by + executing + ```js + replugged.plugins + .getExports('lib.evelyn.SpotifyModal') + ._.events.on('message', (e) => console.log(ev.detail.currently_playing_type, ev.detail.item)); + ``` - what happened to the `no Spotify pause` feature? - removed. you should check out [`NoSpotifyPause`](https://github.com/Socketlike/NoSpotifyPause) instead.