Author Topic: Cloud intergration  (Read 8888 times)

klovell

  • Guru
  • ****
  • Posts: 205
    • View Profile
Cloud intergration
« on: July 06, 2012, 11:07:13 pm »
Hello,

First, this is a real post, I’m NOT a bot!  Although that's exactly what a bot would say...

I did a very quick search and nothing came up so I'm posting.  I'm just sharing a open source software that I just come across that you all will LOVE! Owncloud!! I have it running in a VM and as a linuxMCE/Dianemo user this would make a perfect integration into LinuxMCE or Dianemo.  It's probably something that should make it onto a feature list for a future release.  LinuxMCE and Dianemo both already (as far as I know) have all the minimum requirements to run it so just download, extract it to the www folder and configure it.  In theory it should live and integrate just fine into LinuxMCE/Dianemo.  To really make it sexy, you should modify the code of Owncloud or MCE so they use the same data structure.  As a user of both systems I don't see why you couldn't just use symlinks for the OWNcloud data directory to get the job done.  Also since both systems will be using the same database and owncloud is PHP based it should be really easy to intergrate the user setup process into MCE (providing you know PHP... I couldn't do it).

I'm not looking for help implementing this, I already have a rock solid stable owncloud system and I'm not going to mess with it.  I've been using it for a few months now and from day one I thought this would be an awesome addition to MCE, Every day I believe more and more that this as feature you all absolutely will want!!

Once you check out the feature list and/or take owncloud for a spin I know you'll love it and agree so have fun.  Google owncloud for more information.  I do not work for or represent owncloud. I use it, I use linuxMCE and Dianemo, and I see an untapped potential.


JaseP

  • Addicted
  • *
  • Posts: 526
    • View Profile
    • JaseP's LinuxMCE Wiki User page
Re: Cloud intergration
« Reply #1 on: July 07, 2012, 12:09:05 am »
It shouldn't be hard to create a LinuxMCE software device for this, that launches a web browser instance for this. It's a web-app compatible software package. I don't even think you'd need to integrate the databases, just give Owncloud the proper permissions to access/alter files, and switch it over to using LinuxMCE's player devices instead of Owncloud's default ones...

This really does something a bit different from LinuxMCE. It's more a personal file storage system than anything more along the lines of what LinuxMCE does. It's kinda like a personal Google Drive, more than anything else. Yes, there are areas where LinuxMCE could benefit from its features, but more as a plugin to the normal LinuxMCE use case, than any kind of major re-work any merger might require.
See my User page on the LinuxMCE Wiki for a description of my system configuration (click the little globe under my profile pic).

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Cloud intergration
« Reply #2 on: July 07, 2012, 01:02:02 am »
Cool. code it. We'll help with support.

-Thom

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Cloud intergration
« Reply #3 on: July 07, 2012, 01:08:13 am »
and I do mean that in the most pragmatic way possible... A lot of us devs are strapped for time as we work on different parts of the system...

BUT, we will bend over backwards to answer intelligent questions about the system, and its inner workings.

Those who have done development work know that I am true to my word here, I bend over backwards for those who help.

So...

Figure out how far you want to integrate this in,
do the research as to what would need to be done to make it happen OUTSIDE of LinuxMCE,
then, talk to US and we'll tell you how to make it PART of LinuxMCE.

This is the most efficient way to get new features in that we want.

-Thom

JaseP

  • Addicted
  • *
  • Posts: 526
    • View Profile
    • JaseP's LinuxMCE Wiki User page
Re: Cloud intergration
« Reply #4 on: July 07, 2012, 01:57:54 am »
I'll take a look at Owncloud,... I was going to look into setting up very basic integration with Google+ services, like mail and Google Talk/Voice, eventually anyway,... and the kind of thing I responded to klovell about is only one extra layer of stuff...

Basically, I want to explore having the system eventually be able to do some things like push driving directions to a phone or tablet based on a scheduled event, or reach out and send reminders via email or SMS... That's a long way off... But playing with Owncloud is a step in that direction.

