Page 1 of 2

llink is it possible to run on Bubba?

Posted: 20 Mar 2008, 02:06
by JohanJ
Hi
just found out about llink an i have a Popcorn Hour mediaplayer an i wonder i it is possible to run on my bubba?
And if its possible to run on bubba can anyone help me to install it ?

http://www.popcornhour.com/onlinestore/
http://www.lundman.net/wiki/index.php/Llink

Posted: 20 Mar 2008, 17:49
by tor
Hi,

Interesting server that, llink. Will have to look more on that.

By i quick look at their homepage i would say it should be possible to run on Bubba since it run on other devices in that area.

/Tor

Posted: 21 Mar 2008, 06:11
by JohanJ
yes llink is a great server.

You can find out how it works on mu popcorn here :
http://www.networkedmediatank.com/

Posted: 21 Mar 2008, 10:03
by JohanJ
is there someone who can help me to install it ? :roll:

Posted: 17 Jun 2008, 05:43
by pelle
I too have a Popcorn Hour Mediaplayer.

Just curious why you think that Llink would perform better than Mediatomb?

/Pelle

Ps. http://www.lundman.net/wiki/index.php/L ... stallation

Posted: 09 Sep 2008, 14:56
by Micael
pelle wrote:I too have a Popcorn Hour Mediaplayer.

Just curious why you think that Llink would perform better than Mediatomb?

/Pelle

Ps. http://www.lundman.net/wiki/index.php/L ... stallation
The Llink have some nice features that Mediatomb lack. e.g. the possibility to treat rar archives as folders and hence play material directly without the need to "extract" it first. A very nice combination with the Bubbas download manager.

Another feature of the Llink is the possibility to use .iso/.img files. The current version does not handle DVD navigation(menu, subtitle selection etc.) But they are treated as folders and its *.vob files can be played individually. I'm not sure but I think that DVD navigation is on the todo list.

It also supports skinning, iMDb and much more.


//Micael

installed llink on bubba?

Posted: 31 Oct 2008, 11:36
by newt
Hi
I just bought popcorn A110 and llink looks just what I need to get a nice experience with both nmt and bubba server.

Is there anybody how have installed llink on bubba server?

If YES, could you please give some feedback. Is it worthwhile to install it? Is't working as expected, can bubba handle huge rar files with HD content?

And can you give some information on how you did. I have tryed according to above instruction but I didn't make it with my n00b linux knowledge. Maybe it is something else wrong it looks like apt-get update didn't work all the way.

Thank you

installed llink

Posted: 17 Nov 2008, 15:05
by newt
I have now installed llink according to above link and tutorial. (http://www.lundman.net/wiki/index.php/L ... stallation)

I have now two questions before I can share my experiens with llink, bubba and popcorn hour.

1. I can't start llink. According to the tutorial
/etc/init.d/llink start
But I get permission denied :?:
I have tryed both as root and my ssh account with same result.

2. how do I uninstall mediatomb?

Thans for all help

Posted: 19 Nov 2008, 17:00
by newt
Hi I have some more information about why I don't have permission to start llink.

When I use "ls" to see the files in "etc/init.d/" I can see the llink file as I created according to the tutorial. but when I try to tab to the file it will not be shown as it does with all the other files in that directory.

Maybe it is some thing about the file? I created the etc/init.d/llink with Nano. how should you creat such script file?

Please all input to solve this it good input :)

Posted: 20 Nov 2008, 13:55
by 6feet5
Hi,

Sounds like you're missing execute permission on the file.

Try (as root):

Code: Select all

chmod /etc/init.d/llink
/Johan

Posted: 21 Nov 2008, 13:53
by newt
Thank you Johan!

I hade to add a+x to make it work.

Code: Select all

chmod a+x /etc/init.d/llink
But now I have another problem the script is complaning about missing folder. And guess what, the folder does not exist :cry:


This is the folder that does not exist is ". /lib/lsb/init-functions".

