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 Fri Dec 23, 2011 9:46 pm

Re: Web UI in Restful Ajax

Next release is almost there containing a lot of new features/bugfixes, i'm just waiting Zip to release the final 0.6.1. ;)
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
<<

qoolbox

Streaming enthusiast

Posts: 45

Joined: Tue Nov 01, 2011 4:35 pm

Location: France

Post Sat Dec 24, 2011 11:00 am

Re: Web UI in Restful Ajax

Hurry to test this and adapt this on Thecus NAS...

Thanks Kairoh for your work...
Third Party Thecus NAS Develloper

http://forum.thecus.com
http://www.tsuga.fr
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Dec 24, 2011 11:48 am

Re: Web UI in Restful Ajax

kairoh wrote:Next release is almost there containing a lot of new features/bugfixes, i'm just waiting Zip to release the final 0.6.1. ;)

I've added one more field on transcoding tab (play in highest quality) that is not described in the published 0.6.1 beta API spec.
<<

kairoh

DLNA master

Posts: 180

Joined: Sun Aug 08, 2010 10:41 am

Location: France

Post Sat Dec 24, 2011 1:28 pm

Re: Web UI in Restful Ajax

I've already noticed that ;)
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
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Sat Dec 24, 2011 6:23 pm

Re: Web UI in Restful Ajax

zip wrote:I've added one more field on transcoding tab (play in highest quality) that is not described in the published 0.6.1 beta API spec.

What effect does that have on FFmpeg?
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Dec 24, 2011 6:59 pm

Re: Web UI in Restful Ajax

either uses -sameq (best quality) or -qscale 3 (faster but still good quality).
<<

kairoh

DLNA master

Posts: 180

Joined: Sun Aug 08, 2010 10:41 am

Location: France

Post Wed Dec 28, 2011 12:19 pm

Re: Web UI in Restful Ajax

As promised new version (0.6.1-a) is here !
It is compatible with Serviio 0.6.1 (beta4, RC and hopefully final version!).

0.6.1-a
========

- added new 0.6.1 features (live stream, edit online repositories, force online refresh).
- added sub tabs navigation.
- updated auto disabling forms (like the swing console does).
- fixed UTF-8 support (when using oriental charset).
- added alert when "functional error" occurs in REST response.
- added html5 new attributes for some input (url, number).
- updated i18n properties file.
- updated starting jvm parameters.
- updated libs (jquery-1.7.1, jquery.tmpl-1.0.0.pre).
- improved general javascript performance.
- [windows] fixed bat when using space in classpath.
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
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Dec 28, 2011 12:46 pm

Re: Web UI in Restful Ajax

great stuff. I'll probably add the links to the official download page later on. Do you have some snapshots?
<<

qoolbox

Streaming enthusiast

Posts: 45

Joined: Tue Nov 01, 2011 4:35 pm

Location: France

Post Wed Dec 28, 2011 5:54 pm

Re: Web UI in Restful Ajax

Thank you Kairoh...

Great Job i update Asap the Thecus NAS Module...

:D
Third Party Thecus NAS Develloper

http://forum.thecus.com
http://www.tsuga.fr
<<

kairoh

DLNA master

Posts: 180

Joined: Sun Aug 08, 2010 10:41 am

Location: France

Post Thu Dec 29, 2011 9:57 am

Re: Web UI in Restful Ajax

See 1st post for some snapshots.
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
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Fri Dec 30, 2011 1:01 am

Re: Web UI in Restful Ajax

Looking good. I think I may have to ditch the PHP Web UI and go for this one for the Synology Package. I'll have a play with the CSS...
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Fri Dec 30, 2011 2:08 am

Re: Web UI in Restful Ajax

Looks very good!

i used this bout 6 months ago on my QNAP NAS, noticed few bugs and reverted back to php web ui, hopefully the problems i encountered before have been fixed
Last edited by Xmantium on Sat Jan 07, 2012 10:52 pm, edited 2 times in total.
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

qoolbox

Streaming enthusiast

Posts: 45

Joined: Tue Nov 01, 2011 4:35 pm

Location: France

Post Sun Jan 01, 2012 2:30 pm

Re: Web UI in Restful Ajax

Thanks Kairoh,

Thecus Module Updated

http://forum.thecus.com/viewtopic.php?f=36&t=2835

I also fixed the UTF-8 Encoding for the webui, it works like charm (just tricked the Thecus OS for that) :D

just got a problem, on first install and first launch the WEBUi indicate error in RED, such like Serviio core engine was not running background but it is, i need to refresh the browser to remove the error and all is ok.... :?

Best Regards,

Stéphane
Third Party Thecus NAS Develloper

http://forum.thecus.com
http://www.tsuga.fr
<<

qoolbox

Streaming enthusiast

Posts: 45

Joined: Tue Nov 01, 2011 4:35 pm

Location: France

Post Tue Jan 17, 2012 12:04 pm

Re: Web UI in Restful Ajax

Just update the core engine serviio into 0.6.1 on Thecus and use Wrapper mode to launch... and i have error following on launching the script

  Code:
root@127.0.0.1:/raid/data/module/serviio/bin/bin# ./serviio-wrapper.sh
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/serviio/restui/ServiioWrapper : Unsupported major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(Unknown Source)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: org.serviio.restui.ServiioWrapper.  Program will exit.


any idea ???

the script i use is following

  Code:
PATH=/raid/data/module/serviio/sys/bin/:$PATH
export PATH

SERVIIO_HOME=/raid/data/module/serviio/bin

JAVA_HOME=/raid/data/module/OracleJRE6/system/jre
JAVA="$JAVA_HOME/bin/java"
NOHUP=/raid/data/module/serviio/sys/bin/nohup

# Setup the classpath
SERVIIO_CLASSPATH="$SERVIIO_HOME/config"
LIB=${SERVIIO_HOME}/plugins
for jar in `ls -1 ${LIB}/*.jar`; do SERVIIO_CLASSPATH="${SERVIIO_CLASSPATH}:${jar}"; done
LIB=${SERVIIO_HOME}/lib
for jar in `ls -1 ${LIB}/*.jar`; do SERVIIO_CLASSPATH="${SERVIIO_CLASSPATH}:${jar}"; done


# Execute the JVM in the foreground
JAVA_OPTS="-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dserviio.home=$SERVIIO_HOME -Dderby.system.home=$SERVIIO_HOME/library"
JVM_OPTS="-Xms20M -Xmx384M -XX:+UseParNewGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -Dfile.encoding=UTF-8"

# $NOHUP </dev/null >/dev/null 2>&1 &

"$JAVA" $JVM_OPTS $JAVA_OPTS -classpath "$SERVIIO_CLASSPATH" org.serviio.restui.ServiioWrapper "$@"


Help please... i am lost...
Third Party Thecus NAS Develloper

http://forum.thecus.com
http://www.tsuga.fr
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Tue Jan 17, 2012 7:28 pm

Re: Web UI in Restful Ajax

I'm finally finding some time to work on the CSS ready to include this in the Synology 0.6.1 package but I have the same problem as the last post. I can run it manually, but the wrapper isn't working. I'm on Linux.

Also I have noticed that I can't change language either. Is this another slash/blackslash issue that is only affecting Linux systems perhaps?
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

kairoh

DLNA master

Posts: 180

Joined: Sun Aug 08, 2010 10:41 am

Location: France

Post Tue Jan 17, 2012 10:33 pm

Re: Web UI in Restful Ajax

Here is a small version (0.6.2-a) available here !
It is compatible with Serviio 0.6.2 (and every 0.6.1).

0.6.2-a
========

- fixed wrapper (recompile to java6 instead of java7).
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
<<

kairoh

DLNA master

Posts: 180

Joined: Sun Aug 08, 2010 10:41 am

Location: France

Post Tue Jan 17, 2012 10:45 pm

Re: Web UI in Restful Ajax

patters wrote:I'm finally finding some time to work on the CSS ready to include this in the Synology 0.6.1 package but I have the same problem as the last post. I can run it manually, but the wrapper isn't working. I'm on Linux.
Also I have noticed that I can't change language either. Is this another slash/blackslash issue that is only affecting Linux systems perhaps?

Wrapper was compiled on java7, so it only worked on java7... sorry :roll:

I've actually working on 2 problems : one about language changing, and another about new renderer addition.
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
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Wed Jan 18, 2012 11:42 am

Re: Web UI in Restful Ajax

Thanks - your download page isn't updated. I was able to guess the download URL though :)
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Wed Jan 18, 2012 11:54 am

Re: Web UI in Restful Ajax

Hmm. The wrapper still doesn't work. This is on Java 6:
  Code:
DS111> /volume1/@appstore/Serviio/bin/serviio-wrapper.sh
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/serviio/restui/ServiioWrapper : Unsupported major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: org.serviio.restui.ServiioWrapper.  Program will exit.


On Java 7 nothing happens at all (this is launched from a shell running as user 'serviio'):
  Code:
