Forum

Full Version: SSH install from zip?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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)
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
(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.
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
Reference URL's