Forum
SSH install from zip? - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Additional Packages (/forum-22.html)
+--- Thread: SSH install from zip? (/thread-1111.html)



SSH install from zip? - Skywatch - 14th Jul, 2013 08:11 PM

Hi,

I was just wondering if it was possible to do an XBMC 'install from zip' via SSH?

I have to update a plugin on a headless pi.

Cheers,

Skywatch


RE: SSH install from zip? - Fred - 14th Jul, 2013 09:27 PM

If the file is online somewhere you can download it to your pi using wget and the file location.

Code:
wget http://x.x.x/somefile.zip

To transfer from pc to rpi you could use scp (winscp for windows)


RE: SSH install from zip? - Skywatch - 16th Jul, 2013 03:56 AM

Thanks Fred for the reply.

I was wanting to update an addon within XBMC, not install into the nix. I don't think it's possible from ssh to do this now.

Looks like I will have to move the pi each month to do updates to XBMC plugins. Not a big issue, but a bit inconvenient.

Skywatch


RE: SSH install from zip? - mk01 - 16th Jul, 2013 04:39 AM

(16th Jul, 2013 03:56 AM)Skywatch Wrote:  Thanks Fred for the reply.

I was wanting to update an addon within XBMC, not install into the nix. I don't think it's possible from ssh to do this now.

Looks like I will have to move the pi each month to do updates to XBMC plugins. Not a big issue, but a bit inconvenient.

Skywatch

actually, it is possible, although not as a afeature.

create the simplest repository for the zip package. it's simple .xml file, look into any repo installed at ~/addons/repositoryXXXXXXX/addon.xml. most of the tags is just info text.

one tag is important, it's <datadir zip="true"></datadir>.

usually, there is http:// address, which points to simple directory listing. you can use local folder.

more info at http://wiki.xbmc.org/index.php?title=Add-on_repositories

then, each time you put new zip into the dir xbmc will install (just set autoupdates to on)

don't try to replace .zip and add-on/dir/files directly, without db update at Database/Addons.db xbmc will make undefinable things, probably loops of errors etc.


RE: SSH install from zip? - Skywatch - 18th Jul, 2013 09:30 PM

Thanks so much for that info, I am sure that there are others who would benefit from this!

I will need to be a little more confident with linux before I try this, but by the end of next month I will give this a go!

Once again, thanks for all your help! ;-)

Skywatch