TurnKey Linux Virtual Appliance Library

New DLNA media server patch

Alex Bassett's picture

I have finally finished this patch for tkl-fileserver and tkl-torrent server which adds Serviio DLNA media server to these iso's .

Licence included in readme

Serviio is developed by Petr Nejedly who lives in London and works as a freelance Java consultant.

build notes

#!/bin/bash -ex
# By Alex Bassett

install()
{
    DEBIAN_FRONTEND=noninteractive apt-get -y \
        -o DPkg::Options::=--force-confdef \
        -o DPkg::Options::=--force-confold \
        install $@
}


#Update package information
apt-get update

#Install Additional packages
install ffmpeg openjdk-6-jre-headless

#use wget for main package ( go to downloads page for new links )
wget http://download.serviio.org/releases/serviio-0.6.0.1-linux.tar.gz
tar xzf serviio-0.6.0.1-linux.tar.gz
rm serviio-0.6.0.1-linux.tar.gz


#Clean up any leftovers cruft
apt-get -y autoremove
apt-get clean

 

looks simple I hope

I also added a simple overlay script to start Serviio

# serviio.conf
# used to start serviio after networking starts
# start on started networking

description  "start on started networking"

start on runlevel [2345]
stop on runlevel [!2345]

exec /serviio-0.6.0.1/bin/serviio.sh

 

All default services stay un-touched as do usernames and passwords.

Included in the attached zip file is serviiopatch.tar.gz and a short read me which gives more details for the setup of the console in windows and linux , serviio console also works on Mac.

feed back is most welcome

Alex Bassett

updated patch is to be found here:

http://www.turnkeylinux.org/forum/general/20111015/updated-dlna-media-se...

Jeremy's picture

Nice one!

A quick glance and it looks good, nice work. I don't have any immediate use for it myself as I don't have a DLNA client. But I think it's a fantastic idea and I'm sure that there will be some XBox360 and PS3 (and other) users out there that will love this!

Alex Bassett's picture

Thanks  JedMeister . I have

Thanks  JedMeister .

I have been looking on the serviio forum and it seems there is an Ajax based gui that can be installed to the server , just wondering if tklfileserver supports it ......hmmm next project!


Jeremy's picture

By default TKL Fileserver includes LigHTTPd webserver

It uses it to host eXplorer. AFAIK LigHTTPd supports most things that Apache does and I'm sure with the know-how it could be done.

TBH I struggle enough with Apache config and have found LigHTTPd more complex and less well documented. If you are are knowledgable and/or a very patient soul and/or can find someone who has already got it working under LigHTTPd (and they are willing to share the info with you) then I'm sure you'd be able to do it.

Otherwise you could install Apache2 but I'm not sure how you'd go configuring it to run alongside LigHTTPd... That may open another whole can of worms! Running it under LigHTTPd alongside eXtplorer would be the ideal IMO.

Alex Bassett's picture

I have now got a webui

I have now got a webui running on a test VM , it seems serviio has java inside so a serviio guru made a webui using java it is a bit basic but it works .

 

Now it is time to redo my patch I think!

 


Jeremy's picture

Good work

Little touches like that make TKL appliances just that little bit nicer IMO. BTW, hope you don't mind but I just added a couple of tags to your OP.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)