For now, I'll just look at getting it to run on the core and seeing if I can use a lightweight browser, like Midori, to launch into the web client of the thing from a LinuxMCE menu item... That'll be a decent start. Hopefully, it's SQL backend is compatible with the version running on LinuxMCE 10.04.
See my User page on the LinuxMCE Wiki for a description of my system configuration (click the little globe under my profile pic).

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Cloud intergration
« Reply #5 on: July 07, 2012, 02:08:21 am »
We do have a DCE_Browser in the source tree that needs to be finished. This is a web browser with no UI intended to be used by Orbiter.

-Thom

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1193
  • hrumpf!
    • View Profile
    • Mah Website
Re: Cloud intergration
« Reply #6 on: July 07, 2012, 02:12:45 am »
We do have a DCE_Browser in the source tree that needs to be finished. This is a web browser with no UI intended to be used by Orbiter.

-Thom

speaking of which, who do i have to %(#! to get a screen made for it. Thats literally what the hold up is at the moment. Im happy to do the rest of the work, but i think all devs here are well aware of how sqlcvs and i get along.

Cloud integration sounds cool. as thom said, people who ask get answers. I think he gave me a semester of c++ training in #dev when i started qOrbiter.
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Cloud intergration
« Reply #7 on: July 07, 2012, 02:15:09 am »
Oh yes, and the DCE_Browser uses WebKit...

-Thom

JaseP

  • Addicted
  • *
  • Posts: 526
    • View Profile
    • JaseP's LinuxMCE Wiki User page
Re: Cloud intergration
« Reply #8 on: July 07, 2012, 02:33:56 am »
We do have a DCE_Browser in the source tree that needs to be finished. This is a web browser with no UI intended to be used by Orbiter.

-Thom

Thanks, but the no UI part scares me a little,... especially if Owncloudnturns out to have not "exit" function. And I really loathe the on-screen keyboard and 10-foot UI exit buttons... No offense to whomever originally coded them or anything, but they're fugly.
See my User page on the LinuxMCE Wiki for a description of my system configuration (click the little globe under my profile pic).

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Cloud intergration
« Reply #9 on: July 07, 2012, 06:09:20 am »
Sometimes I seriously want to throttle you. :)

The reason there is no UI is because ORBITER would provide the UI.

Seriously, when are you guys going to STOP using duct tape and ACTUALLY LEARN HOW TO MAKE PROPER NEW FEATURES FOR THE SYSTEM? I'm getting very tired of this half assed shit.

For myself, I put in the time to study how this system actually works and why, because I wanted to add features to it, instead of gabbing on about "oh wouldn't it be cool if this were...", and so did golgoj4.

Here's the difference, he put in the work, and asked me questions, I answered them, he learned, and now, he is single handedly writing a replacement for Orbiter roughly 1 year later. JUST THINK OF WHAT YOU COULD ACTUALLY DO, IF YOU FUCKING DID IT, INSTEAD OF TALKING ABOUT DOING IT!!!!!!!!!

or l3top, who has done more plumbing work to make this system easy to install than just about anyone else in the last four years in the last 6 months alone! why is it this way? BECAUSE HE GOT TIRED OF JUST TALKING ABOUT IT AND FUCKING DID IT!

STOP JUST TALKING AND ACTUALLY DO IT!

oh? and you think the on screen keyboard is fugly? fine. ok. SO FIX IT. EITHER DO SOMETHING OR JUST GO THE FUCK AWAY!

-Thom
« Last Edit: July 07, 2012, 06:19:56 am by tschak909 »

klovell

  • Guru
  • ****
  • Posts: 205
    • View Profile
Re: Cloud intergration
« Reply #10 on: July 07, 2012, 06:46:06 am »
For this entire post MCE refers to LinuxMCE/Dianemo.

I guess you can integrate Owncloud however you want but I had a different idea in mind.  Since MCE provides all users with a “stomping ground” for all types of data for use inside the house and Owncloud provides users with a “stomping ground” for all types of data remotely, to me it made sense to combine the two.  The other day I was at the playground with my son and he was being extra cute so I started to record him with my phone.  My phone automatically uploaded the video to owncloud while I was recording it.  I then used my droid orbiter to play the video for my wife on the living room TV while I was still at the playground.  I don’t care who you are that right there is cool shit.  When I download music from google play to my phone it’s automatically, in real time, available for me to play in any room of my house.   

To add more to this I also use subsonic, Another application that should be integrated into MCE.  100% doable, and there is an app in owncloud for subsonic so you can use subsonic from owncloud.  Basically any movie (have to donate to stream video) or song I can play in MCE I can stream to my phone or to any pc (inside or outside the house).  That’s the type of integration I’m talking about. 
MCE allows you to interact with multiple systems in the home from one location (any orbiter).  Owncloud wraps up all your web services into one package.  The attached screen shot is what our owncloud looks like.  Between owncloud and subsonic I can’t tell you enough how well it completes my system.  I love my system and I personally like that it’s on a separate physical box than MCE so I can take down one without affecting the other.  For these reasons I personally wouldn’t use it on MCE even if it was integrated so I have no way to help dev or test.  Not to be a jerk but I don’t need it integrated into MCE but I’m confident that you all will want it integrated into MCE.  I really hope someone can grab this and run with it, trust me guys, MCE needs this! 


klovell

  • Guru
  • ****
  • Posts: 205
    • View Profile
Re: Cloud intergration
« Reply #11 on: July 07, 2012, 06:51:24 am »
It would be very easy to use Owncloud alongside MCE but I think it should be integrated.  If you want to test it I would suggest using SQLlite vs mysql for Owncloud.  This way you’re not playing around with the MCE database and incase MCE doesn’t use 5.x which is the minimum version required you’re covered.    Also, I’m not sure about the new version of Owncloud but the second to last release has a bug where if you manually add files and folders to the user data folder without using owncloud it caused problems displaying data on the web.  SQLite doesn’t have that problem.

So:
Get Sqlite on your core.

Extract owncloud to the www dir, set the permissions as per the owncloud website.

When you access the site for the first time select SQlite and use the same MCE user folders as the data folder.  This is where symlinks come in.  From my understanding of MCE, you’ll have to create a “oc-data” folder (literally just made that name up, call it whatever you want), in that folder you’ll see all the folders for your MCE users.  You’ll have to use the names folders and not the user_1 folder.

When you create your owncloud users make sure the names are exactly the same as MCE users.   Both MCE and owncloud name the users data folders the same so it’s easy to trick both systems to use the same folder.  Owncloud doesn’t “manage” the data the way MCE does so you shouldn’t run into corruption issues (I haven’t).

Do yourself a favor, don't be cheap, spend the $69 per year and get an SSL cert.  If that's a bank breaker you probably shouldn't be worried about home automation anyway. 

davegravy

  • Addicted
  • *
  • Posts: 551
    • View Profile
Re: Cloud intergration
« Reply #12 on: July 07, 2012, 06:55:00 am »
Off-topic, but I just want to know if the censored word in your image is "porn" or "sperm"

klovell

  • Guru
  • ****
  • Posts: 205
    • View Profile
Re: Cloud intergration
« Reply #13 on: July 07, 2012, 07:04:36 am »
Off-topic, but I just want to know if the censored word in your image is "porn" or "sperm"

HAHA, It's the name of my financial institution, but let's go with porn.  ;D

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Cloud intergration
« Reply #14 on: July 07, 2012, 07:10:03 am »
Seriously, are none of you listening to what I'm saying?

LOOK AT OUR EXISTING ARCHITECTURE, UNDERSTAND IT, THEN EXTEND IT TO FIT THE FEATURES WANTED, INSTEAD OF DUCT TAPING OVER THEM!

-Thom