From kde-commits Sun Sep 03 16:29:11 2006 From: Koos Vriezen Date: Sun, 03 Sep 2006 16:29:11 +0000 To: kde-commits Subject: extragear/multimedia/doc/kmplayer Message-Id: <1157300951.221201.15094.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=115730101705068 SVN commit 580477 by vriezen: Ah yes, the idea for adding playlist view section was to document the mplayeropts setting M +44 -3 index.docbook --- trunk/extragear/multimedia/doc/kmplayer/index.docbook #580476:580477 @@ -126,9 +126,43 @@ on an item, its group and all its child groups will be copied to the current category and playings starts at the clicked item position. +
+Storage format + +The data is stored in +~/.kde/share/apps/kmplayer/playlist.xml, and its format +is like this example. See here for +manipulating this data directly. + +<playlist> + <group title="feeds"> + <item url="http://www.lugradio.org/episodes.rss"/> + <item url="http://science.nasa.gov/podcast.xml"/> + <item url="http://www.theworld.org/rss/tech.xml"/> + </group> + <group title="iradio"> + <group title="sunny"> + <item mplayeropts="-cache 256" url="http://www.swissgroove.ch/listen.m3u"/> + <item url="http://www.boombasticradio.com/shoutcast/64.pls"/> + </group> + <group title="rainy"> + <item url="http://www.radioparadise.com/musiclinks/rp_64.m3u"/> + <item url="http://www.woxy.com/stream/wma64.asx"/> + <item url="http://radionigel.com/winmedia.asx"/> + <item url="rtsp://livestreams.omroep.nl/live/vpro/vpro3voor12radioalt.rm"/> + </group> + </group> +</playlist> + +Also note that for MPlayer custom options can be +set using the mplayeropts argument. &kmplayer; +searches for this option upwards in the tree, so you can set it for a whole +group and override it for a child group or item. +
-
+
+
Direct XML editing The current, Television and @@ -148,6 +182,10 @@ All changes are lost when leaving edit mode without syncing with playlist. + +Because of the lazyness of &kmplayer;'s author(s), some features can only be +enabled by editing the XML. +
@@ -258,8 +296,11 @@ &kmplayer; can play from TV cards using MPlayer or XVideo (using kxvplayer). Before you can watch TV, you have to configure which device to use and the TV channels. You can use the scanner from the configure dialog for this or edit the config file manually. - The config file for TV settings is a XML file, located ~/.kde/share/apps/kmplayer/tv.xml. The XML format is like this example: - +The config file for TV settings is a XML file, located +~/.kde/share/apps/kmplayer/tv.xml. See +here for manipulating this data directly. +The XML format is like this example: + <tvdevices> <device path="/dev/video0" width="320" height="240" name="BT878 video (Hauppauge (bt878))" audio="" minwidth="48" minheight="32" maxwidth="924" maxheight="576" playback="0" xvport="240">