[HOWTO] Install Kissdx

  • This is my experince installing kissdx a PC-Link replacement to use in old line of kiss DP Players (End of life).


    If you are a lucky owner of some of this ancient players and have OMV like your NAS storage for your Videos, Photos & Music, this is a wellcome package to install.


    I write this HowTo using reference from this sires:
    http://kissdx.vidartysse.net/debian-mini-howto.html
    https://answers.launchpad.net/~roderik/+archive/ppa
    http://kissdx.vidartysse.net/
    i386 version: http://www.mpcclub.com/forum/a…chmentid=808&d=1326238539


    First you need to open a shell to wrire some commans:


    1 - download kissdx:

    Code
    cd /tmp
    wget http://ppa.launchpad.net/roderik/ubuntu/pool/main/k/kissdx/kissdx_0.14.0.b1a-1~ppa2_amd64.deb


    I use x64 version, but you can find x86 if you need on roderik page.


    2 - You need to install needed libraries:

    Code
    apt-get install libdvdread-dev libjpeg62-dev


    If this fail, you probably need to do:

    Code
    apt-get -f install

    To force install of libdvdread


    3 - time to install kissdx:

    Code
    dpkg -i kissdx_0.14.0.b1a-1~ppa2_amd64.deb

    remember to change if you use x86 for apropiate kissdx debian package.


    4 - need to create some needed directories:

    Code
    mkdir /var/kissdx


    5 - Time to edit kissdx.conf so it point to your multimedia folder:

    Code
    cd /etc
    nano kissdx.conf



    this is a portion of my conf file:

    Code
    # paths for the media files (ending / not needed)
    audiopath	=	/media/303507bb-2c9c-4a34-bf80-ecf5c0c22877/Datos/Musica
    videopath	=	/media/bfb78afa-8e44-4f10-8f80-58554c99ff48/Video
    picturepath	=	/media/303507bb-2c9c-4a34-bf80-ecf5c0c22877/Datos/Fotos


    and atached my complete conf file for comparation pourpouses:



    6 - Time to test that kissdx works :

    Code
    /usr/bin/kissdx -d -c /etc/kissdx.conf


    to see if is working:

    Code
    ps ax|grep kissdx


    If works you can see a line with PID of daemon like this:


    Code
    root@GNAS:/etc# ps ax|grep kissdx
     2490 ?        S      0:00 /usr/bin/kissdx -d -c /etc/kissdx.conf
     8014 pts/0    S+     0:00 grep kissdx
    root@GNAS:/etc#


    If you have a problem with livdvdread like this:

    Code
    Error:   root@GNAS:/tmp# /usr/bin/kissdx -d -c /etc/kissdx.conf
    /usr/bin/kissdx: error while loading shared libraries: libdvdread.so.3: cannot open shared object file: No such file or directory

    you need to create a link.


    in

    Code
    cd /usr/lib

    you have


    Code
    lrwxrwxrwx 1 root root       15 ene 31 19:11 libdvdread.so -> libdvdread.so.4
    lrwxrwxrwx 1 root root       19 ene 31 19:11 libdvdread.so.4 -> libdvdread.so.4.1.3
    -rw-r--r-- 1 root root   146824 jul 13  2010 libdvdread.so.4.1.3


    Code
    cp libdvdread.so.4 libdvdread.so.3


    This time start may work:


    Code
    root@GNAS:/usr/lib# /usr/bin/kissdx -d -c /etc/kissdx.conf
    root@GNAS:/usr/lib# ps ax|grep kissdx
    13191 ?        S      0:00 /usr/bin/kissdx -d -c /etc/kissdx.conf
    13230 pts/0    S+     0:00 grep kissdx



    7 - END , Time to autostart, here I need some help from gurus, I try to do like is descrived here: http://kissdx.vidartysse.net/debian-mini-howto.html


    And create a kissdx file in /etc/init.d/kissdx


    and

    Code
    chmod 755 /etc/init.d/kissdx && cd /etc/rc2.d/ && ln -s /etc/init.d/kissdx S40kissdx


    so went I do

    Code
    sh /etc/init.d/kissdx

    kissdx start, but if I reboot my NAS, do not autostart, why? (some help is welcome).

  • If I try to use update-rc.d kissdx defaults to autostart, do not work:




    Note: I see this post, http://forums.openmediavault.o…ic.php?f=3&t=2368&p=26432 and I'll try to write an apropiate init script, but some help is wellcome

  • Could you post the contents of the Init.script here?


    At least the LSB Tag section.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • the init.script does not exist I google a bit and do not find, so new one must be writen.


    to launch kissdx I need to execute:


    Code
    /usr/bin/kissdx -d -c /etc/kissdx.conf


    and my first tentative to write init scrip based on http://forums.openmediavault.o…ic.php?f=3&t=2368&p=26432
    is:



    but I'm noob in Debian, and not sure that I write a working script, can you help me?

  • You did 'update-rc.d bla defaults'. There must be a script then if you execute that command.


    Not experienced in creating startup scripts, just fixing that what doesn't work.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • my second tentative of init.script based on actal minidlna init script:


Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!