Addon self update

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Shchvova Offline
Junior Member
Posts: 10
Joined: Jan 2011
Reputation: 0
Post: #11
Cheers. I think this topick would be usefull for folks. Thanks!
find quote
Shchvova Offline
Junior Member
Posts: 10
Joined: Jan 2011
Reputation: 0
Post: #12
Cheers!

So, add-on can be repository to it's own. Self Auto-Update Achieved =)
/sorry for flood, my browser does strange things, did not show prev. message/
find quote
solexalex Offline
Skilled Python Coder
Posts: 706
Joined: Jul 2004
Reputation: 6
Post: #13
hello

Looks interesting but I'm not sure to understand very well.

Can you give the full howto to make an addon self updatable ? Or maybe we just have to set the addon.xml like you did ?
You talked about "Name entry points different" but I'm not sure to understand what need to be different exactly.

(Sorry but as english is not my native language, sometimes i'm not sure to understant correctly !)
find quote
Shchvova Offline
Junior Member
Posts: 10
Joined: Jan 2011
Reputation: 0
Post: #14
I did provide my plugin with everything - http://code.google.com/p/xbmc-vk-repo/so.../test_test

Actually, you should not install plugin and repository, they are in one box. Name differently:
"name" xml property should be different for xbmc.addon.repository, otherwise, it is really working wired.

BTW. I do not have time to test it, it would be really cool if you share your experience.
find quote
solexalex Offline
Skilled Python Coder
Posts: 706
Joined: Jul 2004
Reputation: 6
Post: #15
Sorry I may be tired I don't understand... Will have a look tomorrow
find quote
anarchintosh Offline
Fan
Posts: 550
Joined: Jul 2010
Reputation: 4
Post: #16
if i understand shchvova correctly, i think he means, just add a repository extension point to your addon's addon.xml:

PHP Code:
<extension point="xbmc.addon.repository" name="VK XBMC Add-ons">
                <
info compressed="false">http://xbmc-vk-repo.googlecode.com/svn/trunk/test_test/addons.xml</info>
                
<checksum>http://xbmc-vk-repo.googlecode.com/svn/trunk/test_test/addons.xml.md5</checksum>
                
<datadir zip="false">http://xbmc-vk-repo.googlecode.com/svn/trunk/test_test/</datadir>
        
</extension

crucially don't set the repository name to the same as the addon's name.
obviously you need to have a repository correctly configured for it to work.

i haven't tested this.
find quote
Post Reply