Update update-db.sh

pull/702/head
Thomas Büttner 6 years ago committed by GitHub
parent a968913e9f
commit 0eafc3fd11

@ -1,7 +1,7 @@
#!/bin/sh
db=${1:-/var/lib/jellyfin/data/library.db}
embypath=${2:-/var/lib/emby-server}
jellyfinpath=${3:-/var/lib/jellyfin}
db=${1:-${jellyfinpath}/data/library.db}
sqlite3 ${db} << SQL
UPDATE Chapters2
SET ImagePath=REPLACE(ImagePath, '${embypath}', '${jellyfinpath}');

Loading…
Cancel
Save