How do I move back from a listItem?
#1
Question 
I have a special case in a addon I'm making. From a context menu a selected file can be deleted and I call a method deleting the file. The problem is I don't know how to tell xbmc to automagically navigate one step back in the tree just like pressing "back" on the remote?
Anyone got a code snippet to share?
Reply
#2
Move to parent folder is what I'm looking for , just like the ".." list item, if I wasn't clear in the previous post...
Reply
#3
You could send the parent dir action.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#4
Just like I just found out Big Grin , thanks!
I have to sleep for a second to regain control of the UI after a progressDialog
Code:
progressDialog.close()
time.sleep(1)
xbmc.executebuiltin("Action(ParentDir)")

Any way to skip the sleep?
Reply

Logout Mark Read Team Forum Stats Members Help
How do I move back from a listItem?0