Try Container.Update instead of Container.Refresh - by default Container.Update does not reset the browsing history (you can pass the replace parameter to do that, whereby it's identical to Container.Refresh)
Cheers,
Jonathan
jmarshall
Team-XBMC Developer Posts: 24,520 Joined: Oct 2003 Reputation: 138 |
2010-09-08 23:24
Post: #11
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. ![]() |
| find quote |
HenrikDK
Skilled Python Coder Posts: 538 Joined: Jul 2007 Reputation: 17 |
2010-09-09 19:18
Post: #12
jmarshall Wrote:Try Container.Update instead of Container.Refresh - by default Container.Update does not reset the browsing history (you can pass the replace parameter to do that, whereby it's identical to Container.Refresh) Great it works just what we wanted, thanks a million ![]() And just for others trying to replicate the functionality, we now call: Code: cm.append( ( self.__language__( 30507 ), "XBMC.Container.Update(%s?path=%s&action=search&search=%s)" % ( sys.argv[0], get("path"), urllib.quote_plus( url_title ) ) ) )Resulting in the generation of a new folder listing with the search results, and allowing the user to continue their browsing by pressing the back button..
(This post was last modified: 2010-09-09 19:25 by HenrikDK.)
|
| find quote |
spiff
Grumpy Bastard Developer Joined: Nov 2003 Reputation: 81 |
2010-09-10 16:47
Post: #13
brilliant. now you can use this to add a 'more videos from xxxx' feature, something i'm really missing from the old add-on
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. |
| find quote |
Popeye
Posting Freak Joined: Aug 2009 Reputation: 25 Location: Sweden |
2012-02-02 02:09
Post: #14
This is great. Spent 2 hours going crazy about "XFILE::CPluginDirectory::AddItem - called with an invalid handle."
|
| find quote |

![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)

Search
Help