Page 1 of 2

config path to point to video files in Linux CLI

PostPosted: Thu May 15, 2014 9:26 pm
by sirkit
I am running arch Linux with Serviio 1.4.1.2 everything is running ok and I can see the folders on my TV, but ny video file are store in /datafolder/ and I need to configure this, therefore I need to find the serviio.conf file but I don't have one, also because my arch Linux is just command Line interface, can any body please help me to configure the path

Re: config path to point to video files in Linux CLI

PostPosted: Fri May 23, 2014 4:31 pm
by zip
run a remote Console setup (see the FAQ)

Re: config path to point to video files in Linux CLI

PostPosted: Sun May 25, 2014 2:24 pm
by sirkit
ok will do I will view FAQ

Re: config path to point to video files in Linux CLI

PostPosted: Sun May 25, 2014 4:11 pm
by sirkit
Hi Zip,
I have spent sometime today searching FAQ on remote console and "web console" no results found on web console, I don't think there is any simple instructions in FAQ on how to setup remote console using Linux CLI only, is there a file I get edit and just point to where my video file are, or am I missing the understanding of this, many thanks for your support.

Re: config path to point to video files in Linux CLI

PostPosted: Sun May 25, 2014 4:22 pm
by will
sirkit wrote:Hi Zip,
I have spent sometime today searching FAQ on remote console and "web console" no results found on web console, I don't think there is any simple instructions in FAQ on how to setup remote console using Linux CLI only, is there a file I get edit and just point to where my video file are, or am I missing the understanding of this, many thanks for your support.


Under the configuration part of the FAQ http://www.serviio.org/component/conten ... e?id=21#q2

You install the Serviio console on another machine which isn't headless and then edit the file to point the console at your headless server.

There is also a third part web console, as well as Android/Windows Phone apps, under the third party development section of the forum.

Re: config path to point to video files in Linux CLI

PostPosted: Sun May 25, 2014 5:36 pm
by sirkit
thanks will but I don't have another Linux machine, I have the current machine,an old PC with Arch Linux running serviio 1.4.1.2 which works fine I can see the folders on the TV but there just empty as its pointing to the wrong place, and my win7 DELL laptop, so I may have miss understood, I will have a look at the 3rd party you suggested, thank you foryour help.

Re: config path to point to video files in Linux CLI

PostPosted: Sun May 25, 2014 5:46 pm
by sirkit
hi Guys,
on my Linux box in the serviio-console
JAVA_OPTS="-Dserviio.remoteHost=192.168.0.8 -Dserviio.home=$SERVIIO_CONSOLE_HOME -Djava.net.preferIPv4Stack=true"

my video file are store on 1TB hard drive the path is /data500/

can I just change Dserviio.home=/data500
or am I complety lost

Re: config path to point to video files in Linux CLI

PostPosted: Sun May 25, 2014 6:15 pm
by will
Download Serviio on your PC, and during the installation choose to only install the console. After installation, follow the FAQ instructions to point the console on your windows pc at the server running on your linux box.

Re: config path to point to video files in Linux CLI

PostPosted: Mon May 26, 2014 6:57 pm
by sirkit
thanks Will something weird is going when I try to download it saves the file as
serviio-1.4.1.2-win-setup.1399580096

instead of exe

Re: config path to point to video files in Linux CLI

PostPosted: Mon May 26, 2014 11:51 pm
by sirkit
I have installed the console only on windows laptop, but configuring it is not explained clearly in FAQ
below is the line from serviio.sh on the Linux box
JAVA_OPTS="-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dderby.system.home=$SERVIIO_HOME/library -Dserviio.home=$SERVIIO_HOME"

and below is the line from serviio-console.sh on the Linux box

JAVA_OPTS="-Dserviio.remoteHost=192.168.0.8 -Dserviio.home=$SERVIIO_CONSOLE_HOME -Djava.net.preferIPv4Stack=true"

when I try and open the console on the windowsPC, I get the error message box, can not connect to serviio server,it does not seem to be running. existing..

I think something needs configureing on the windows side
or I could be completely wrong as I can't see the wood for the tree, please please help, I want to learn and pass on just like you do and support serviio, miniDLNA works no problem but Serviio is better

Re: config path to point to video files in Linux CLI

PostPosted: Tue May 27, 2014 7:02 am
by will
You don't need to change anything on the server side so leave the linux scripts/config files as they were.

On windows edit C:\Program Files\Serviio\bin\ServiioConsole.exe.vmoptions so that it contains

  Code:
-Dserviio.remoteHost=192.168.0.8


That will tell the console running on windows to connect to a server at that ip address.

Re: config path to point to video files in Linux CLI

PostPosted: Tue May 27, 2014 9:36 pm
by sirkit
That's what i'm talking about U Da MAN, thanks,

once connected i put the path in and clicked on status, and i could see it adding my movies, but for some reason now my TV is not seeing serviio not sure why as everything is running, any ideas i will keep looking myself and let you know, once again many thanks

Re: config path to point to video files in Linux CLI

PostPosted: Sun Jun 01, 2014 10:52 pm
by sirkit
ok its working, but I still don't understand, what file has been configured on the Linux box to point to \data500 and one last thing please how do I config the Linux box to auto update the libray

Re: config path to point to video files in Linux CLI

PostPosted: Mon Jun 02, 2014 10:39 pm
by zip
It's not a file, it uses SQL database to keep all its config

Re: config path to point to video files in Linux CLI

PostPosted: Tue Jun 03, 2014 8:20 pm
by sirkit
Where is the database kept please is it something I can open with SQL and edit, or is the database locked, I am not a SQL expert but I know a bit just because my college who sits across from me at work is the database engineer, I take it the library is auto updated is this correct, Many Thanks for your help

Re: config path to point to video files in Linux CLI

PostPosted: Wed Jun 04, 2014 2:50 pm
by zip
Why do you need to change the DB? You can change everything using this REST API: http://docs.serviio.apiary.io/

Re: config path to point to video files in Linux CLI

PostPosted: Fri Jun 13, 2014 7:50 pm
by sirkit
ok I have been away with no wifi NIGHTMARE, thank for the rest API I had a quick look, as my serviio box is CLI only not sure where to start but let me give it ago, many thanks for your advise

Re: config path to point to video files in Linux CLI

PostPosted: Fri Jun 13, 2014 8:34 pm
by sirkit
Sorry zip, I can not install restAPI so how do I get it to work please

Re: config path to point to video files in Linux CLI

PostPosted: Fri Jun 13, 2014 9:55 pm
by will
What exactly are you trying to do? You can control everything by installing the console on your PC and pointing it at your server.

Re: config path to point to video files in Linux CLI

PostPosted: Tue Jun 17, 2014 11:32 pm
by sirkit
I was hoping I could just control everything using just one PC using CLI which is the PC running arch Linux and serviio, I think serviio is fanstastic because I am running it on a old intel P4 1.5 with 256RAM 1TB hard drive with all my videos on it, because its slow any OS with gui is not worth running even puppy is slow but using CLI it does the job