Coder Social home page Coder Social logo

lastfmplaycount's People

Contributors

brambonne avatar elzoona avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

lastfmplaycount's Issues

'Synchronize the entire collection' crashes Rhythmbox

When I click the 'Synchronize the entire collection' button and then try to play a song, Rhythmbox crashes.

Here's the output:
(rhythmbox:30747): libpeas-CRITICAL *_: show_configure_cb: assertion GTK_IS_WIDGET (conf_widget)' failed /usr/lib/python2.7/dist-packages/gi/types.py:43: Warning: g_value_get_uint: assertionG_VALUE_HOLDS_UINT (value)' failed
return info.invoke(_args, *kwargs)
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
*

ERROR:/build/buildd/pygobject-3.0.0/gi/_gobject/pygobject.c:929:pygobject_new_full: assertion failed: (tp != NULL)
Aborted

Using Rhythmbox 2.95 / Ubuntu 11.10.

Plugin fails to load

I installed all four files in /usr/lib/rhythmbox/plugins/lastfmplaycount and the plugin appears in Rhythmbox's "Configure Plugins", however when I click to enable it the plugin reports that it failed to load. Note that I do have the last.fm plugin enabled and am using Ubuntu 11.10 amd64 with Rhythmbox 2.90.1. I'm not sure how to show any more detailed information.

Segfault on starting rhythmbox with lastfmplaycount

$ rhythmbox -D lastfmplaycount
/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
  import gobject._gobject
(15:09:44) [0xa6b0c0] [Config._parse_username] /home/deepcyan/.local/share/rhythmbox/plugins/lastfmplaycount/lastfmplaycountconfig.py:267: Parsed Last.fm username: deepcyan
(15:09:44) [0xa6b0c0] [Config.set_run_update_all] /home/deepcyan/.local/share/rhythmbox/plugins/lastfmplaycount/lastfmplaycountconfig.py:231: Run_update False
(15:09:44) [0xa6b0c0] [LastfmPlaycountPlugin.do_activate] /home/deepcyan/.local/share/rhythmbox/plugins/lastfmplaycount/lastfmplaycount.py:113: Activation finished
Segmentation fault (core dumped)

Any ideas?

feature request

What a nice plugin!
Can we expect to see it mass updating playcount/loved tracks in future?

keep the good job!

batch update stops at a point

Tried to run this 2 times against my library. It goes ok but after a while it returns this is error:

(12:09:29) [0x7faa98113ae0] [LastfmPlaycountPlugin.update_entry] .local/share/rhythmbox/plugins/lastfmplaycount/lastfmplaycount.py:244: Setting playcount of "The John Butler Trio - Used to Get High" to 4
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(_self.__args, *_self.__kwargs)
File "/home/xand/.local/share/rhythmbox/plugins/lastfmplaycount/lastfmplaycount.py", line 95, in _update_all_unthreaded
self.update_entry(self.db.entry_lookup_by_id(id))
File "/home/xand/.local/share/rhythmbox/plugins/lastfmplaycount/lastfmplaycount.py", line 126, in update_entry
playcount, lovedtrack = self.get_lastfm_info(artist, title)
File "/home/xand/.local/share/rhythmbox/plugins/lastfmplaycount/lastfmplaycount.py", line 144, in get_lastfm_info
response = minidom.parse(urlopen("http://ws.audioscrobbler.com/2.0/?%s" % params))
File "/usr/lib/python2.7/urllib.py", line 84, in urlopen
return opener.open(url)
File "/usr/lib/python2.7/urllib.py", line 205, in open
return getattr(self, name)(url)
File "/usr/lib/python2.7/urllib.py", line 349, in open_http
'got a bad status line', None)
IOError: ('http protocol error', 0, 'got a bad status line', None)

Install script

What about a simple install script? Anyway, you should add -p flag to the mkdir command in readme file as plugins dir is quite unlikely to exist by default.
p.s. and thanks for a nice plugin, I missed it :)

Nothing happens when I use "Update Last FM playcount"

When I hit "Update Last FM Playcount", nothing happens. Rhythmbox also doesn't crash or something.

Here is my rhythmbox -D lastfmplaycount output:

(rhythmbox:5770): Gtk-CRITICAL **: gtk_css_provider_load_from_path: assertion 'path != NULL' failed

(rhythmbox:5770): GLib-GObject-CRITICAL **: object SoupServer 0x1f4f4e0 finalized while still in-construction

