2020-11-10, 21:21
I finally succeed to restore watched list from old library export using an intermediate and temporary kodi for generating the watched list backup.
(2020-12-17, 15:31)Bernd245 Wrote: Hello Milhouse,
my recordings from a tvheadend server are stored on a fileserver via nfs. In Kodi the fileserver is the source for my movies.
.....
Is the a way to update the Kodi database (and Kodi!) with the new "A Boring Recording.tbn"? I tried some curl/json stuff and texturecache with the qax command. And I got no reliable solution...
##
## THIS IS JUST A SAMPLE CONFIGURATION FILE
##
## All of the following lines are comments.
##
## Remove the # at the beginning of a line
## to make that property "active".
##
## Add extra properties to the end of the file.
##
## Don't specify properties unless you want or
## need to override the default value.
##
#userdata = ~/.xbmc/userdata/
#dbfile = Database/Textures13.db
#thumbnails = Thumbnails/
#xbmc.host = localhost
#webserver.port = 8080
#rpc.port = 9090
#download.threads = 2
#extrajson.albums =
#extrajson.artists =
#extrajson.songs =
#extrajson.movies =
#extrajson.sets =
#extrajson.tvshows.tvshow =
#extrajson.tvshows.season =
#extrajson.tvshows.episode=
#qaperiod = 30
#qa.file = no
#cache.castthumb = no
#logfile =
#logfile.verbose = no
#network.mac = aa:bb:cc:dd:ee:ff
allow.recacheall = yes
./texturecache.py C movies @cache.artwork=poster @cache.refresh=0
Caching artwork: 0 items remaining of 770 (qs: 0, qm: 0), 770 errors, 0 threads active (05.00 downloads per second, ETA: 00:00:00)
The following items could not be downloaded:
[poster ] [10,000 Saints ] http://image.tmdb.org/t/p/original/boQZU...Aw2SJ5.jpg
[poster ] [13 ] http://image.tmdb.org/t/p/original/8w54a...myIFMN.jpg
[poster ] [30 Days of Night ] http://image.tmdb.org/t/p/original/utaOr...hA7DKk.jpg
# output trimmed
Quote:echo "Start Scanning Video Library vscan"
"C:\Users\rongr\AppData\Local\Programs\Python\Python39\python.exe" texturecache.py vscan @clean.showdialogs=yes
timeout /t 3
echo "Start Cleaning Video Library vclean"
"C:\Users\rongr\AppData\Local\Programs\Python\Python39\python.exe" texturecache.py vclean @clean.showdialogs=yes
timeout /t 3
echo "Start Cleaning Video Library vclean"
"C:\Users\rongr\AppData\Local\Programs\Python\Python39\python.exe" texturecache.py vclean @clean.showdialogs=yes
timeout /t 3
echo "Start Scanning Audio Library ascan"
"C:\Users\rongr\AppData\Local\Programs\Python\Python39\python.exe" texturecache.py ascan @Scan.showdialogs=yes
timeout /t 3
echo "Start Cleaning Audio Library aclean"
"C:\Users\rongr\AppData\Local\Programs\Python\Python39\python.exe" texturecache.py aclean @clean.showdialogs=yes
timeout /t 3
echo "Start Cleaning Audio Library aclean"
"C:\Users\rongr\AppData\Local\Programs\Python\Python39\python.exe" texturecache.py aclean @clean.showdialogs=yes
timeout /t 3
echo "Start update with qax"
"C:\Users\rongr\AppData\Local\Programs\Python\Python39\python.exe" texturecache.py qax
timeout /t 3
echo "Start scanning texturecache with function C"
"C:\Users\rongr\AppData\Local\Programs\Python\Python39\python.exe" texturecache.py C
timeout /t 3
echo "Prune data missing on disk P"
"C:\Users\rongr\AppData\Local\Programs\Python\Python39\python.exe" texturecache.py P
timeout /t 3
echo "Start update with Xd"
"C:\Users\rongr\AppData\Local\Programs\Python\Python39\python.exe" texturecache.py Xd
timeout /t 3
echo "Start Reverse query cache update with R"
"C:\Users\rongr\AppData\Local\Programs\Python\Python39\python.exe" texturecache.py R
timeout /t 3
echo "end"
Quote:C:\Users\micha\Desktop\Kodi Cache>texturecache.py c @kodi.host=192.168.2.147
Traceback (most recent call last):
File "C:\Users\micha\Desktop\Kodi Cache\texturecache.py", line 8663, in <module>
main(sys.argv[1:])
File "C:\Users\micha\Desktop\Kodi Cache\texturecache.py", line 8353, in main
if not checkConfig(argv[0]): sys.exit(2)
File "C:\Users\micha\Desktop\Kodi Cache\texturecache.py", line 7893, in checkConfig
data = wcomms.sendJSON(REQUEST, "libPing", checkResult=False, useWebServer=True)
File "C:\Users\micha\Desktop\Kodi Cache\texturecache.py", line 2230, in sendJSON
return self.sendWeb("POST", "/jsonrpc", id, request, {"Content-Type": "application/json"}, timeout=timeout)
File "C:\Users\micha\Desktop\Kodi Cache\texturecache.py", line 2177, in sendWeb
raise httplib.HTTPException("Remote web host requires webserver.username/webserver.password properties")
http.client.HTTPException: Remote web host requires webserver.username/webserver.password properties
(2021-03-29, 04:12)movie78 Wrote: Texturec Cache stop since i upgrade to Matrix, any help
Quote:C:\Users\micha\Desktop\Kodi Cache>texturecache.py c @kodi.host=192.168.2.147
Traceback (most recent call last):
File "C:\Users\micha\Desktop\Kodi Cache\texturecache.py", line 8663, in <module>
main(sys.argv[1:])
File "C:\Users\micha\Desktop\Kodi Cache\texturecache.py", line 8353, in main
if not checkConfig(argv[0]): sys.exit(2)
File "C:\Users\micha\Desktop\Kodi Cache\texturecache.py", line 7893, in checkConfig
data = wcomms.sendJSON(REQUEST, "libPing", checkResult=False, useWebServer=True)
File "C:\Users\micha\Desktop\Kodi Cache\texturecache.py", line 2230, in sendJSON
return self.sendWeb("POST", "/jsonrpc", id, request, {"Content-Type": "application/json"}, timeout=timeout)
File "C:\Users\micha\Desktop\Kodi Cache\texturecache.py", line 2177, in sendWeb
raise httplib.HTTPException("Remote web host requires webserver.username/webserver.password properties")
http.client.HTTPException: Remote web host requires webserver.username/webserver.password properties
(2021-04-01, 23:24)lawhead Wrote:Where do I input the password in the texturecache.cfg file?(2021-03-29, 04:12)movie78 Wrote: Texturec Cache stop since i upgrade to Matrix, any help
Quote:C:\Users\micha\Desktop\Kodi Cache>texturecache.py c @kodi.host=192.168.2.147
Traceback (most recent call last):
File "C:\Users\micha\Desktop\Kodi Cache\texturecache.py", line 8663, in <module>
main(sys.argv[1:])
File "C:\Users\micha\Desktop\Kodi Cache\texturecache.py", line 8353, in main
if not checkConfig(argv[0]): sys.exit(2)
File "C:\Users\micha\Desktop\Kodi Cache\texturecache.py", line 7893, in checkConfig
data = wcomms.sendJSON(REQUEST, "libPing", checkResult=False, useWebServer=True)
File "C:\Users\micha\Desktop\Kodi Cache\texturecache.py", line 2230, in sendJSON
return self.sendWeb("POST", "/jsonrpc", id, request, {"Content-Type": "application/json"}, timeout=timeout)
File "C:\Users\micha\Desktop\Kodi Cache\texturecache.py", line 2177, in sendWeb
raise httplib.HTTPException("Remote web host requires webserver.username/webserver.password properties")
http.client.HTTPException: Remote web host requires webserver.username/webserver.password properties
Looks to me like you have a blank password for the web interface. I think a password is mandatory now with Matrix, set one in Kodi and in the texturecache.cfg and try again.
Quote:
Quote:#
## THIS IS JUST A SAMPLE CONFIGURATION FILE
##
## All of the following lines are comments.
##
## Remove the # at the beginning of a line
## to make that property "active".
##
## Add extra properties to the end of the file.
##
## Don't specify properties unless you want or
## need to override the default value.
##
#userdata = ~/.xbmc/userdata/
#dbfile = Database/Textures13.db
#thumbnails = Thumbnails/
#xbmc.host = localhost
#webserver.port = 8080
#rpc.port = 9090
#download.threads = 2
#extrajson.albums =
#extrajson.artists =
#extrajson.songs =
#extrajson.movies =
#extrajson.sets =
#extrajson.tvshows.tvshow =
#extrajson.tvshows.season =
#extrajson.tvshows.episode=
#qaperiod = 30
#qa.file = no
#cache.castthumb = no
#logfile =
#logfile.verbose = no
#network.mac = aa:bb:cc:dd:ee:ff
(2021-04-02, 00:46)movie78 Wrote:(2021-04-01, 23:24)lawhead Wrote:Where do I input the password in the texturecache.cfg file?(2021-03-29, 04:12)movie78 Wrote: Texturec Cache stop since i upgrade to Matrix, any help
Looks to me like you have a blank password for the web interface. I think a password is mandatory now with Matrix, set one in Kodi and in the texturecache.cfg and try again.
Quote:
Quote:
(2021-04-13, 01:53)kcook_shield Wrote:Added those 2 lines and I also added the username and password in kodi, below is the error that I am getting.(2021-04-02, 00:46)movie78 Wrote:(2021-04-01, 23:24)lawhead Wrote: Looks to me like you have a blank password for the web interface. I think a password is mandatory now with Matrix, set one in Kodi and in the texturecache.cfg and try again.Where do I input the password in the texturecache.cfg file?
Quote:
Quote:
For user/password settings see:
https://kodi.wiki/view/Texture_Cache_Mai...ce_utility
Section 7 shows:
webserver.username =
webserver.password =
I believe you might need those 2 settings added to config with your user and pw set for each entry.
I'm running ( the most recent version from https://github.com/MilhouseVH/texturecache.py ) against Kodi Matrix and it seems to work for me.