[FavoriteMedia]: Local Database Cache All Media doesn't work.
Discord Build
Stable
Discord Version
stable 315432 (4e1f4fc)
Plugin Version
1.10.1
Steps To Reproduce
1 - Click "Local Database" 2 - Click "Cache All Media"
Describe the bug
It just straight up doesn't work.
I've left it running overnight multiple times, and it hasn't done anything at all. I've tried restarting Discord and doing it multiple times, and it hasn't done anything at all. The "Cache All Media" thing permanently remains as the spinning blocks, and all media previews remain as the default X that Discord uses or the "missing image" placeholder (the one that looks like a sheet of paper with a diagonal slash through the bottom right of it). See attached screenshots for what I mean.
Maybe this is only a me thing. Maybe I'm just doing something wrong. But I followed the instructions I was given to the best of my knowledge and ability, and it didn't work.
Honestly I'd prefer if the Refresh URLs thing came back, but from what I read in the other bug reports that seemed related to this, that was apparently something that was just a temporary measure that stopped working as Discord updated.
Screenshots
I have been waiting to see this fixed but it is so annoying and i honestly would rather go back too because this i cant even see what im clicking on and its like Russian roulette fix pls
bro i think he abandoned this
@SoCalledFunnyman Can you share your config.json so that I can test out thx
mines does the same do you want me to share mine
Please do
[FavoriteMedia.config.json]
@Rexxxyxyxy Using your config.json, caching worked fine on my computer, it has cached a total of 943. A few previews won't load but it's because they're completely dead. And while caching, my RAM and CPU% were normal. Idk tbh...
still wont for me what do i delete and readd or what?
If the caching is working, it should display a progress.
mines would just crash tbh
when i try to look at cache it would just instant crash
Nothing shows up in the console when it crashes ?
@SoCalledFunnyman Can you share your config.json so that I can test out thx
Sorry for such a late response. Here you go. At least this SHOULD be it, I think. [FavoriteMedia.config.json] Tested again today. Same thing. No progress tracker at all. Just the endlessly spinning squares.
really weird...
[FavoriteMedia] Saved 1922/1922 medias in the database in 635.37s
Wait, maybe I did not understand correctly, you have never seen this button?
With no error in the console?
Wait, maybe I did not understand correctly, you have never seen this button? With no error in the console?
I'm not exactly sure what you mean by that? That's the menu I go into, and it looks completely the same in that image as it does when I use it. I press the Cache All Medias button, and as previously stated, nothing ever happens.
As for the console, admittedly I haven't checked it (or at least I don't think I have anyways) since I'm not sure how to do so. If you let me know how to do that, I'll put down whatever gets shown in it here. But I've never had any crashes or anything, just the caching never seems to start after I press the button.
Ctrl+shift+i
Ctrl+shift+i
Alright, just did that, here's what I got after hitting the "Cache All Medias" button.
Basically, just a whole lot of this. Also got this as well.
FavoriteMedia.plugin.js.zip @SoCalledFunnyman try with this version, and show the console logs too, because it might show why every red request fails
my version just loads infinite no cache all medias and just flops can we please return to the old version
and then crashes with nothing else
@Rex753 @Rexxxyxyxy FavoriteMedia.plugin.js.old.zip
this is js not python can i still install it?
oops forgot to rename it, rename to FavoriteMedia.plugin.js and replace in the plugins folder
sick now it works dubbz
FavoriteMedia.plugin.js.zip @SoCalledFunnyman try with this version, and show the console logs too, because it might show why every red request fails
This one was mostly the same as the last one, a ton of Bad Requests intermittently broken by "Could not load media". It seemed to actually work after a bit this time though. So whatever you changed, apparently that made it work. At least for me, anyways.