(rhythmbox:5770): GLib-GObject-CRITICAL **: Custom constructor for class SoupServer returned NULL (which is invalid). Please use GInitable instead.
(21:07:44) [0x7f5ca4006060] [Config._parse_username] /usr/lib/rhythmbox/plugins/lastfmplaycount/lastfmplaycountconfig.py:181: Parsed Last.fm username: rearlight
(21:07:44) [0x7f5ca4006060] [LastfmPlaycountPlugin._init_ui] /usr/lib/rhythmbox/plugins/lastfmplaycount/lastfmplaycount.py:192: Extending the UI with our own actions
(21:07:44) [0x7f5ca4006060] [LastfmPlaycountPlugin.do_activate] /usr/lib/rhythmbox/plugins/lastfmplaycount/lastfmplaycount.py:116: Activation finished
Unable to open ~/.mtpz-data for reading, MTPZ disabled.(21:08:00) [0x7f5c901e1cd0] [LastfmPlaycountPlugin._update_all_unthreaded] /usr/lib/rhythmbox/plugins/lastfmplaycount/lastfmplaycount.py:257: Starting update of entire collection
TypeError: _update_entry_slowly() missing 1 required positional argument: 'entry'
TypeError: _update_entry_slowly() missing 1 required positional argument: 'entry'
TypeError: _update_entry_slowly() missing 1 required positional argument: 'entry'
TypeError: _update_entry_slowly() missing 1 required positional argument: 'entry'
TypeError: _update_entry_slowly() missing 1 required positional argument: 'entry'
TypeError: _update_entry_slowly() missing 1 required positional argument: 'entry'
TypeError: _update_entry_slowly() missing 1 required positional argument: 'entry'
[and than this error on and on]

I hope you can fix this or help me, I'm really hyped about that plugin! =D

Best wishes,
rearlight

Choosing preferences crashes Rhythmbox

When I click the 'Preferences' button in plugins for LastfmPlaycount, Rhythmbox crashes.

sus@seventysix:~$ rhythmbox -D lastfmplaycount

/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
import gobject._gobject
(13:01:37) [0x1b380c0] [Config._parse_username] /usr/lib/rhythmbox/plugins/lastfmplaycount/lastfmplaycountconfig.py:267: Parsed Last.fm username: sarcozona
(13:01:37) [0x1b380c0] [Config.set_run_update_all] /usr/lib/rhythmbox/plugins/lastfmplaycount/lastfmplaycountconfig.py:231: Run_update False
(13:01:37) [0x1b380c0] [LastfmPlaycountPlugin.do_activate] /usr/lib/rhythmbox/plugins/lastfmplaycount/lastfmplaycount.py:109: Activation finished
(rhythmbox:2324): Rhythmbox-DEBUG: Received SaveYourself(SmSaveLocal, !Shutdown, SmInteractStyleNone, !Fast) in state idle
(rhythmbox:2324): Rhythmbox-DEBUG: Setting initial properties
(rhythmbox:2324): Rhythmbox-DEBUG: Sending SaveYourselfDone(True) for initial SaveYourself
(rhythmbox:2324): Rhythmbox-DEBUG: Received SaveComplete message in state save-yourself-done
(13:02:09) [0x2f2b9b0] [LastfmPlaycountPlugin.update_entry] /usr/lib/rhythmbox/plugins/lastfmplaycount/lastfmplaycount.py:249: Playcount for 'tUnE-yArDs' - 'Doorstep' remained the same. Not updating
(13:02:28) [0x2b44aa0] [LastfmPlaycountPlugin.update_entry] /usr/lib/rhythmbox/plugins/lastfmplaycount/lastfmplaycount.py:244: Setting playcount of "'listenlisten' - 'Watchman'" to 2
(13:03:11) [0x1b380c0] [Config._parse_username] /usr/lib/rhythmbox/plugins/lastfmplaycount/lastfmplaycountconfig.py:267: Parsed Last.fm username: sarcozona
(13:03:11) [0x1b380c0] [Config.set_run_update_all] /usr/lib/rhythmbox/plugins/lastfmplaycount/lastfmplaycountconfig.py:231: Run_update False
(13:03:11) [0x1b380c0] [Config.do_create_configure_widget] /usr/lib/rhythmbox/plugins/lastfmplaycount/lastfmplaycountconfig.py:90: Creating configuration dialog
Traceback (most recent call last):
File "/usr/lib/rhythmbox/plugins/lastfmplaycount/lastfmplaycountconfig.py", line 49, in do_create_configure_widget
builder.add_from_file(rb.find_plugin_file(self, "lastfmplaycount-prefs.ui"))
File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43, in function
return info.invoke(_args, *_kwargs)
TypeError: Argument 1 does not allow None as a value
Segmentation fault

Plugin not functional in rhythmbox 3.3.1

After install, clicking on "Configure" in the plugins menu the following is thrown

Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/lastfmplaycount/lastfmplaycountconfig.py", line 26, in do_create_configure_widget
    builder.add_from_file(rb.find_plugin_file(self, "lastfmplaycount-prefs.ui"))
TypeError: Argument 1 does not allow None as a value

(rhythmbox:25120): libpeas-CRITICAL **: show_configure_cb: assertion 'GTK_IS_WIDGET (conf_widget)' failed

Still maintained?

Is this plugin still maintained? I seem to have an issue enabling it under the most recent build of Rhythmbox.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.