Serviio Media Server V1.4 Plugin for unRAID V5.0


Recommended Posts

  • Replies 268
  • Created
  • Last Reply

Top Posters In This Topic

hi could you release include files from your ffmpeg package ? (needed for compilation)

 

i need compile some other stuff from other plugins but i dont want use other version of ffmpeg or compile myself

If you already have the ffmpeg pkg file, simple use the explodepkg tool to unpack all the files.

You can type the following

cd /boot/packages
mkdir exploded
cd exploded
explodepkg ../ffmpeglibs-1.1-i486-1jr.txz

You will name have a directory in packages called exploded. In there will be all the files from the package.

All source files used to compile the package can be downloaded from serviio's website.

 

However, If you simple install the package using the upgradepkg tool, all the files will be automatically installed into there correct locations. There should be no need to rebuilt a new pkg.

Link to comment
  • 2 weeks later...

GOT IT!!! Who wants to know? :)

 

The WebUI is like from a 3rd party developer. The wrapper file that's missing is on his page, here:

 

http://kairoh.bitbucket.org/serviio-webui/

 

So you just have to download the unix version, unrar the files to their correct location, and in console go to the folder where you unrar'ed the files and type

 

serviio-wrapper.sh

 

And that's it, you can now enter the console. :)

 

i did this everthing seems runing ok but when i start serviio i get two errors below:

 

