Hopefully this solves weird behaviour where the media detection freezes until restart. The code with dynamic size introduced another stream open, but we never close them. Now we only use a single stream call, and always close it.
Also fixes a small thumbnail loading bug:
Fixes small bug where if you close a media player playing a certain song, and reopen it and continue, the thumbnail does not load because the title and artist are the same. Now, if media info is ever None, it wipes the last title and artist used for thumbnail detect.
Hopefully this solves weird behaviour where the media detection freezes until restart. The code with dynamic size introduced another stream open, but we never close them. Now we only use a single stream call, and always close it.
Also fixes a small thumbnail loading bug: