Page 1 of 13

Web UI in Ajax (Mobile & desktop edition)

PostPosted: Wed May 18, 2011 9:49 am
by kairoh

21/10/2012 : 1.0.1 Edition including serviidb.com connector
29/06/2012 : Performance boosts, win services
17/04/2012 : Mobile edition & other cool stuff
31/01/2012 : 0.6.2 Update
18/01/2012 : 0.6.2 Update
28/12/2011 : 0.6.1 Update
28/09/2011 : 0.6 Update


This WebUI is an alternate Serviio console in pure java / javascript, compatible with most mobile and desktop browsers.
It has no extra requirement : just drop it and connect from almost any desktop or mobile browser !

Features :
* Pure java : multi-platform (Unix, Mac, Windows...), same requirements as Serviio server
* HTML5 compliant page, degrading gracefully for old browser.
* Mimic default Serviio console, including i18n
* Ajax rest communication, using json
* No Servlet needed (uses Freemarker Template)
* Gzipped & Minified javascript
* Should work on any recent web browsers, tested on Firefox (3.5+), IE (6+), Opera, Chrome, Chromium
* Work on mobile too (iPhone, Android, Blackberry, WinPhone), tested on Android (Chrome Lite, Fennec, Opera Mobile)
* Require Javascript, CSS and Image on the browser
* Customizable CSS
* 2 launching modes : normal or wrapping (best for embedded devices).

Test URL : http://127.0.0.1:8123/serviio/console

Information & Download
see New homepage and Bitbucket project.

Snapshots
See gallery on Official homepage.

Re: Web UI in Restful Ajax

PostPosted: Wed May 18, 2011 10:08 am
by zip
Great stuff, mate. If you create a bitbucket ticket I could add JSON support in the official release.

Re: Web UI in Restful Ajax

PostPosted: Wed May 18, 2011 12:15 pm
by kairoh

Re: Web UI in Restful Ajax

PostPosted: Mon Jul 11, 2011 8:14 am
by Borkuz
Sounds realy cool, but how do I use this?

Re: Web UI in Restful Ajax

PostPosted: Mon Jul 11, 2011 10:56 am
by moltra
Looks great, cannot wait until it is added to the new .6 beta.

I hope that you can open the webpage from any computer on the network?

This would be great to help maintain serviio.

Re: Web UI in Restful Ajax

PostPosted: Wed Jul 13, 2011 9:12 pm
by Cerberus
my only comment atm before actually playing with it is use a better font and less white.

Re: Web UI in Restful Ajax

PostPosted: Thu Jul 14, 2011 9:04 am
by kairoh
Borkuz wrote:Sounds realy cool, but how do I use this?

Installation :
1) unzip files from serviio-mediaserver-0.1.zip and serviio-webclient-0.1.jar.zip to your SERVIIO_HOME/lib.
2) patch serviio.bat (or download attached sample bat) in SERVIIO_HOME/bin.
3) add serviio-webui.bat (or download attached sample bat) in SERVIIO_HOME/bin.
4) launch serviio.bat and serviio-webui.bat
5) connect to http://127.0.0.1:8123/serviio/console .

Re: Web UI in Restful Ajax

PostPosted: Thu Jul 14, 2011 9:09 am
by kairoh
moltra wrote:I hope that you can open the webpage from any computer on the network?
This would be great to help maintain serviio.

This was the main goal : to have a pure web client. You just need to know the server IP.

Re: Web UI in Restful Ajax

PostPosted: Thu Jul 14, 2011 9:15 am
by kairoh
Cerberus wrote:my only comment atm before actually playing with it is use a better font and less white.

It's just some CSS and it should definitely be customized.
BTW, fonts are currently : Garamond, "Times New Roman", Times, Serif and "Trebuchet MS", verdana, arial, sans-serif.

Re: Web UI in Restful Ajax

