2017-05-07, 00:28
Also, in addition to the logfile, could you run "texturecache.py jd tvshows >/tmp/tvshows.dat" and then upload /tmp/tvshows.dat somewhere (may require zipping etc.) and paste the link. Thanks.
(2017-05-06, 21:32)Milhouse Wrote: Regarding your first post, is your OSMC server using IP address 10.0.1.120? You'd only get that error if there is no JSON-RPC service listening on that IP address - if you've enabled this in Kodi (reboot for good measure, it might not always start when first enabled in the GUI) then double check you're using the correct IP address.
The error in your second post follows on the from the comment above... if you're sure kodi doesn't have a password configured in the GUI then double check you're connecting to the Kodi webserver on the correct IP address - you might be connecting to a different webserver entirely.
webserver.port = 8080
webserver.username = osmc
webserver.password = osmc
webserver.port = 8080
webserver.username = osmc
webserver.password = osmc
# set a default section
section=server
cache.ignore.types=+^special://thumbnails
[server]
kodi.host=10.0.1.120
cache.ignore.types=+.*/animatedgifs/.*.gif$
#[bedroom]
#kodi.host=10.0.1.122
#cache.ignore.types=+.*/animatedgifs/.*.gif$
[TVroom]
kodi.host=10.0.1.121
# We want to ignore the animated GIFs made by Aeon MQ 7 skin
cache.ignore.types=+^special://thumbnails
(2017-05-07, 22:42)Simorgh Wrote: Is it because of this line in the *cfg file? :
Code:cache.ignore.types=+^special://thumbnails
Thank you.
texturecache.py @section=TVroom @logfile=/tmp/tc.log nc tvshows
./texturecache.py vclean
./texturecache.py vscan
./texturecache.py missing tvshows "TV_Shows"
./texturecache.py missing movies "Movies"
nfs://192.168.4.14//mnt/tank/media/video/Movies/Back In Trouble (1997)/VIDEO_TS/VTS_01_0.VOB
nfs://192.168.4.14//mnt/tank/media/video/Movies/Back In Trouble (1997)/VIDEO_TS/VTS_01_1.VOB
nfs://192.168.4.14//mnt/tank/media/video/Movies/Back In Trouble (1997)/VIDEO_TS/VTS_01_2.VOB
nfs://192.168.4.14//mnt/tank/media/video/Movies/Back In Trouble (1997)/VIDEO_TS/VTS_01_3.VOB
nfs://192.168.4.14//mnt/tank/media/video/Movies/Back In Trouble (1997)/VIDEO_TS/VTS_01_4.VOB
nfs://192.168.4.14//mnt/tank/media/video/Movies/Back In Trouble (1997)/VIDEO_TS/VTS_01_5.VOB
nfs://192.168.4.14//mnt/tank/media/video/Movies/Back In Trouble (1997)/VIDEO_TS/VTS_01_6.VOB
nfs://192.168.4.14//mnt/tank/media/video/Movies/Back In Trouble (1997)/VIDEO_TS/VTS_02_0.VOB
nfs://192.168.4.14//mnt/tank/media/video/Movies/Back In Trouble (1997)/VIDEO_TS/VTS_02_1.VOB
(2017-05-07, 23:07)Milhouse Wrote: Perhaps OSMC uses different defaults to stock Kodi, as the default webserver port should be 8080, with no username/password.
(2017-05-07, 22:42)Simorgh Wrote: Is it because of this line in the *cfg file? :
Code:cache.ignore.types=+^special://thumbnails
Thank you.
I can't imagine that having any effect so you might as well remove it.
Edit: Ah, it might have an effect if your only source of artwork is a location within special://thumbnails, such as the animated artwork that dumps it's GIFs inside the cache. So yes, if you want to load those GIFs you don't want to ignore the entire cache folder. Locating those GIFs elsewhere is the only sane solution.
I'm assuming your TVroom client is using the same MyVideos database as your other clients?
Can you run:
then upload /tmp/tc.log somewhere (zip if necessary).Code:texturecache.py @section=TVroom @logfile=/tmp/tc.log nc tvshows
(2017-05-08, 13:47)johnnychicago Wrote: On running the "missing" function, texturecache flashes these 'Loading TV show: xyz, season 8...' type of messages. When called from cron, it seems like these messages all go into the cron email, clogging up the actually wanted output of the script (the list with missing files). Is there a way to force texturecache to a terse output mode where this is just not printed to the console?
(2017-05-08, 13:47)johnnychicago Wrote: Then texturecache outputs these lines:
Code:nfs://192.168.4.14//mnt/tank/media/video/Movies/Back In Trouble (1997)/VIDEO_TS/VTS_01_0.VOB
nfs://192.168.4.14//mnt/tank/media/video/Movies/Back In Trouble (1997)/VIDEO_TS/VTS_01_1.VOB
nfs://192.168.4.14//mnt/tank/media/video/Movies/Back In Trouble (1997)/VIDEO_TS/VTS_01_2.VOB
nfs://192.168.4.14//mnt/tank/media/video/Movies/Back In Trouble (1997)/VIDEO_TS/VTS_01_3.VOB
nfs://192.168.4.14//mnt/tank/media/video/Movies/Back In Trouble (1997)/VIDEO_TS/VTS_01_4.VOB
nfs://192.168.4.14//mnt/tank/media/video/Movies/Back In Trouble (1997)/VIDEO_TS/VTS_01_5.VOB
nfs://192.168.4.14//mnt/tank/media/video/Movies/Back In Trouble (1997)/VIDEO_TS/VTS_01_6.VOB
nfs://192.168.4.14//mnt/tank/media/video/Movies/Back In Trouble (1997)/VIDEO_TS/VTS_02_0.VOB
nfs://192.168.4.14//mnt/tank/media/video/Movies/Back In Trouble (1997)/VIDEO_TS/VTS_02_1.VOB
The corresponding movie has been properly scanned an is in kodi's database. Texturecache seems to do this for all scanned DVD's. Is there a way for me to fix this, so that these lines drop?
(2017-05-08, 13:47)johnnychicago Wrote: Lastly, I seem to have trouble generating nfo files for Movies that cannot be found by the scraper. Rather unrelated to texturecache, but if there's a good command line program to generate simple nfo's that kodi will scan, I'd love to hear about that.
(2017-05-08, 16:52)Simorgh Wrote: https://www.dropbox.com/s/95wog8bwm0uytc3/tc.log?dl=0
Thank you.
{u'cachedurl': u'1/1baf5e73.jpg', u'url': u'smb://SIMORGHOSMC/Sohrab15/TV Showz 15/Westworld/poster.jpg', u'textureid': 3103}
Need to cache: [ fanart ] for tvshow: Westworld, Season 1
{
"art": {
"banner": "image://smb://SIMORGHOSMC/Sohrab15/TV Showz 15/The X-Files/banner.jpg/",
"fanart": "image://smb://SIMORGHOSMC/Sohrab15/TV Showz 15/The X-Files/fanart.jpg/",
"poster": "image://smb://SIMORGHOSMC/Sohrab15/TV Showz 15/The X-Files/poster.jpg/"
},
{u'cachedurl': u'2/246b7f74.jpg', u'url': u'smb://10.0.1.120:445/Sohrab15/TV Showz 15/The X-Files/fanart.jpg', u'textureid': 2793}
{u'cachedurl': u'3/33f7f870.jpg', u'url': u'smb://10.0.1.120:445/Sohrab15/TV Showz 15/The X-Files/poster.jpg', u'textureid': 1371}
Need to cache: [ fanart ] for tvshow: The X-Files
Need to cache: [ poster ] for tvshow: The X-Files
Need to cache: [ banner ] for tvshow: The X-Files
(2017-05-08, 21:34)Milhouse Wrote:(2017-05-08, 13:47)johnnychicago Wrote: On running the "missing" function, texturecache flashes these 'Loading TV show: xyz, season 8...' type of messages. When called from cron, it seems like these messages all go into the cron email, clogging up the actually wanted output of the script (the list with missing files). Is there a way to force texturecache to a terse output mode where this is just not printed to the console?
Anything you don't want to go into the cron email you need to redirect to /dev/null. The "Loading TV show" messages are being output to stderr (file handle 2) so add "2>/dev/null" to the end of your cron commands.
Quote:Yes, the "missing" option needs to be a bit smarter with DVD folders. For now you could just ignore these files by piping the output through "grep -v "/VIDEO_TS/""
Quote:(2017-05-08, 13:47)johnnychicago Wrote: Lastly, I seem to have trouble generating nfo files for Movies that cannot be found by the scraper. Rather unrelated to texturecache, but if there's a good command line program to generate simple nfo's that kodi will scan, I'd love to hear about that.
I'm not aware of one, sorry.
(2017-05-09, 08:57)johnnychicago Wrote: Just realized as well that once one adds an nfo file, one has to touch the move file to make vscan pick it up the next time.
(2017-05-08, 22:11)Milhouse Wrote: Again this looks normal - if the artwork isn't correctly cached for X-Files please send a logfile.
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
File "./texturecache.py", line 1097, in run
if not self.loadImage(item) and not item.missingOK:
File "./texturecache.py", line 1177, in loadImage
(url, rowexists) = self.geturl(item)
File "./texturecache.py", line 1116, in geturl
url = self.json.getDownloadURL(item.filename)
File "./texturecache.py", line 2759, in getDownloadURL
data = self.sendJSON(REQUEST, "preparedl")
File "./texturecache.py", line 2220, in sendJSON
return self.sendWeb("POST", "/jsonrpc", id, request, {"Content-Type": "application/json"}, timeout=timeout)
File "./texturecache.py", line 2154, in sendWeb
web.request(request_type, url, sdata, headers)
File "/usr/lib/python2.7/httplib.py", line 1042, in request
File "/usr/lib/python2.7/httplib.py", line 1082, in _send_request
File "/usr/lib/python2.7/httplib.py", line 1038, in endheaders
File "/usr/lib/python2.7/httplib.py", line 882, in _send_output
File "/usr/lib/python2.7/httplib.py", line 844, in send
File "/usr/lib/python2.7/httplib.py", line 821, in connect
File "/usr/lib/python2.7/socket.py", line 575, in create_connection
error: [Errno 111] Connection refused