User Tools

Site Tools


lmce_owncloud

This is an old revision of the document!


LinuxMCE ownCloud automatic Setup + Authentication

This is about to install ownCloud on LinuxMCE and authenticate against pluto_main database!
  1. Download the script: owncloud_setup.sh
  2. make it executable: chmod +x owncloud_setup.sh
  3. run it ./owncloud_setup.sh
  4. When finished owncloud will be located in “/var/www/userspace/”. Setup happens automatically
  5. Download and unzip user_lmce.zip. Move the folder to “/var/www/userspace/apps/”

:!: On the first run ownCloud will setup the database and admin user.

Default admin is:

Username: linuxmce
Password: linuxmce

The script

wget http://svn.linuxmce.org/svn/people/ochorocho/owncloud/owncloud_setup.sh

The Auth app

Basically a modification of usr_sql app by Andreas Böhler

LinuxMCE auth app

vlc -vvv file:///mnt/device/61/sadasdasd.avi --sout="#transcode{vcodec=theo, vb=800, acodec=vorb, ab=128, scale=1, audio-sync, width=480, height=320}:std{access=http, mux=ogg, dst='192.168.1.210:9080/streaming/test/106.ogg' }"

Useful commands for app development

PHP

Translate in Template

<?php echo $l->t('Channel manager'); ?>

Javascript

Translate:

t('appname','text to translate');

Select a File:

OC.dialogs.filepicker('test', function(val) {console.log(val)}, true, null, true);

AJAX URL:

OC.filePath('lmce_vdr','ajax','moveChannel.php'),

CSS

Get file app folder using %appswebroot%:

#someId {
  background:url(%appswebroot%/lmce_vdr/img/textfield-rename.png)
}
lmce_owncloud.1402349054.txt.gz · Last modified: 2014/06/09 21:24 by admin