PostPosted: Thu Jul 14, 2011 12:15 pm
by moltra
Do we have to actually change the serviio files? or does it work with the current files.

ie Can I use it with the current beta?

One other comment if this is serviio revision specific, you might want to change the revision number to the same as the version of serviio it is designed to work with.

Re: Web UI in Restful Ajax

PostPosted: Thu Jul 14, 2011 1:41 pm
by zip
Not in the current beta, keep checking this ticket: https://bitbucket.org/xnejp03/serviio/i ... on-support

Re: Web UI in Restful Ajax

PostPosted: Mon Jul 18, 2011 10:33 pm
by zip
added JSON support to the latest 0.6 codabase so starting with the next beta it won't be necessary to path the server

Re: Web UI in Restful Ajax

PostPosted: Wed Jul 20, 2011 10:52 pm
by moltra
I tried it with Beta 0.6_2 and this is what I got. Ubuntu 10.04.

  Code:
./serviio-webui.bat: line 1: @echo: command not found
: command not found: line 2:
: No such file or directory: pushd: %BATCH_FILE%..
: command not found: line 6: popd
: command not found: line 7:
./serviio-webui.bat: line 8: SET: command not found
: command not found: line 9:
./serviio-webui.bat: line 11: unexpected EOF while looking for matching `''
./serviio-webui.bat: line 19: syntax error: unexpected end of file

Re: Web UI in Restful Ajax

PostPosted: Wed Jul 20, 2011 10:53 pm
by zip
you are trying to run a MS-DOS .bat file on Linux? ;)

Re: Web UI in Restful Ajax

PostPosted: Thu Jul 21, 2011 12:44 am
by moltra
I was not sure if it was just for windows or not. You can run a bat file on linux. So how do you start it on linux?

Re: Web UI in Restful Ajax

PostPosted: Thu Jul 21, 2011 8:44 am
by zip
talk to kairoh. As I said on the bitbucket ticket, it'd be best if a project page was created for this (e.g. on google code) so that people can contribute to it. I'm sure someone will come up with a sh script or other ways to run this UI.

Re: Web UI in Restful Ajax

PostPosted: Tue Jul 26, 2011 5:35 am
by Cerberus
moltra wrote:Do we have to actually change the serviio files? or does it work with the current files.

ie Can I use it with the current beta?

One other comment if this is serviio revision specific, you might want to change the revision number to the same as the version of serviio it is designed to work with.


should work with the BETA2.

Re: Web UI in Restful Ajax

PostPosted: Tue Jul 26, 2011 8:36 pm
by PhoenixNZ
Attachments

serviio-mediaserver-0.1.zip
Pached mediaserver v0.1
(162.94 KiB) Downloaded 44 times

serviio-webclient-0.1.jar.zip
Ajax console v0.1
(141.57 KiB) Downloaded 49 times



So for a non-beta version of Serviio, do I just drop these files into the /lib folder and all is well?? or do I need to build??

This is for running on a Head-less UnRaid box. Thanks. Rob

Re: Web UI in Restful Ajax

PostPosted: Wed Jul 27, 2011 7:08 am
by Illico
PhoenixNZ wrote:
Attachments

serviio-mediaserver-0.1.zip
Pached mediaserver v0.1
(162.94 KiB) Downloaded 44 times

serviio-webclient-0.1.jar.zip
Ajax console v0.1
(141.57 KiB) Downloaded 49 times



So for a non-beta version of Serviio, do I just drop these files into the /lib folder and all is well?? or do I need to build??

This is for running on a Head-less UnRaid box. Thanks. Rob


Also look at this: viewtopic.php?f=17&t=2427#p17199

Re: Web UI in Restful Ajax

PostPosted: Wed Jul 27, 2011 10:33 am
by kairoh
moltra wrote:I was not sure if it was just for windows or not. You can run a bat file on linux. So how do you start it on linux?

These bat files are specific to Windows.
I made some sh shell for linux version.
See the new wiki for more explanation.