How tell XBMC to move up a Folder?
#1
The titel is the question Smile How can I tell XBMC to move one or more folders up?

My structure is like this:

recordings
- name
- play
- delete

Where recordings and "Name" a virtual folders and play and delete are file items. If I now select delete, the plugin is called with a special url and the recording is deleted. Now, as the recording is deleted and can not be played anymore, I have to go up two dirs to the recording directory and refresh that.

Does anyone know hot to do that?

Thanks,
Jack
Reply
#2
Doing so could be rather problematic. You could try feeding it the parentfolder action a couple of times, or alternatively as you are in a plugin, you could make those items directories that do the deletion then return the parent folder perhaps? Might screw up the navigation though - not sure.
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
#3
How can I feed the action? I already tried it with directory items and I end up in the correct view, but it completly breaks navigation as I will only move further down the folder tree.
Reply
#4
in the endOfDirectory() call try updateListing=True.

check my signature for links to pydocs
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#5
That almost did the trick, but I'm still one folder to deep Sad
Maybe I try a select dialog instead of a subdirectory.
Reply

Logout Mark Read Team Forum Stats Members Help
How tell XBMC to move up a Folder?0