You can configure the following settings:
- Placeholder artwork URL
- Paused timeout (in seconds, minutes, or hours)
- Metadata fetch interval (in seconds, minutes, or hours)
I also added helping notes to the title of the inputs to make it clearer what each setting does.
Also meow meow meow meow meow meow meow meow meow meow meow meow meow meow
The issue with the 5 min pause bug was that the pause function was not properly resetting the state of the artwork, So it would say its not playing, while showing the artwork as if it was playing.
And the redundant code was just a few lines that were repeated in multiple places, so I consolidated them into a single function to improve maintainability.
Who made Javascript? Why is it so hard. 😭