sw1tch
2008-09-23, 02:13
Is it possible to load/reload a list without adding history to it? Basically I want:
1) Load a list containing x items
http://img228.imageshack.us/img228/5950/screen1al9.png
2)On clicking an item be shown some actions
http://img204.imageshack.us/img204/3753/screen2sf7.png
3) Upon pressing the action reload the original list.
I've tried having #3 load the plugin (Using RunScript()) with the correct arguments and use the previous handle (from #1), but that does not work due to an 'invalid handle' (I'm probably misunderstanding the purpose of the handle).
What I'm most concerned about is not adding history to the view, so doing 4 deletes would not mean I would need to go back 4 times to get to the main screen.
Can anyone help? If you need code you can see item_list.py and sabnzbd_add.py here (http://sabnzbd.org/switch/misc/SABnzbd-XBMC-Plugin-1.3a.zip)
1) Load a list containing x items
http://img228.imageshack.us/img228/5950/screen1al9.png
2)On clicking an item be shown some actions
http://img204.imageshack.us/img204/3753/screen2sf7.png
3) Upon pressing the action reload the original list.
I've tried having #3 load the plugin (Using RunScript()) with the correct arguments and use the previous handle (from #1), but that does not work due to an 'invalid handle' (I'm probably misunderstanding the purpose of the handle).
What I'm most concerned about is not adding history to the view, so doing 4 deletes would not mean I would need to go back 4 times to get to the main screen.
Can anyone help? If you need code you can see item_list.py and sabnzbd_add.py here (http://sabnzbd.org/switch/misc/SABnzbd-XBMC-Plugin-1.3a.zip)