FAQ  •  Register  •  Login

Web UI in Ajax (Mobile & desktop edition)

<<

kairoh

DLNA master

Posts: 180

Joined: Sun Aug 08, 2010 10:41 am

Location: France

Post Tue Oct 23, 2012 7:57 pm

Re: Web UI in Ajax (Mobile & desktop edition)

@swehawk : I can't reproduce your problem... I've successfully reinstalled the service on many windows (2k, xp, seven)

@moltra : I'm already using the client id "WEBUI", you may have noticed it in your log.
What I don't understand is how you prevent user from voting 50 times for the same media!

@npuser and @qoolbox : This error seems to be a licence issue, I will try to remove mine to reproduce this ;)
Serviio WebUI console developer : New Homepage | Support | Project | Issues

Samsung UA32C6600 | WinXP / Ubuntu 11.10 | Samsung Galaxy S | Freebox v6
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Tue Oct 23, 2012 8:24 pm

Re: Web UI in Ajax (Mobile & desktop edition)

kairoh wrote:@moltra : I'm already using the client id "WEBUI", you may have noticed it in your log.
What I don't understand is how you prevent user from voting 50 times for the same media!


To vote the user has to log into my site and the vote is keyed to the user. The user can change his vote, but not vote multiple times.
Mark
Beta Tester Group
http://www.serviidb.com Online media resource repository

Netgear EVA2000 | Samsung BD-D5300 | XBOX 360 | Windows 7 | Mint Debian 12 | Raxz Maxx
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

jshg46

Streaming enthusiast

Posts: 47

Joined: Tue Apr 24, 2012 11:57 pm

Post Sun Oct 28, 2012 12:27 am

Re: Web UI in Ajax (Mobile & desktop edition)

Is it any way to password protect the panel?
<<

jshg46

Streaming enthusiast

Posts: 47

Joined: Tue Apr 24, 2012 11:57 pm

Post Sun Oct 28, 2012 4:50 am

Re: Web UI in Ajax (Mobile & desktop edition)

I am having a problem. If I add an rss feed I get an error.


Error: Unable to get value of the property '1': object is null or undefined.

Serviio 1.0.1
<<

anerDev

Streaming enthusiast

Posts: 20

Joined: Fri Jun 29, 2012 1:45 pm

Post Sun Oct 28, 2012 9:03 am

Re: Web UI in Ajax (Mobile & desktop edition)

Hi folks !

When I go to "Library" and add a folder it say:

Error: 'undefined' is not an object (evaluating 'data.accessGroupIds[1]').


Why ?

The folder is /media/hd-dati/download ... "hd-dati" is an external hd and this is the permission

drwxrwxrwx 5 server debian-transmission 4096 ott 24 14:57 download


what's the problem '??
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sun Oct 28, 2012 9:10 am

Re: Web UI in Ajax (Mobile & desktop edition)

anerDev wrote:Hi folks !

When I go to "Library" and add a folder it say:

Error: 'undefined' is not an object (evaluating 'data.accessGroupIds[1]').


Why ?

The folder is /media/hd-dati/download ... "hd-dati" is an external hd and this is the permission

drwxrwxrwx 5 server debian-transmission 4096 ott 24 14:57 download


what's the problem '??


Its a problem with the WebUI. The Pro version of Serviio has access groups for blocking content, the WebUI is expecting that data to always be available but it isn't in the free version. @kairoh is working on a fix for it.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

anerDev

Streaming enthusiast

Posts: 20

Joined: Fri Jun 29, 2012 1:45 pm

Post Sun Oct 28, 2012 9:15 am

Re: Web UI in Ajax (Mobile & desktop edition)

Thank u for the reply !

But, How I add the download folder to the serviio folder ?
There is a manual mode ?

Thank u
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sun Oct 28, 2012 10:03 am

Re: Web UI in Ajax (Mobile & desktop edition)

You will have to use the official console see the FAQ for how to set it up, ServiiDroid, or the PHP webui for now.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

