Page 56 of 58 FirstFirst ... 6465455565758 LastLast
Results 551 to 560 of 572

Thread: Conky Rhythmbox Python Script

  1. #551
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky Rhythmbox Python Script

    What about asking the author Ali Polatel: https://github.com/alip
    Last edited by kaivalagi; December 10th, 2011 at 09:03 PM.

  2. #552
    Join Date
    Dec 2010
    Beans
    6

    Re: Conky Rhythmbox Python Script

    Same problem here.

    Here's some outputs:

    Code:
    $ conkyRhythmbox --datatype=TI
    
    ERROR: Issue calling the dbus service:org.freedesktop.DBus.Error.UnknownMethod: Method "getVolume" with signature "" on interface "org.gnome.Rhythmbox.Player" doesn't exist
    Code:
    $ dbus-send --print-reply --dest=org.gnome.Rhythmbox /org/gnome/Rhythmbox org.freedesktop.DBus.Introspectable.Introspect
    
    method return sender=:1.333 -> dest=:1.342 reply_serial=2
       string "<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
    "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
    <node>
      <node name="Shell"/>
    </node>
    "
    Code:
    $ dbus-send --print-reply --dest=org.gnome.Rhythmbox /org/gnome/Rhythmbox/Player          org.gnome.Rhythmbox.Player.getPlayingUri
    
    Error org.freedesktop.DBus.Error.UnknownMethod: Method "getPlayingUri" with signature "" on interface "org.gnome.Rhythmbox.Player" doesn't exist
    Code:
    $ conkyRhythmbox --version
    conkyRhythmbox v.2.17
    
    Rhythmbox version is 2.90.1

    Yes, I have dbus plugins enabled in rhythmbox plugins list...
    Last edited by StiveKnoxx; January 5th, 2012 at 11:01 AM.

  3. #553
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky Rhythmbox Python Script

    Looks like they've changed the dbus methods...if someone could installed a tool called dfeet you will be able to view what is available...not much free time right now so I can't say when I will be able to review the situation and find out why things have broken.....I use MPD with Sonata these days

  4. #554
    Join Date
    Dec 2010
    Beans
    6

    Re: Conky Rhythmbox Python Script

    Code:
    $ dbus-send --print-reply --dest=org.gnome.Rhythmbox /org/gnome/Rhythmbox/Shell org.freedesktop.DBus.Introspectable.Introspect
    method return sender=:1.157 -> dest=:1.964 reply_serial=2
       string "<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
    "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
    <node>
      <interface name="org.freedesktop.DBus.Introspectable">
        <method name="Introspect">
          <arg name="data" direction="out" type="s"/>
        </method>
      </interface>
      <interface name="org.freedesktop.DBus.Properties">
        <method name="Get">
          <arg name="interface" direction="in" type="s"/>
          <arg name="propname" direction="in" type="s"/>
          <arg name="value" direction="out" type="v"/>
        </method>
        <method name="Set">
          <arg name="interface" direction="in" type="s"/>
          <arg name="propname" direction="in" type="s"/>
          <arg name="value" direction="in" type="v"/>
        </method>
        <method name="GetAll">
          <arg name="interface" direction="in" type="s"/>
          <arg name="props" direction="out" type="a{sv}"/>
        </method>
      </interface>
      <interface name="org.gnome.Rhythmbox.Shell">
        <method name="notify">
          <arg name="userRequested" type="b" direction="in"/>
        </method>
        <method name="clearQueue">
        </method>
        <method name="removeFromQueue">
          <arg name="uri" type="s" direction="in"/>
        </method>
        <method name="quit">
        </method>
        <method name="addToQueue">
          <arg name="uri" type="s" direction="in"/>
        </method>
        <method name="setSongProperty">
          <arg name="uri" type="s" direction="in"/>
          <arg name="propname" type="s" direction="in"/>
          <arg name="value" type="v" direction="in"/>
        </method>
        <method name="getSongProperties">
          <arg name="uri" type="s" direction="in"/>
          <arg name="arg1" type="a{sv}" direction="out"/>
        </method>
        <method name="present">
          <arg name="arg0" type="u" direction="in"/>
        </method>
        <method name="getPlaylistManager">
          <arg name="arg0" type="o" direction="out"/>
        </method>
        <method name="getPlayer">
          <arg name="arg0" type="o" direction="out"/>
        </method>
        <method name="activateSource">
          <arg name="uri" type="s" direction="in"/>
          <arg name="play" type="u" direction="in"/>
        </method>
        <method name="loadURI">
          <arg name="arg0" type="s" direction="in"/>
          <arg name="arg1" type="b" direction="in"/>
        </method>
        <signal name="databaseLoadComplete">
        </signal>
        <signal name="removableMediaScanFinished">
        </signal>
        <signal name="visibilityChanged">
          <arg type="b"/>
        </signal>
      </interface>
    </node>
    "

  5. #555
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky Rhythmbox Python Script

    So there is only the org.gnome.Rhythmbox.Shell interface for use now then? No .player one which was used previously?

    I'm installing Rhythmbox and d-feet to look myself, I need to see all offerings from the dbus service exposed by RB to be certain of what is going on...

    edit: I am not sure what you are seeing as I have just installed RB 2.90.1 on Arch (i.e. the vanilla install untouched by Ubuntu fingers) and I can't even see the dbus interface you are pulling back or the ones the script currently works with (i.e. org.gnome.Rhythmbox.Shell and org.gnome.Rhythmbox.Player)

    See the attached screenshot of what I see (i.e. org.gnome.Rhythmbox3)...

    Looks like even if I was to bring the script up-to-date with what I see I would be breaking previous builds of RB working with it....I feel that this script may go the same route as the conkyDeluge one did which is nowhere, due to the continual changing of interface methods required...

    What do you see on the dbus session bus for RB? That's what I would like to know...

    edit2: I suggest using rhythmbox-client...
    Attached Images Attached Images
    Last edited by kaivalagi; January 7th, 2012 at 01:04 PM.

  6. #556
    Join Date
    Apr 2009
    Location
    Decatur, Il.
    Beans
    129
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Conky Rhythmbox Python Script

    Hello, I have the example config up and running and I have Rhythmbox playing and yet it is displaying only Unkown for everything and 00.00.00 for time. I have tried many songs so far.
    We are 138

  7. #557
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky Rhythmbox Python Script

    Quote Originally Posted by Lateralus138 View Post
    Hello, I have the example config up and running and I have Rhythmbox playing and yet it is displaying only Unkown for everything and 00.00.00 for time. I have tried many songs so far.
    read my previous post above, the interface to communicate with RB changed and the script isn't updated to suit.

  8. #558
    Join Date
    Apr 2009
    Location
    Decatur, Il.
    Beans
    129
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Conky Rhythmbox Python Script

    Quote Originally Posted by kaivalagi View Post
    read my previous post above, the interface to communicate with RB changed and the script isn't updated to suit.
    Yeah I'm sorry I posted this from the beginning of the thread and only just seen the last few comments right after I posted.
    We are 138

  9. #559
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Conky Rhythmbox Python Script

    Quote Originally Posted by Lateralus138 View Post
    Yeah I'm sorry I posted this from the beginning of the thread and only just seen the last few comments right after I posted.
    Perhaps this: How To - Conky/Lua, Music and Cover Art - 2 Methods for 18 Apps. One never knows.

  10. #560
    Join Date
    Apr 2009
    Location
    Decatur, Il.
    Beans
    129
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Conky Rhythmbox Python Script

    Quote Originally Posted by Sector11 View Post
    Ok thank you very much, I'll check it out.
    We are 138

Page 56 of 58 FirstFirst ... 6465455565758 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •