Doing work in the background?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
alshain Offline
Senior Member
Posts: 145
Joined: Jul 2010
Reputation: 3
Post: #1
I scan a site for videos and I need to do multiple requests for each video to get the necessary information in order to be able to play it and display information.

To reduce the loading time, I would like to be able to gather information about the movies, such as "Plot", in the background, after the virtual directory structure has been established.

However, I am not sure how XBMC's plugin architecture works. I presume it loads the items directly into non-python memory, thereby destroying the relationship between my actual node and the pyton ListItem object.

Is it possible to add information to a node after it has been "submitted" to XBMC from the plugin? (i.e. after endofdirectory())
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,186
Joined: Nov 2003
Reputation: 82
Post: #2
nope.

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
alshain Offline
Senior Member
Posts: 145
Joined: Jul 2010
Reputation: 3
Post: #3
hmm too bad. Thanks for the information.

Is there any place with more information about the plugin architecture in general? I find that the HOW-TOs are more of a "we want to do that, here's the code" and not really much of an explanation of how the things work together.

For instance, I have been struggling to get my covers downloaded, until I noticed that it gets cached depending on the path or url (or at least so I believe) so I have been trying for hours to get my thumbnails working...
find quote