anerDev

Streaming enthusiast

Posts: 20

Joined: Fri Jun 29, 2012 1:45 pm

Post Sun Oct 28, 2012 10:15 am

Re: Web UI in Ajax (Mobile & desktop edition)

Hi,

I have put serviioweb in my apache folder, but when I load the page, the page is all white !

And I have put on terminal this command:

sudo sh /usr/local/bin/serviio/bin/serviio-console.sh


and the results is:

server@server:~$ sudo sh /usr/local/bin/serviio/bin/serviio-console.sh
[sudo] password for server:
server@server:~$


:/
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sun Oct 28, 2012 10:41 am

Re: Web UI in Ajax (Mobile & desktop edition)

Is this a NAS/headless server? If it is, you either have to run a remote X server on you PC if you want ./serviio-console.sh to work, or follow http://www.serviio.org/component/conten ... e?id=21#q2 to install the console on your PC and point it to your server. If your server isn't headless, then you should be able to run ./serviio-console.sh & and it should work, if it doesn't please post the log (in serviio/log).
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

anerDev

Streaming enthusiast

Posts: 20

Joined: Fri Jun 29, 2012 1:45 pm

Post Sun Oct 28, 2012 3:31 pm

Re: Web UI in Ajax (Mobile & desktop edition)

Nope, I use ubuntu server !
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sun Oct 28, 2012 3:32 pm

Re: Web UI in Ajax (Mobile & desktop edition)

No its not headless? In which case, post the log as you should be able to just run the console if you are logged into it with a GUI.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

anerDev

Streaming enthusiast

Posts: 20

Joined: Fri Jun 29, 2012 1:45 pm

Post Sun Oct 28, 2012 3:38 pm

Re: Web UI in Ajax (Mobile & desktop edition)

From: /usr/local/bin/serviio/log
Attachments
serviio.log
(227.23 KiB) Downloaded 741 times
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sun Oct 28, 2012 3:48 pm

Re: Web UI in Ajax (Mobile & desktop edition)

  Code:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
   at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
   at java.awt.Window.<init>(Window.java:477)
   at java.awt.Frame.<init>(Frame.java:419)
   at java.awt.Frame.<init>(Frame.java:384)
   at javax.swing.JFrame.<init>(JFrame.java:174)
   at org.serviio.ui.view.swing.JFrameView.<init>(JFrameView.java:28)
   at org.serviio.ui.view.swing.ServiioFrameView.<init>(ServiioFrameView.java:57)
   at org.serviio.console.ServiioConsole.main(ServiioConsole.java:105)
2012-10-28 16:30:44,773 INFO  [ServiioConsole] Leaving Serviio Console

It doesn't have anything to display the console on.

You said it isn't headless, but how are you connecting to this machine? If locally, are loggin in via a terminal with no X session, then that counts as headless. If your loggin into gnome or kde etc and then opening a terminal, then something is wrong. If remotely, what OS is the machine your using running.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

anerDev

Streaming enthusiast

Posts: 20

Joined: Fri Jun 29, 2012 1:45 pm

Post Sun Oct 28, 2012 4:02 pm

Re: Web UI in Ajax (Mobile & desktop edition)

I use Ubuntu Server without desktop Enviroment, only command line !
From my mac, I use ssh for send the command to the server
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sun Oct 28, 2012 4:10 pm

Re: Web UI in Ajax (Mobile & desktop edition)

anerDev wrote:I use Ubuntu Server without desktop Enviroment, only command line !
From my mac, I use ssh for send the command to the server


No deasktop environment == headless.

On your mac, try
  Code:
ssh -X user@server


That should tell the server to forward the display to your mac.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

anerDev

Streaming enthusiast

Posts: 20

Joined: Fri Jun 29, 2012 1:45 pm

Post Sun Oct 28, 2012 4:17 pm

Re: Web UI in Ajax (Mobile & desktop edition)

Don't work !!!

Andreas-iMac:~ andrea$ ssh -X server@192.168.1.9
server@192.168.1.9's password:
Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-32-generic-pae i686)