root@Tower:~# /etc/rc.d/rc.serviio start
root@Tower:~# /boot/config/plugins/serviio/serviio-1.2.1/bin/serviio-wrapper.sh: line 59: [: 3796.11: integer expression expected
/boot/config/plugins/serviio/serviio-1.2.1/bin/serviio-wrapper.sh: line 61: [: 3796.11: integer expression expected

 

and i have serious character encoding problem. i cant see files that have turkish characters in it, serviio faq says:

 

My files with accents in their names are not detected

If you are on a Linux based OS, make sure your system locale / default character set is set to UTF-8. Examples on how to make this work for Synology NAS and Linux are provided in the forum here and here.

 

and i found a topic about this

 

http://lime-technology.com/forum/index.php?topic=11220.0

 

i also had this situation with ps3 media server and tried something like in the topic but not success.

has anyone having this problem? is it safe to do? my linux knowlage is very limited.

Link to comment

any help?

 

i find that my locale settings are:

root@Tower:/usr/lib/java# locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

 

and also examine the /etc/profile.d/lang.sh and /etc/profile.d/lang.csh they all seems ok to me

 

lang.sh:

# There is also support for UTF-8 locales, but be aware that
# some programs are not yet able to handle UTF-8 and will fail to
# run properly.  In those cases, you can set LANG=C before
# starting them.  Still, I'd avoid UTF unless you actually need it.
export LANG=en_US.UTF-8

 

lang.csh:

# There is also support for UTF-8 locales, but be aware that
# some programs are not yet able to handle UTF-8 and will fail to
# run properly.  In those cases, you can set LANG=C before
# starting them.  Still, I'd avoid UTF unless you actually need it.
setenv LANG en_US.UTF-8

 

i try:

adding LANG=en_US.UTF-8 export LANG commands to both serviio.sh and serviio_wrapper.sh

adding -Djava.encoding=UTF-8 command java_opts to both serviio.sh and serviio_wrapper.sh

 

bu still serviio.log says:

2013-05-16 19:34:23,727 INFO  [MediaServer] Java 1.7.0_02-Oracle Corporation
2013-05-16 19:34:23,727 INFO  [MediaServer] OS Linux i386 3.4.36-unRAID
2013-05-16 19:34:23,727 INFO  [MediaServer] File encoding: US-ASCII
2013-05-16 19:34:23,728 INFO  [MediaServer] Headless mode enabled: true
2013-05-16 19:34:23,728 INFO  [MediaServer] User: root
2013-05-16 19:34:23,728 INFO  [MediaServer] User home dir: /root
2013-05-16 19:34:23,728 INFO  [MediaServer] Temp dir: /tmp

 

i cant go on with my very limited linux knowlage... :( and this is driving me crazy

Link to comment

i dont know why but suddenly encoding changed :) strange but good. now it is adding that files to the library.

 

2013-05-17 16:03:07,574 INFO  [MediaServer] File encoding: UTF-8

 

i just  remove some pakages (cxxlibs, gcc, glibc) and restart unraid again. can that be the cause?

Link to comment

Serviio has free and paid versions.  You need the paid version to use ServiiGo as it utilises the API which is only opened up on the paid version.

 

You can use the free version with other DLNA software on android - I upgraded as it's not too pricey and I wanted 3G access.

Link to comment

I'm not interested in the 3g or web access as only really want to use it indoors on my home network, all i currently use it for is to stream music to a couple of tables along with the kids audio books to mentioned tables.

 

Once it expires i take it ill no longer be able to use this software to do this?

Link to comment

Had a look at that it  not as good is it, looks like I'm getting pro as kids can use ServiiGo with out problems (5 and 9 yr olds) and its wife approved also lol. Sold an old Apu on eBay I had for $30 so guessing that will pay for it lol.

Link to comment

try to use a different console ( Windows  or  android  version etc)

read  servio.log  and syslog.

and  read  the  past  posts.

I  exactly  had  same  issue  and  solve  with  some  info  with this post  but  can't  remember exactly now  sorry.

Link to comment

The syslog shows this:

 

Jun  1 23:58:01 Tower1 logger: installing plugin: serviio-1.2.1-1jr-cache

Jun  1 23:58:01 Tower1 logger:  file /boot/packages/jre-7u2-i586.txz: already exists

Jun  1 23:58:01 Tower1 logger:  upgradepkg --install-new /boot/packages/jre-7u2-i586.txz ...

Jun  1 23:58:01 Tower1 logger: +==============================================================================

Jun  1 23:58:01 Tower1 logger: | Installing new package /boot/packages/jre-7u2-i586.txz

Jun  1 23:58:01 Tower1 logger: +==============================================================================

Jun  1 23:58:01 Tower1 logger:

Jun  1 23:58:01 Tower1 logger: Verifying package jre-7u2-i586.txz.

Jun  1 23:58:05 Tower1 kernel: e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None

Jun  1 23:58:07 Tower1 logger: Installing package jre-7u2-i586.txz:

Jun  1 23:58:07 Tower1 logger: PACKAGE DESCRIPTION:

Jun  1 23:58:09 Tower1 logger: Executing install script for jre-7u2-i586.txz.

Jun  1 23:58:09 Tower1 logger: Package jre-7u2-i586.txz installed.

Jun  1 23:58:09 Tower1 logger:

Jun  1 23:58:09 Tower1 logger:

Jun  1 23:58:09 Tower1 logger: success

Jun  1 23:58:09 Tower1 logger:  file /boot/packages/ffmpeglibs-1.1-i486-1jr.txz: already exists

Jun  1 23:58:09 Tower1 logger:  upgradepkg --install-new /boot/packages/ffmpeglibs-1.1-i486-1jr.txz ...

Jun  1 23:58:09 Tower1 logger: +==============================================================================

Jun  1 23:58:09 Tower1 logger: | Installing new package /boot/packages/ffmpeglibs-1.1-i486-1jr.txz

Jun  1 23:58:09 Tower1 logger: +==============================================================================

Jun  1 23:58:09 Tower1 logger:

Jun  1 23:58:10 Tower1 logger: Verifying package ffmpeglibs-1.1-i486-1jr.txz.

Jun  1 23:58:11 Tower1 logger: Installing package ffmpeglibs-1.1-i486-1jr.txz:

Jun  1 23:58:11 Tower1 logger: PACKAGE DESCRIPTION:

Jun  1 23:58:11 Tower1 logger: # ffmpeglibs (ffmpeg and support libraries package)

Jun  1 23:58:11 Tower1 logger: #

Jun  1 23:58:11 Tower1 logger: # This package contains the ffmpeg version N-42368-gbf53863

Jun  1 23:58:11 Tower1 logger: # Copyright © 2000-2012 the FFmpeg developers.,

Jun  1 23:58:11 Tower1 logger: # and all support libraries required for Serviio V1.1. This version

Jun  1 23:58:11 Tower1 logger: # of ffmpeg and be used with a range of other apps.

Jun  1 23:58:11 Tower1 logger: #

Jun  1 23:58:11 Tower1 logger: # ffmpeg and support libraries compiled from sourced available at

Jun  1 23:58:11 Tower1 logger: # http://www.serviio.org/

Jun  1 23:58:11 Tower1 logger: #

Jun  1 23:58:12 Tower1 logger: Executing install script for ffmpeglibs-1.1-i486-1jr.txz.

Jun  1 23:58:12 Tower1 logger: --== Linking ffmpeg and librarys ==--

Jun  1 23:58:12 Tower1 logger: --== Done Linking ffmpeg and librarys ==--

Jun  1 23:58:12 Tower1 logger: Package ffmpeglibs-1.1-i486-1jr.txz installed.

Jun  1 23:58:12 Tower1 logger:

Jun  1 23:58:12 Tower1 logger:

Jun  1 23:58:12 Tower1 logger: success

Jun  1 23:58:12 Tower1 logger:  file /boot/config/plugins/serviio/serviio-1.2.1-linux.tar.gz: already exists

Jun  1 23:58:12 Tower1 logger:  file /boot/config/plugins/serviio/serviio-webui-1.0.1-c_for_1.2.1.tgz: already exists

Jun  1 23:58:12 Tower1 logger:  file /boot/config/plugins/jre/jre.png: already exists

Jun  1 23:58:12 Tower1 logger:  file /boot/config/plugins/serviio/serviio.png: already exists

Jun  1 23:58:12 Tower1 logger:  file /boot/config/plugins/serviio/consolewebgui.png: already exists

Jun  1 23:58:12 Tower1 logger:  file /boot/config/plugins/serviio/serviiomediabrowser.png: already exists

Jun  1 23:58:12 Tower1 logger:  file /boot/config/plugins/serviio/serviio_plugins_1.2.1.tgz: already exists

Jun  1 23:58:12 Tower1 logger:  file /tmp/jre-cleanup: successfully wrote INLINE file contents

Jun  1 23:58:12 Tower1 logger:  /bin/bash /tmp/jre-cleanup ... success

Jun  1 23:58:12 Tower1 logger:  file /boot/config/plugins/jre/jre.cfg: successfully wrote INLINE file contents

Jun  1 23:58:12 Tower1 logger:  file /usr/local/emhttp/plugins/webGui/UserUtils.page: successfully wrote INLINE file contents

Jun  1 23:58:12 Tower1 logger:  file /usr/local/emhttp/plugins/jre/jre.page: successfully wrote INLINE file contents

Jun  1 23:58:12 Tower1 logger:  file /usr/local/emhttp/plugins/jre/jre.png: successfully copied LOCAL file

Jun  1 23:58:12 Tower1 logger:  file /usr/local/emhttp/plugins/jre/jre.php: successfully wrote INLINE file contents

Jun  1 23:58:12 Tower1 logger:  file /var/log/plugins/jre: successfully wrote INLINE file contents

Jun  1 23:58:12 Tower1 logger:  file /tmp/serviio-cleanup.sh: successfully wrote INLINE file contents

Jun  1 23:58:12 Tower1 logger:  successfully changed file mode

Jun  1 23:58:12 Tower1 logger:  /bin/bash /tmp/serviio-cleanup.sh ... success

Jun  1 23:58:12 Tower1 logger:  file /tmp/serviio-webui.sh: successfully wrote INLINE file contents

Jun  1 23:58:12 Tower1 logger:  successfully changed file mode

Jun  1 23:58:12 Tower1 logger:  /bin/bash /tmp/serviio-webui.sh ... success

Jun  1 23:58:12 Tower1 logger:  file /usr/local/emhttp/plugins/serviio/Serviio.php: successfully wrote INLINE file contents

Jun  1 23:58:12 Tower1 logger:  file /usr/local/emhttp/plugins/serviio/Serviio.page: successfully wrote INLINE file contents

Jun  1 23:58:12 Tower1 logger:  file /usr/local/emhttp/plugins/serviio/serviio.png: successfully copied LOCAL file

Jun  1 23:58:12 Tower1 logger:  file /usr/local/emhttp/plugins/serviio/consolewebgui.png: successfully copied LOCAL file

Jun  1 23:58:12 Tower1 logger:  file /usr/local/emhttp/plugins/serviio/serviiomediabrowser.png: successfully copied LOCAL file

Jun  1 23:58:12 Tower1 logger:  file /etc/rc.d/rc.serviio: successfully wrote INLINE file contents

Jun  1 23:58:12 Tower1 logger:  successfully changed file mode

Jun  1 23:58:12 Tower1 logger:  file /usr/local/emhttp/plugins/serviio/event/disks_mounted: successfully wrote INLINE file contents

Jun  1 23:58:12 Tower1 logger:  successfully changed file mode

Jun  1 23:58:12 Tower1 logger:  file /usr/local/emhttp/plugins/serviio/event/unmounting_disks: successfully wrote INLINE file contents

Jun  1 23:58:12 Tower1 logger:  successfully changed file mode

Jun  1 23:58:12 Tower1 logger:  plugin successfully installed

 

This is the plugin install, which is OK I think.

 

I 'don't see where serviio gets started though and I can't find a serviio logfile

 

When I try to start serviio in telnet session I get this:

 

root@Tower1:~# /etc/rc.d/rc.serviio start

/etc/rc.d/rc.serviio: line 84: /mnt/cache/.apps/serviio/serviio-1.2.1/bin/servio-wrapper.sh: No such file or directory

 

Seems it doesn't get started at all and something is missing

 

 

Link to comment

GOT IT!!! Who wants to know? :)

 

The WebUI is like from a 3rd party developer. The wrapper file that's missing is on his page, here:

 

http://kairoh.bitbucket.org/serviio-webui/

 

So you just have to download the unix version, unrar the files to their correct location, and in console go to the folder where you unrar'ed the files and type

 

serviio-wrapper.sh

 

And that's it, you can now enter the console. :)

 

Sent from my HTC Desire using Tapatalk 4 Beta

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.