2014-02-14, 20:37
(2014-02-14, 20:15)darrepac Wrote: Yep but I log using putty/ssh and run texturecache in the command line in foreground, then when putty will disconnect (it happens after some hours, or my PC will go in sleep mode), the process will be killed (unless I am wrong?).
Is this how you normally run rbphdmi, from the command line, or is this ssh disconnect occurring only while you are diagnosing this problem?
(2014-02-14, 20:15)darrepac Wrote: What I can do is to redirect the stderr + stdout to a file??
Try:
Code:
./texturecache.py rbphdmi @bin.tvservice=/opt/vc/bin/tvservice @logfile=/home/pi/texturecache.log @debug=yes 1>/home/pi/tcout.log 2>/home/pi/tcerr.log &
the "&" on the end may allow the process to continue running even if your SSH session disconnects.
(2014-02-14, 20:34)queeup Wrote: @MilhouseVH I just found it out this and you did very good job with this script. It's perfect for clean thumb cache and update imdb ratings for my database.
Thank you for your great work.
Glad you like it!
texturecache.py (Version 1.4.6)
- Add: If an unhandled exception occurs and logging is enabled (@logfile), write the exception details to the log file