2017-09-21, 10:20
I use texturecache for maintaining my kodi db (MySQL) and keep up with what is really on my storage. I use Sonarr and I have 1 MySQL server with the Kodi database with 2 PI's running Kodi
This is what I use for Texturecache, but I wonder if I am missing something (2 weeks ago I made some adjustments as I saw that some removed shows where still present in the DB of Kodi
I have two locations (NFS) for movies and 1 location for all TV shows (NFS)
#!/bin/bash
NAME=texturecache
INIT_DIR=/etc/init.d
echo "Start Scanning Video Library vscan"
/home/kodi/texturecache.py vscan
sleep 5
echo "Start Cleaning Video Library vclean"
/home/kodi/texturecache.py vclean
sleep 5
echo "Start scanning texturecache with function C"
/home/kodi/texturecache.py c
sleep 5
echo "Prune data missing on disk P"
/home/kodi/texturecache.py P
sleep 5
echo "Start update with qax"
/home/kodi/texturecache.py qax
sleep 3
echo "Start update with Xd"
/home/kodi/texturecache.py Xd
sleep 3
echo "Start update with ./texturecache.py R"
/home/kodi/texturecache.py R
sleep 3
echo "end"
This is what I use for Texturecache, but I wonder if I am missing something (2 weeks ago I made some adjustments as I saw that some removed shows where still present in the DB of Kodi
I have two locations (NFS) for movies and 1 location for all TV shows (NFS)
#!/bin/bash
NAME=texturecache
INIT_DIR=/etc/init.d
echo "Start Scanning Video Library vscan"
/home/kodi/texturecache.py vscan
sleep 5
echo "Start Cleaning Video Library vclean"
/home/kodi/texturecache.py vclean
sleep 5
echo "Start scanning texturecache with function C"
/home/kodi/texturecache.py c
sleep 5
echo "Prune data missing on disk P"
/home/kodi/texturecache.py P
sleep 5
echo "Start update with qax"
/home/kodi/texturecache.py qax
sleep 3
echo "Start update with Xd"
/home/kodi/texturecache.py Xd
sleep 3
echo "Start update with ./texturecache.py R"
/home/kodi/texturecache.py R
sleep 3
echo "end"