ToppleKek / discord-rhythmbox-plugin

A simple plugin for rhythmbox to update your rich presence in discord
MIT License
56 stars 10 forks source link

plugin failed to load #12

Closed some-ash closed 3 years ago

some-ash commented 3 years ago

after adding the plugin for the first time it worked flawlessly but then after closing rhythmbox and opening it again made the plugin not work a similar error from someone else 2021-07-31_17-55

ToppleKek commented 3 years ago

Please run Rhythmbox from a terminal and post the output. You should see a line similar to: ** (rhythmbox:42499): WARNING **: 16:41:42.710: Error importing plugin 'discord-status': then post the error it gives.

some-ash commented 3 years ago

it gave this error

(rhythmbox:75053): WARNING : 07:40:35.440: Error importing plugin 'discord-status': Traceback (most recent call last): File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "/usr/lib/rhythmbox/plugins/discord-rhythmbox-plugin/discord-status.py", line 10, in from status_prefs import discord_status_prefs File "/usr/lib/rhythmbox/plugins/discord-rhythmbox-plugin/status_prefs.py", line 6, in import rb ModuleNotFoundError: No module named 'rb'

(rhythmbox:75053): libpeas-WARNING **: 07:40:35.440: Error loading plugin 'discord-status'

ToppleKek commented 3 years ago

That import isn't even required (copy paste error, oops). Try removing the import rb line or update the plugin with the latest commit.

some-ash commented 3 years ago

It's working now ^^, by the way is there some way to show the elapsed time instead of remaining time on the status?

ToppleKek commented 3 years ago

Yeah I can definitely add that when I get the chance this week.

some-ash commented 3 years ago

Looking forward to it!