2008-09-23, 01:13
Is it possible to load/reload a list without adding history to it? Basically I want:
1) Load a list containing x items
2)On clicking an item be shown some actions
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
1) Load a list containing x items
2)On clicking an item be shown some actions
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