* Documentation: https://help.ubuntu.com/

System information as of Sun Oct 28 17:16:33 CET 2012

System load: 0.0 Processes: 98
Usage of /: 3.7% of 55.00GB Users logged in: 0
Memory usage: 18% IP address for eth0: 192.168.1.9
Swap usage: 0%

Graph this data and manage this system at https://landscape.canonical.com/

0 packages can be updated.
0 updates are security updates.

Last login: Sun Oct 28 16:36:57 2012 from 192.168.1.10
server@server:~$


Question, but there is a file where I put the folder url who I would like to share ?
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sun Oct 28, 2012 4:23 pm

Re: Web UI in Ajax (Mobile & desktop edition)

anerDev wrote:Don't work !!!

Andreas-iMac:~ andrea$ ssh -X server@192.168.1.9
server@192.168.1.9's password:
Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-32-generic-pae i686)

* Documentation: https://help.ubuntu.com/

System information as of Sun Oct 28 17:16:33 CET 2012

System load: 0.0 Processes: 98
Usage of /: 3.7% of 55.00GB Users logged in: 0
Memory usage: 18% IP address for eth0: 192.168.1.9
Swap usage: 0%

Graph this data and manage this system at https://landscape.canonical.com/

0 packages can be updated.
0 updates are security updates.

Last login: Sun Oct 28 16:36:57 2012 from 192.168.1.10
server@server:~$


Question, but there is a file where I put the folder url who I would like to share ?


After logging in, you still have to run the console.
  Code:
cd /user/local/bin/serviio/bin
./serviio-console.sh
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

anerDev

Streaming enthusiast

Posts: 20

Joined: Fri Jun 29, 2012 1:45 pm

Post Sun Oct 28, 2012 4:34 pm

Re: Web UI in Ajax (Mobile & desktop edition)

Don't work, again !

Andreas-iMac:~ andrea$ ssh -X server@192.168.1.9
server@192.168.1.9's password:
Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-32-generic-pae i686)

* Documentation: https://help.ubuntu.com/

System information as of Sun Oct 28 17:33:20 CET 2012

System load: 0.2 Processes: 96
Usage of /: 3.7% of 55.00GB Users logged in: 0
Memory usage: 18% IP address for eth0: 192.168.1.9
Swap usage: 0%

Graph this data and manage this system at https://landscape.canonical.com/

0 packages can be updated.
0 updates are security updates.

Last login: Sun Oct 28 17:31:40 2012 from 192.168.1.10
server@server:~$ cd /usr/local/bin/serviio/bin
server@server:/usr/local/bin/serviio/bin$ sudo ./serviio-console.sh
[sudo] password for server:
server@server:/usr/local/bin/serviio/bin$
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sun Oct 28, 2012 4:35 pm

Re: Web UI in Ajax (Mobile & desktop edition)

Can you post the log then.

Is there a reason you don't want to simply install the console on your mac and point it to your server? E.g. do this:

Download and install Serviio on your mac, only select to install the console.
Dissable gatekeeper if you have the lastest version (see http://support.apple.com/kb/HT5290)
Browse the contents of Serviio-Console.app and open file Contents/Info.plist in TextEdit.
Scroll down to the bottom where it has
  Code:
      <key>Properties</key>
      <dict>
        <key>serviio.home</key>
        <string>$JAVAROOT</string>
        <key>java.net.preferIPv4Stack</key>
        <string>true</string>
      </dict>

and change it to
  Code:
     <key>Properties</key>
      <dict>
        <key>serviio.home</key>
        <string>$JAVAROOT</string>
        <key>java.net.preferIPv4Stack</key>
        <string>true</string>
        <key>serviio.remoteHost</key>
        <string>192.168.1.9</string>
      </dict>

Start Serviio-Console.app
Re-enable gatekeeper.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
PreviousNext

Return to Third-party tools integration

Who is online

Users browsing this forum: No registered users and 10 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.