Kissdx unter Debian Linux
Zuerst die Abhängigkeiten installieren:
aptitude install libdvdread-dev libjpeg62-dev
Dann das Source Paket (ich nehme hier das BETA) herunterladen:
cd /usr/src
wget http://kissdx.vidartysse.net/kissdx-0.14.0.b1a.zip
unzip kissdx-0.14.0.b1a.zip
cd kissdx
Nun das Makefile bearbeiten und die Zeile mit -linconv deaktivieren und die ohne aktivieren:
# remove -liconv below if your system has libiconv built in # $(CC) -o $@ $(OBJS) -ldvdread -liconv -ljpeg -lm $(EXTRA_LIBS) $(CC) -o $@ $(OBJS) -ldvdread -ljpeg -lm $(EXTRA_LIBS)
Nun das übliche:
make
make install
Nun sollte es unter /usr/sbin
das kissdx
Binary und unter /etc/
die kissdx.conf
Datei liegen.
Nun kann die Konfigurationsdatei editiert werden
/etc/kissdx.conf
. Ich habe folgendes zur original Datei geändert:
diff -u /etc/kissdx.conf /etc/kissdx.conf.meine
--- /etc/kissdx.conf 2011-09-08 14:59:15.819609950 +0200 +++ /etc/kissdx.conf.meine 2011-09-08 15:01:57.675602754 +0200 @@ -6,24 +6,24 @@ # paths for the media files (ending / not needed) -audiopath = /media/audio -videopath = /media/video -picturepath = /media/picture +audiopath = /srv/samba/Multimedia/Music +videopath = /srv/samba/Multimedia/Video +picturepath = /srv/samba/DigiCam # Path for persistent storage of info by kissdx. # The [Recently used] feature and the picture caching feature will store data here. # If option is omitted, kissdx will use picturepath, etc. for such storage. -#persistentstoragepath = /var/kissdx +persistentstoragepath = /var/kissdx # Path for storage of PID file # Default: No pid file is created. -#pidfilepath = /var/run/kissdx.pid +pidfilepath = /var/run/kissdx.pid # Allowed extensions for media files (comma separated, no spaces, case insensitive) # Omit a setting to send ALL files to the player in the corresponding directory listing. audiofileextensions = mp3,ogg,wma,wav -videofileextensions = mpg,mpeg,vob,avi,wmv,ts,mp4,divx -picturefileextensions = jpg,jpeg,png,bmp +videofileextensions = mkv,mpg,mpeg,vob,avi,wmv,ts,mp4,divx +picturefileextensions = jpg,jpeg,png,bmp # Allowed extensions for ISO image files (comma separated, no spaces, case insensitive) # Without setting, only files with the .iso extension will be interpreted as ISO images. @@ -59,7 +59,7 @@ subtitlefilemapping = *:{name}*.* # Maximum number of entires in recent list (30 is default, set to 0 to disable feature) -#max_recent_files = 30 +max_recent_files = 0 # Alternate name of recent list folder. Default is [Recently used]. #recentlyusedfoldername = [Recently played] @@ -75,9 +75,9 @@ # Picture scaling options (Screen width / height in pixels and optional zoom percentage) # Specify both picturetargetwidth and picturetargetheight to enable picture scaling. -picturetargetwidth = 1280 -picturetargetheight = 720 -picturemaxzoompercent = 20 +picturetargetwidth = 1920 +picturetargetheight = 1080 +picturemaxzoompercent = 10 # Maximum size of scaled picture cache (max. no. of pictures in cache). # Omit option or set = 0 to disable caching. @@ -127,6 +127,7 @@ # Use this option to have kissdx automatically rename certain file types, # thereby tricking the KiSS player into detecting and playing such files. #renamefiletypes = ts:mpg,wav:mp3 +renamefiletypes = mkv:avi # List hidden entries (files or folders starting with a '.') in file system? (yes/no) # Default is NO @@ -134,7 +135,7 @@ # The signature of kissdx as shown on the KiSS player can be tailorded as needed. # Default is {ShortHostName} - kissdx {Version},{VersionDate} {ConfigReloadStatus} -#serversignature = kissdx {Version} ({VersionDate}) @ {ShortHostName} {ConfigReloadStatus} +serversignature = kissdx {Version} ({VersionDate}) @ {ShortHostName} {ConfigReloadStatus} # Add a sequence number at the start of every file / folder name sent to the player # to force a correct display sequence on DP-600/1600 players with new firmware (KNAS).
Um kissdx beim Systemstart zu starten einfach folgenden Eintrag in die rc.local
machen:
/etc/rc.local
# Start Kissdx /usr/sbin/kissdx -d -c /etc/kissdx.conf
so kann man prüfen ob der Dienst läuft:
ps ax|grep kissdx
4193 ? S 0:00 /usr/sbin/kissdx -v -c /etc/kissdx.conf