Move images from database to file system
sphildreth opened this issue · 1 comments
sphildreth commented
There are several disadvantages to keeping images in the database:
- Creates larger backups
- Adds size to the table (potential performance concerns)
- Not easily editable/viewable outside of the database
The goal is to be able to remove completely:
- The "images" table
- Any "thumbnail" property on any POCO record
- Use files for images everywhere.
This applies to
- Artist (folder set via Configuration.LibraryFolder)
- Collection (folder set via Configuration.CollectionImageFolder)
- Genre (folder set via Configuration.GenreImageFolder)
- Label (folder set via Configuration.LabelImageFolder)
- Playlist (folder set via Configuration.PlaylistImageFolder)
- Release (folder set via Configuration.LibraryFolder + Artist folder)
- Track (folder set to Release folder)
- User (folder set via Configuration.UserImageFolder)
sphildreth commented
Created method "/admin/MigrateImages" to pull existing images from database and store in File.