I repeated the same with all 4 Sqlite databases I saw, there can be 2 more:
That did not help either.
The Libraries still point to the old location in the Dashboard and that cannot be changed in the Sqlite databases, it seems.
Code:
tja@mini:~$ cat ./jelly.sh
#! /opt/local/bin/bash
set -e
set -u
####
DIR="/Users/tja/Library/Application Support"
cd "${DIR}"
rm -rf jellyfin
tar xf ~/Library_Application_Support_jellyfin.tar
cd jellyfin/data
for db in jellyfin.db library.db library.db-shm library.db-wal ; do
cat << EOF | sqlite3 ${db}
.output ${db}.sql
.dump
.exit
EOF
sed 's@T7_Touch1TB/MOVIES@XTRMQ/MEDIA/MOVIES@g;s@T7_Touch1TB/SERIES@XTRMQ/MEDIA/SERIES@g;s@T7_Touch1TB/INTERNET@XTRMQ/MEDIA/INTERNET@g;s@T7_Touch1TB/PRIVATE@XTRMQ/MEDIA/PRIVATE@g;s@T7_Touch1TB@XTRMQ@g' ${db}.sql > ${db}.new
cat << EOF | sqlite3 ${db}2
.read ${db}.new
.exit
EOF
mv ${db}2 ${db}
done
exit 0
That did not help either.
The Libraries still point to the old location in the Dashboard and that cannot be changed in the Sqlite databases, it seems.