First I want to say your script is great.
The process works just fine but it cannot connect to the xbmc server on my raspberry pi to notify it to rescan.
Here is the command I use : --def xbmc=192.168.1.31
I tried these commands too but they do not work neither :Notify XBMC: 192.168.1.31
java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect
--def xbmc=192.168.1.31:9090
--def xbmc=raspbmc
...
I also tried with my firewalls deactivated but still nothing
Thanks for your help !