Update update-db.sh
This commit is contained in:
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…
Reference in New Issue
Block a user