rev 2958 - kde-extras/codeine/trunk/debian

Achim Bohnet ach-guest at costa.debian.org
Thu Jan 19 02:22:07 UTC 2006


Author: ach-guest
Date: 2006-01-19 02:22:07 +0000 (Thu, 19 Jan 2006)
New Revision: 2958

Modified:
   kde-extras/codeine/trunk/debian/TODO
Log:
codeine: TODO:
	o summary of my failed try for media support
	  and what need to be still done/solved.

Modified: kde-extras/codeine/trunk/debian/TODO
===================================================================
--- kde-extras/codeine/trunk/debian/TODO	2006-01-19 00:53:54 UTC (rev 2957)
+++ kde-extras/codeine/trunk/debian/TODO	2006-01-19 02:22:07 UTC (rev 2958)
@@ -1,10 +1,24 @@
-o check kpart can/is used
+
+o check kpart is usable
+
 o think about priority in desktop file.  Need to be
   discussed with kubuntu people what they want as default
-o add konq service menu
+  as the video player
+
+o add konq service menu.  Not working! (xine complains). Examples
+  appended.  I've send a bug/wishlist to Max Howell (19-Jan-2006)
+  Problem is the KDE use media:/ URLs  but codeine expect
+  a MRL.  KDE: media:/hdc  codeine: DVD|VCD:/dev/hdc
+  Mapping is not trival without lots special cases to my
+  little script appended fails miserable :(
+ 
 o comment out some code that writes the output stdout
+  (maybe lots of stuff from xine :()
+
 o rosettafication
-o rules: split generic scons part out in scons.mk
+
+o rules: split generic scons part out into scons.mk
+
 o current template rules.mk on KubuntuPackagingGuide gets
   compile time prefix and installtime DESTDIR wrong:
   Use during compile time
@@ -17,3 +31,51 @@
 o DONE: more meat in the manpage
 o DONE: cleanup rules file: try with cdbs, much cleaner ;)
 o DONE: add kaffeine 'Media Player' translations
+
+------------
+
+First try on media support did not work:
+
+==> /usr/share/apps/konqueror/servicemenus/codeine_play_dvd.desktop <==
+[Desktop Entry]
+Encoding=UTF-8
+ServiceTypes=media/dvdvideo
+Actions=Play;
+X-KDE-Priority=TopLevel
+
+[Desktop Action Play]
+Name=Play DVD with Codeine
+Name[de]=DVD abspielen mit Codeine
+Icon=codeine
+Exec=/usr/share/apps/codeine/codeine-media dvd %u
+
+==> /usr/share/apps/konqueror/servicemenus/codeine_play_vcd.desktop <==
+[Desktop Entry]
+Encoding=UTF-8
+ServiceTypes=media/svcd,media/vcd
+Actions=Play;
+X-KDE-Priority=TopLevel
+
+[Desktop Action Play]
+Name=Play (S)VCD with Codeine
+Name[de]=(S)VCD abspielen mit Codeine
+Icon=codeine
+Exec=/usr/share/apps/codeine/codeine-media vcd %u
+
+==> /usr/share/apps/codeine/codeine-media <==
+#!/bin/sh
+
+type="$1"
+url="$2"
+
+case "$url" in
+        media:*)  xineMRL="$type:/media${url/media:}";;
+        system:*) xineMRL="$type:${url/system:/}";;
+        *)        xineMRL="$url";;
+esac
+
+echo "codeine-media  in: <$url>"
+echo "codeine-media out: <$xineMRL>"
+exit
+exec codeine "$xineMRL"
+




More information about the pkg-kde-commits mailing list