2013-08-20, 23:23
Not sure if anybody finds this useful but I tend to use it every once in a while so here goes:
Situation: You've got a file you need to repair because some rar files are incomplete but you don't want to leave your library in xbmc. Or you may just want to shortly download something via your phone/tablet and play right afterwards because something went wrong with the strm file in your library.
Solution: Create a new sabnzbd category (post processing +delete), add this post download script, make sure to change IP/Port to fit your situation.
Now make that category the default in the pneumatic addon, and voila when you press repair from inside xbmc it will download/extract/delete and after that autoplay the resulting file. (You can also use that category from within the sab web interface if you want to autoplay)
Situation: You've got a file you need to repair because some rar files are incomplete but you don't want to leave your library in xbmc. Or you may just want to shortly download something via your phone/tablet and play right afterwards because something went wrong with the strm file in your library.
Solution: Create a new sabnzbd category (post processing +delete), add this post download script, make sure to change IP/Port to fit your situation.
Code:
#!/bin/bash
echo 'wget http://192.168.22.15:8050/jsonrpc?request={\"jsonrpc\":\"2.0\",\"id\":\"1\",\"method\":\"Player.Open\",\"params\":{\"item\":{\"directory\":\"show\"}}}' | sed 's_show_'"$1"'_g' | sh
Now make that category the default in the pneumatic addon, and voila when you press repair from inside xbmc it will download/extract/delete and after that autoplay the resulting file. (You can also use that category from within the sab web interface if you want to autoplay)