DS111> /volume1/@appstore/Serviio/bin/serviio-wrapper.sh
DS111> ps
  PID USER       VSZ STAT COMMAND
    1 root      3020 S    init
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    4 root         0 SW   [events/0]
    5 root         0 SW   [khelper]
    8 root         0 SW   [async/mgr]
   87 root         0 SW   [sync_supers]
   89 root         0 SW   [bdi-default]
   90 root         0 SW   [kblockd/0]
   96 root         0 SW   [ata/0]
   97 root         0 SW   [ata_aux]
  112 root         0 SW   [rpciod/0]
  120 root         0 SW   [kswapd0]
  121 root         0 SW   [nfsiod]
  274 root         0 SW   [scsi_eh_0]
  276 root         0 SW   [scsi_eh_1]
  282 root         0 SW   [mtdblockd]
  618 root         0 SW   [jbd2/sda1-8]
  619 root         0 SW   [ext4-dio-unwrit]
 1046 root      7168 S    /usr/syno/apache/bin/httpd -f /usr/syno/apache/conf/httpd.conf-sys
 1147 root      7168 S    /usr/syno/apache/bin/httpd -f /usr/syno/apache/conf/httpd.conf-sys
 1660 serviio   5484 S    -sh
 1688 root         0 SW   [kstriped]
 1733 root      7168 S    /usr/syno/apache/bin/httpd -f /usr/syno/apache/conf/httpd.conf-sys
 1854 root         0 SW   [khubd]
 1902 root         0 SW   [ksnapd]
 1917 root      7160 S    /usr/syno/apache/bin/httpd -f /usr/syno/apache/conf/httpd.conf-sys
 1952 root         0 SW   [crypto/0]
 2072 serviio   5484 R    ps
 2104 root         0 SW   [crypto]
 2105 root         0 SW   [crypto_ret]
 2191 root         0 SW   [ecryptfs-kthrea]
 2692 root      3020 S    /sbin/syslogd -S
 2697 root      3020 S    /sbin/klogd
 2782 root      8172 S <  /usr/syno/bin/findhostd
 2817 root         0 SW   [jbd2/sda3-8]
 2818 root         0 SW   [ext4-dio-unwrit]
 2920 root     12268 S    sshd: root@pts/0
 2988 root      5484 S    -ash
 3433 admin    33756 S    /usr/syno/pgsql/bin/postgres -D /var/services/pgsql --config_file=/usr/syno/pgsql/etc/postgresql.conf
 3455 admin    33884 S    postgres: writer process
 3456 admin    33756 S    postgres: wal writer process
 3619 root      8716 S    /usr/syno/sbin/hotplugd
 3641 root      5480 S    /usr/sbin/inetd
 3648 root      5480 S    /usr/sbin/crond
 4228 root     12148 S    /usr/syno/bin/scemd
 4484 root         0 SW<  [kslowd000]
 4628 root         0 SW<  [kslowd001]
 5124 root         0 SW   [usbhid_resumer]
 5405 root      3024 S    /sbin/getty 115200 console
 5609 root      3020 S    /bin/sh /usr/syno/mysql/bin/mysqld_safe --datadir=/volume1/@database/mysql --pid-file=/tmp/mysqld.pid
 5763 admin     109m S    /usr/syno/mysql/libexec/mysqld --basedir=/usr/syno/mysql --datadir=/volume1/@database/mysql --user=adm
 6530 root      7880 S    /usr/syno/sbin/cupsd -C /usr/local/cups/cupsd.conf
 6736 root     12660 S    /usr/syno/sbin/fileindexd
 6833 root     16996 S    /usr/syno/sbin/nmbd -D
 6887 root     21132 S    /usr/syno/sbin/smbd -D
 6889 root     21132 S    /usr/syno/sbin/smbd -D
 6908 root      7124 S    /usr/syno/sbin/cnid_metad -l log_error
 6910 root     13800 S    /usr/syno/sbin/afpd -g guest -c 256 -n DS111 AFPServer -l default log_error
 7030 root      4116 S    /usr/syno/sbin/sshd
 7033 root      6920 S    /usr/syno/apache/bin/httpd -f /usr/syno/apache/conf/httpd.conf-sys
 7152 root      2408 S    avahi-daemon: running [DS111.local]
 7436 nobody   59840 S    /usr/syno/apache/bin/httpd -DHAVE_PHP
 8174 root     27020 S N  /usr/syno/sbin/synoindexd
 8179 root     25980 S N  /usr/syno/bin/synomkthumbd
 8186 root     25980 S N  /usr/syno/sbin/synomkflvd
 8251 admin    34720 S    postgres: admin mediaserver [local] idle
 8672 nobody   59816 S    /usr/syno/apache/bin/httpd -DHAVE_PHP
32122 root      7168 S    /usr/syno/apache/bin/httpd -f /usr/syno/apache/conf/httpd.conf-sys
32125 root         0 SW   [flush-8:0]
32435 root     59068 S    /usr/syno/apache/bin/httpd -DHAVE_PHP
32442 nobody   59788 S    /usr/syno/apache/bin/httpd -DHAVE_PHP
32443 nobody   72564 S    /usr/syno/apache/bin/httpd -DHAVE_PHP
32444 nobody   59652 S    /usr/syno/apache/bin/httpd -DHAVE_PHP
DS111>
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

kairoh

DLNA master

Posts: 180

Joined: Sun Aug 08, 2010 10:41 am

Location: France

Post Wed Jan 18, 2012 4:25 pm

Re: Web UI in Restful Ajax

patters wrote:Thanks - your download page isn't updated.

You were absolutely right! And the download itself wasn't correct either, just renamed... :?
Now all urls and downloads are fixed
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
PreviousNext

Return to Third-party tools integration

Who is online

Users browsing this forum: No registered users and 8 guests

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