Page 22 of 24 FirstFirst ... 122021222324 LastLast
Results 211 to 220 of 232

Thread: Conky Exaile Python Script

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

    Re: Conky Exaile Python Script

    UPDATE

    Updates as follows:
    • Added use_tag_image_only flag to the GetCover script, if set to true (false by default) only tag images will get used for cover art output
    • Updated main script to only actually copy over found cover art when --datatype=CA is requested


    Package changes can be seen here: https://launchpad.net/~conkyhardcore...source.changes

    The apt packages should be available soon

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

    Re: Conky Exaile Python Script

    UPDATE

    Updates as follows:
    • Fixed bug with GetCover script due to the tag image flag that was added


    Package changes can be seen here: https://launchpad.net/~conkyhardcore...source.changes

    The apt packages should be available soon

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

    Re: Conky Exaile Python Script

    IMPORTANT NEWS

    All the script packages have now been copied into the Conky Companions PPA. Any package updates will be provided by the team through this new ppa. The ppa can be found here: https://launchpad.net/~conky-companions/+archive/ppa. To use this ppa first delete the old ppa files using this:

    Code:
    sudo rm /etc/apt/sources.list.d/m-buck* && sudo rm /etc/apt/sources.list.d/conkyhardcore*
    Then follow the modified first post instructions for the scripts

    Script updates will only be published through this new ppa going forwards

  4. #214
    Join Date
    Jan 2011
    Beans
    6

    Re: Conky Exaile Python Script

    Hey, loving this so far

    Unfortunately, I can't seem to get the cover art feature working. I apologise if this has already been fixed before, but I couldn't find anything.
    conkyExaile -d CA just returns a newline and conkyExaile-GetCoverart returns a host of errors when the track changes.

    Code:
    jonno@capricorn ~/bin/conkyexaile $ ./conkyExaile -d CA
    
    jonno@capricorn ~/bin/conkyexaile $ ./conkyExaile-GetCoverart 
    conkyExaile-GetCoverart - Cover art will be copied to '/tmp/exaile-coverart.jpg'
    * Initialising: Creating a D-Bus session...
    * Listening: waiting for a track change...
    Traceback (most recent call last):
      File "/home/jonno/bin/conkyexaile/conkyExaile-GetCoverart.py", line 97, in getCoverartPath
        imgString = "".join(chr(byte) for byte in self.iface.GetCoverData())
      File "/usr/lib64/python2.6/site-packages/dbus/proxies.py", line 140, in __call__
        **keywords)
      File "/usr/lib64/python2.6/site-packages/dbus/connection.py", line 622, in call_blocking
        message, timeout)
    DBusException: org.freedesktop.DBus.Python.NameError: Traceback (most recent call last):
      File "/usr/lib64/python2.6/site-packages/dbus/service.py", line 702, in _message_cb
        retval = candidate_method(self, *args, **keywords)
      File "/usr/lib64/exaile/xl/xldbus.py", line 489, in GetCoverData
        cover = covers.MANAGER.get_cover(player.PLAYER.current)
    NameError: global name 'player' is not defined
    
    ** Track Changed: No cover art images known, Checking for embedded images in audio file...
    *** Error: Begin
    Traceback (most recent call last):
      File "/home/jonno/bin/conkyexaile/conkyExaile-GetCoverart.py", line 70, in OnTrackChange
        if len(self.getCoverartImage(self.COVERART_DESTINATION)) > 0:
      File "/home/jonno/bin/conkyexaile/conkyExaile-GetCoverart.py", line 110, in getCoverartImage
        if "location" in self.props:
    AttributeError: Exaile_GetCoverart instance has no attribute 'props'
    *** Error: End
    * Listening: waiting for a track change...
    I'm using Gentoo (so I'm no stranger to things not working, at least ) so I had to set up from the tgz. I'm not sure if I messed something up on install; I just extracted, changed the paths in the scripts and installed anything that Python moaned about not having.

    Oh, and...
    Code:
    jonno@capricorn ~/bin/conkyexaile $ python --version
    Python 2.6.6
    Thanks for your work so far, if this is a genuine bug and not just my being stupid, I'll do what I can to help
    Last edited by Sporktacular; January 14th, 2011 at 02:57 PM.

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

    Re: Conky Exaile Python Script

    Hi Sporktacular

    Could you tell me what version of the script and exaile you are running, I am running conkyExaile v.2.16 and Exaile v0.3.3.0-dev. Also do you actually have Exaile running when you use the script? It just looks like the services required are not available to connect to...

    If I recall cover art retrieval wasn't running until this version as it only now has the coverart methods provided but I can't quite remember exactly.

    I've attached a screenshot of d-feet showing the service interfaces in my version for reference (GetCoverArt is the method required). Might be an idea to install d-feet on your system and see if you see the same interfaces available for exaile, they are needed by the script.

    Either method is working for me:

    Code:
    [user@system ~]$ conkyExaile --datatype=CA
    /tmp/cover
     [user@system ~]$ conkyExaile-GetCoverart
    conkyExaile-GetCoverart - Cover art will be copied to '/tmp/exaile-coverart.jpg'
    * Initialising: Creating a D-Bus session...
    * Listening: waiting for a track change...
    ** Track changed: Copying '/tmp/exaile-2630187a-1fed-11e0-9c1b-001a927d44a5.jpg' to '/tmp/exaile-coverart.jpg'
    * Listening: waiting for a track change...
    Although I've noticed the file naming isn't in line between the 2 methods...it needs to ideally be /tmp/cover in the getcover scripts too...

    Anyway, let me know more details on versions and we'll take it from there
    Attached Images Attached Images
    Last edited by kaivalagi; January 14th, 2011 at 03:59 PM.

  6. #216
    Join Date
    Apr 2009
    Location
    JVegas, TN
    Beans
    102
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Conky Exaile Python Script

    Trying to get album art displayed as well. My first issue was in regards to a python dependency for id tags so I installed the pythoneye3d package. However I'm still not getting the desired results. Here's the terminal display:
    Code:
    crownedzero@mobil:~$ conkyExaile --datatype=CA
    
    crownedzero@mobil:~$ conkyExaile-GetCoverart
    conkyExaile-GetCoverart - Cover art will be copied to '/tmp/exaile-coverart.jpg'
    * Initialising: Creating a D-Bus session...
    * Listening: waiting for a track change...
    Traceback (most recent call last):
      File "/usr/share/conkyexaile/conkyExaile-GetCoverart.py", line 97, in getCoverartPath
        imgString = "".join(chr(byte) for byte in self.iface.GetCoverData())
      File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
        **keywords)
      File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
        message, timeout)
    DBusException: org.freedesktop.DBus.Python.NameError: Traceback (most recent call last):
      File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
        retval = candidate_method(self, *args, **keywords)
      File "/usr/lib/exaile/xl/xldbus.py", line 489, in GetCoverData
        cover = covers.MANAGER.get_cover(player.PLAYER.current)
    NameError: global name 'player' is not defined
    
    ** Track Changed: No cover art images known, Checking for embedded images in audio file...
    *** Error: Begin
    Traceback (most recent call last):
      File "/usr/share/conkyexaile/conkyExaile-GetCoverart.py", line 70, in OnTrackChange
        if len(self.getCoverartImage(self.COVERART_DESTINATION)) > 0:
      File "/usr/share/conkyexaile/conkyExaile-GetCoverart.py", line 110, in getCoverartImage
        if "location" in self.props:
    AttributeError: Exaile_GetCoverart instance has no attribute 'props'
    *** Error: End
    * Listening: waiting for a track change...
    This first call for a datatype results in a newline whereas the getcoverart appears to work until there is a track change in which I receive errors.

    Code:
    crownedzero@mobil:~$ conkyExaile --datatype=TI --verbose
    *** INITIAL OPTIONS:
        datatype: TI
        template: None
        ratingchar: *
        nounknownoutput: False
        secondsoutput: False
        maxlength: 0
        verbose: True
        errorlogfile: None
        infologfile: None
    INFO: Setting up dbus interface
    INFO: Calling dbus interface for music data
    INFO: Preparing output for datatype:TI
    11 - Rap Phenomenon Feat. Method Man & Redman
    This appears to be working.

    python -V returns 2.6.6
    conkyExaile -V returns 2.16
    exaile 0.3.2.0-0ubuntu3

    Not sure if there's anymore info I can provide on this. Thanks for any responses.
    . . . go to work, send your kids to school, follow fashion, act normal, walk on the pavements, watch T.V., save for your old age, obey the law. Repeat after me: I am free. --anonymous

  7. #217
    Join Date
    Jan 2011
    Beans
    6

    Re: Conky Exaile Python Script

    I'm running exaile when I start the script, and if I understand D-Feet correctly, I've managed to find the same thing that you're showing?

    My conkyExaile is v2.16 (actually says v.2.16 but I figured that's what it meant )
    exaile itself is 3.2.0, which is the latest on Gentoo's Portage. I can try compiling the version you use to see if that's the issue? My Linux knowledge is pretty rudimentary so I'm sorry I can't help more.
    Attached Images Attached Images

  8. #218
    Join Date
    Nov 2008
    Location
    #!
    Beans
    1,749

    Re: Conky Exaile Python Script

    For me, to get everything in the scripts to work the way I wanted them to, I had to move up to Exaile 0.3.3.0-dev version.

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

    Re: Conky Exaile Python Script

    double post
    Last edited by kaivalagi; January 14th, 2011 at 08:42 PM.

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

    Re: Conky Exaile Python Script

    Quote Originally Posted by VastOne View Post
    For me, to get everything in the scripts to work the way I wanted them to, I had to move up to Exaile 0.3.3.0-dev version.
    If I recall (maybe you can help here VastOne as my memory has walked out on me recently...) didn't we have discussions on this same issue with the older versions before and came to the conclusion that v0.3.2.x just didn't provide cover art info correctly? I just can't remember if it was this or one of the other many music player scripts

    I think the simple answer anyway if for all those wanting cover art support with this script to get 0.3.3.x installed on your distro's or just wait until 3.3.x is stable and not a dev version...it's working for me and VastOne on different distros (me on Arch, VastOne on a Debian derivative, #! or Ubuntu?)

Page 22 of 24 FirstFirst ... 122021222324 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
  •