2015-04-22, 23:26
(2015-04-22, 18:53)fantasticn Wrote: thank you very much for your reply and for revising your great tool. Unfortunately I was not able to trigger a popup message with a custom picture. I tried "smb://.../picture.jpg" as well as "nfs://../picture.jpg" (for I also have haneWIN NFS Server running on my Windows-Server), but with no success. The messages went through but they always showed up without any icon at all.
Strange, as this is working fine for me - maybe some sort of permission problem? If you enable debug logging in Kodi, do you see any NFS requests to access the image file?
This is me accessing a non-existent poster image:
Code:
./texturecache.py notify msg title 1500 "nfs://192.168.0.3/mnt/share/media/Video/MoviesHD/Zombieland (2009)[BDRip]-posterX.jpg"
...
22:22:32 4223.093262 T:1754473536 DEBUG: JSONRPC Server: New connection detected
22:22:32 4223.093262 T:1754473536 INFO: JSONRPC Server: New connection added
22:22:32 4223.109375 T:1754473536 INFO: JSONRPC Server: Disconnection detected
22:22:32 4223.109863 T:1754473536 DEBUG: JSONRPC Server: New connection detected
22:22:32 4223.109863 T:1754473536 INFO: JSONRPC Server: New connection added
22:22:32 4223.110352 T:1754473536 DEBUG: JSONRPC: Value does not match any of the enum values in type
22:22:32 4223.110840 T:1754473536 INFO: JSONRPC Server: Disconnection detected
22:22:32 4223.147949 T:1968001024 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
22:22:32 4223.148438 T:1947202624 NOTICE: CAESinkPi:AddPackets Underrun (delay:0.00 frames:2205)
22:22:32 4223.152832 T:1673331776 NOTICE: Thread JobWorker start, auto delete: true
22:22:32 4223.159180 T:1673331776 ERROR: NFS: Failed to stat(mnt/share/media/Video/MoviesHD/Zombieland (2009)[BDRip]-posterX.jpg) stat call failed with "NFS: Lookup of /media/Video/MoviesHD/Zombieland (2009)[BDRip]-posterX.jpg failed with NFS3ERR_NOENT(-2)"
22:22:32 4223.159668 T:1673331776 DEBUG: GetImageHash - unable to stat url nfs://192.168.0.3/mnt/share/media/Video/MoviesHD/Zombieland (2009)[BDRip]-posterX.jpg
22:22:34 4225.020020 T:1968001024 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
so you should see something in your log which may give a clue why Kodi can't access the file, and maybe even allow you to fix that problem.
(2015-04-22, 18:53)fantasticn Wrote: However, I am pretty fine with the "warning" and "info" options since they at least offer kind of a "neutral" image. Without those options the message always displays the image of the last pop message (e.g. the image of an addon that was updated and the update message had been shown with its logo). That is quiet random. Therefore I would suggest implementing the "info"-option as the default selection when no other parameter is given.
Yes, this particular behaviour is known.