<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -12,13 +12,13 @@ UI hints
     line to start playing the first track in the search result.
 
 
-DCOP interface XXX-KDE4
+DBus interface
 ==============
 
-Minirok exports a DCOP interface containing functions to perform
-Playlist actions (play, pause, playPause, stop, next, previous,
-stopAfterCurrent), and a function to retrieve the currently playing
-track, &quot;nowPlaying&quot;.
+Minirok exports a DBus interface; the object path is /Player, and the
+service org.kde.minirok. There are functions to perform playlist actions
+(Play, Pause, PlayPause, Stop, Next, Previous, StopAfterCurrent), and a
+function to retrieve the currently playing track, &quot;NowPlaying&quot;.
 
 This last functions comes in two flavours: without an argument, it will
 return a string like &quot;Artist - Title&quot;, or just &quot;Title&quot; if there's no
@@ -26,21 +26,20 @@ known artist. However, you can pass a string argument that will be
 formatted against a dict of the tags with the Python % operator. For
 example:
 
-  % dcop minirok player nowPlaying &quot;%(Artist)s - %(Title)s (%(Album)s)&quot;
+  % qdbus org.kde.minirok \
+      /Player NowPlaying &quot;%(Artist)s - %(Title)s [%(Album)s]&quot;
 
 Do not forget the &quot;s&quot; after the brackets, it's needed by Python.
 
-There is also a appendToPlaylist function, which does the same as
-`minirok --append`. The function takes a QStringList as argument, so to
-invoke it you must place the arguments between square brackets, like this:
+There is also an AppendToPlaylist function, which does the same as
+`minirok --append`. The function takes a list of paths as argument, so
+to invoke it you must place the arguments between brackets, like this:
 
-  % dcop minirok player appendToPlaylist [ /path/to/file.mp3 ... ]
+  % qdbus org.kde.minirok \
+      /Player AppendToPlaylist '(' /path/to/file.mp3 ... ')'
 
 Note that you have to specify the full paths of files, or it won't work.
 
-Finally, there is a toggleWindow function, which hides/shows the main
-window.
-
 
 Regular expressions
 ===================</diff>
      <filename>README.Usage</filename>
    </modified>
    <modified>
      <diff>@@ -83,25 +83,33 @@
   &lt;/refsect1&gt;
   
   &lt;refsect1&gt;
-    &lt;title&gt;DCOP INTERFACE&lt;/title&gt;
+    &lt;title&gt;DBUS INTERFACE&lt;/title&gt;
     &lt;para&gt;
-      Minirok offers a DCOP interface to control the player and various
-      other bits. To invoke a DCOP function, run from a terminal
-      &lt;command&gt;dcop minirok player &lt;replaceable&gt;functionName&lt;/replaceable&gt;&lt;/command&gt;.
-      Here's a list of available functions:
+      Minirok offers a DBus interface to control the player and various
+      other bits. At the moment a single object /Player is provided,
+      under the org.kde.minirok service. To invoke a DBus method, run
+      from a terminal &lt;command&gt;qdbus org.kde.minirok /Player
+        &lt;replaceable&gt;methodName&lt;/replaceable&gt;&lt;/command&gt;.
+      &lt;command&gt;dbus-send&lt;/command&gt;(1) should also work, but
+      then you'll need to fully qualify the method name.
     &lt;/para&gt;
-    &lt;programlisting&gt;    play
-    pause
-    playPause
-    stop
-    next
-    previous
-    nowPlaying
-    toggleWindow
-    appendToPlaylist
-    stopAfterCurrent&lt;/programlisting&gt;
     &lt;para&gt;
-      See the &lt;filename&gt;README.Usage&lt;/filename&gt; file for details.
+      Here's a list of available methods:
+    &lt;/para&gt;
+    &lt;programlisting&gt;    Play
+    Pause
+    PlayPause
+    Stop
+    Next
+    Previous
+    NowPlaying
+    AppendToPlaylist
+    StopAfterCurrent&lt;/programlisting&gt;
+    &lt;para&gt;
+      See the &lt;filename&gt;README.Usage&lt;/filename&gt; file for details. Note
+      that this interface will only be available if the required
+      dependencies are installed. See the &lt;filename&gt;README&lt;/filename&gt;
+      file a list of these.
     &lt;/para&gt;
   &lt;/refsect1&gt;
 </diff>
      <filename>minirok.xml</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>978758021ff3eaca0583a93eff36ceb26a69e083</id>
    </parent>
  </parents>
  <author>
    <name>Adeodato Sim&#243;</name>
    <email>dato@net.com.org.es</email>
  </author>
  <url>http://github.com/dato/minirok/commit/6a7803c9fbe8700809a447f34feec51e66cf6242</url>
  <id>6a7803c9fbe8700809a447f34feec51e66cf6242</id>
  <committed-date>2008-04-09T02:36:37-07:00</committed-date>
  <authored-date>2008-04-08T11:39:14-07:00</authored-date>
  <message>Update README.Usage and the man page for DBus.</message>
  <tree>03caefeb4ec943f02859def35cd8e71f9f3a29d0</tree>
  <committer>
    <name>Adeodato Sim&#243;</name>
    <email>dato@net.com.org.es</email>
  </committer>
</commit>
