In doing a google search for
There are hundreds of references to many python based apps...Issue calling the dbus service:'NoneType' object has no attribute 'find'Unknown
Just saying we are not on an island here...
In doing a google search for
There are hundreds of references to many python based apps...Issue calling the dbus service:'NoneType' object has no attribute 'find'Unknown
Just saying we are not on an island here...
that error stems from no string data coming back which the .find method used won't be useable with either
I'm taking a look at it all now
edit: @VastOne, for info we need to debug the code to find out what is wrong, the code is home grown so searching google wont help. I have already found the culprit and am testing through all the code to make sure nothing else crops up too....location.find doesn't work when there is no location...
The reason we have issues is because the properties returned via d-bus are minimal for last fm and soma fm when compared to other sources, and code breaks when checking for things that are normally there with say mp3s etc....if you compare playing an mp3 and somafm in d-feet you'll see the difference in info retrieved for the getmetadata method...
For debugging I am using pydev in eclipse...
edit2: Find attached fixed .py file, let me know how you get on if this replaces your local version...should be working now. Once I get the thumbs up I'll release the changes in a new v2.03 package
Last edited by kaivalagi; February 3rd, 2011 at 10:14 AM.
UPDATE
Updates as follows:
- Updated script to work with last fm and soma fm info properly, only title, artist and coverart are available as this is the limitation set by the player
Package changes can be seen here: https://launchpad.net/~conky-compani...source.changes
The apt packages should be available soon
Thanks so much for this was using your banshee script before but now i have switched to kde so had to change my media player this works perfectly
Thought i would post what i have done with it keep the great work up
hi, i cant get it vork the part where it supposed to shuw the album art i followed the steps exactly but nothibg happens, what did i mess up?
Bookmarks