BDAddons icon indicating copy to clipboard operation
BDAddons copied to clipboard

[FavoriteMedia]: importing from really old versions deletes all media when trying to import

Open shadow5543 opened this issue 5 months ago • 0 comments

Discord Build

Stable

Discord Version

stable 424965 (7bdf295)

Plugin Version

10.0.5 to 1.13.5

Steps To Reproduce

  1. update version on betterdiscord tab
  2. dragged old config.json in to update
  3. Favorited a random video to make it update
  4. Checked the config.json only for it to be blank as if I just installed favorite media

Describe the bug

After not using betterdiscord for a while I decided to try it out again, opened it up and updated to the newest version possible. I had previously removed the favorite media plugin from the folder directly and had it saved on my desktop so I dragged it back in to the plugins folder manually. reloaded discord and nothing showed up. All of my saved images, videos, and mp3s got deleted from the config.json after trying to make the config try to read the saved medias. As previously stated all the config.json just reverted to looking like a fresh installation of the favorite media plugin.

Screenshots

Image As of now, I have tried everything to recover the old config, but I was stupid and didn't make a backup, thinking it would just refresh and start working again like it always did. Unfortunately, that didn't happen, and I lost about 2 years of saved media. Although I know I should have probably made a backup before trying to do anything, I want to still send this report in so you could maybe add a function to your plugin directly to keep a backup if possible, so it doesn't happen to anyone else.

shadow5543 avatar Jul 31 '25 13:07 shadow5543