Update 99-database_clean.sh

This commit is contained in:
Alexandre
2022-01-09 19:31:36 +01:00
committed by GitHub
parent 1660560a6f
commit bde5fcd392

View File

@@ -4,4 +4,6 @@
db=/config/addons_config/jellyfin/library.db
#Modify base
if [ -f $db ]; then
sqlite3 -quote ${db} "UPDATE TypedBaseItems SET data = replace( data, '/config/jellyfin/', 'config/addons_config/jellyfin/' ), path = replace( path, '/config/jellyfin/', '/config/addons_config/jellyfin/' ) WHERE type='MediaBrowser.Controller.Entities.CollectionFolder';"
fi