Code: Select all

#!/bin/sh

### BEGIN INIT INFO
# Provides:          llink
# Required-Start:    $network $local_fs $remote_fs
# Required-Stop:     $network $local_fs $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: start llink daemon
### END INIT INFO


# Defaults
RUN_MODE="daemons"

LLINKPID=/var/run/llink.pid
LLINK=/usr/local/bin/llink
LLINKOPTS="-f /usr/local/etc/llink/llink.conf -w /usr/local/etc/llink"

# clear conflicting settings from the environment
unset TMPDIR

# See if the daemons are there
test -x /usr/local/bin/llink || exit 0

. /lib/lsb/init-functions

case "$1" in
        start)
                log_daemon_msg "Starting llink daemons" "llink"

                if ! start-stop-daemon --start --quiet --exec $LLINK -- $LLINKOPTS ; then
                        log_end_msg 1
                        exit 1
                fi

                log_end_msg 0
                ;;
        stop)
                log_daemon_msg "Stopping llink daemons" "llink"

                start-stop-daemon --stop --quiet --oknodo --exec $LLINK -- $LLINKOPTS
                ;;
        reload|restart|force-reload)
                $0 stop
                sleep 1
                $0 start
                ;;
        *)
                echo "Usage: /etc/init.d/llink {start|stop|reload|restart|force-reload}"
                exit 1
                ;;
esac

exit 0
There are maybe better (this is the best forum but you know what I meen :) ) forum for this kind of questions. Since this is not realy Bubba related. but I hope I can get help here. If not can some body point me to the right direction?

Posted: 21 Nov 2008, 15:57
by 6feet5
newt wrote:I hade to add a+x to make it work.

Code: Select all

chmod a+x /etc/init.d/llink
He he, oops, of course there should be a+x in the command :-)
newt wrote:This is the folder that does not exist is ". /lib/lsb/init-functions".
That is probably not a folder you're missing, but a file. This file, I think, contain help functions like log_daemon_msg and log_end_msg. You can probably just remove that whole line and remove all references to log_end_msg and log_daemon_msg. Or replace all references to log_daemon_msg with an echo, like

Code: Select all

echo "Starting llink daemons"
That way, you'll get some output when you run the script.

/Johan

Posted: 21 Nov 2008, 16:45
by newt
Thank you again Johan!!!
This file, I think, contain help functions like log_daemon_msg and log_end_msg.
correct Joahn, when I found that out I started to look for a alternative solution and find below code.

I removed the link and added this code

Code: Select all

log_daemon_msg () {
    if [ -z "$1" ]; then
        return 1
    fi

    if [ -z "$2" ]; then
        echo -n "$1:"
        return
    fi
    
    echo -n "$1: $2"
}
It is importent to have this code above the call of log_daemon_msg. I also hade to change log_end_msg to log_daemon_msg.

I will try your solution since it looks better and not a cheep hack :)

I will come back and tell you about how llink works on bubba and with popcorn hour A110. At the moment I can only see my musik.

It works fine

Posted: 21 Nov 2008, 17:45
by newt
I have not jet seen a whole movie but it seems to work great with llink on bubba.

I have tryed a film that was a rared iso, I saw about 15 min and no problem!

I will have more information in this weekend. Now it is movie time!!!

I can put together a "howto" if there is a need.

Thanks for all help!!!

===update===
My llink experience so far is that the unrar works realy good, I have tryed with dvd quality. But it's are as the Micael says
Another feature of the Llink is the possibility to use .iso/.img files. The current version does not handle DVD navigation(menu, subtitle selection etc.) But they are treated as folders and its *.vob files can be played individually. I'm not sure but I think that DVD navigation is on the todo list.
But I dont know if you can turn of this since nmt can handle iso files.

Posted: 24 Nov 2008, 03:46
by trencarbe
I can put together a "howto" if there is a need.
Yes please! :D