owais / remember-the-rhythm Goto Github PK
View Code? Open in Web Editor NEWRhythbox plugin to remember the last playing song and position
License: GNU General Public License v3.0
Rhythbox plugin to remember the last playing song and position
License: GNU General Public License v3.0
For some reason playlists are not loaded in RhythmBox at the time of DB load-complete
event.
To circumvent this, I've changed the way plugin.load_complete is invoked:
def try_load(self, *args, **kwargs):
if len(self.playlist_manager.get_playlists()) == 0:
GObject.idle_add(self.load_complete)
else:
self.load_complete()
and registred this method for load-complete
event instead of just self.load_complete
.
It appears the call to "self.source.get_property_views()" results in an assertion error:
(rhythmbox:8410): Gtk-WARNING **: mnemonic "s" wasn't removed for widget (0x5601403ba990)
/home/achasen/.local/share/rhythmbox/plugins/remember-the-rhythm/remember-the-rhythm.py:271: Warning: g_type_instance_get_private: assertion 'instance != NULL && instance->g_class != NULL' failed
views = self.source.get_property_views()
Segmentation fault (core dumped)
This just started when I updated to F25 on Wayland
rhythmbox-3.4.1-1.fc25.x86_64
The simple apt-get install method no longer works. The repository no longer seems to exist, and returns a 404 error.
I installed this via the precise ppa, there was one issue and i fixed it
in line 2 of /usr/lib/rhythmbox/plugins/remember-the-rhythm/remember-the-rhythm.plugin
i had to change python
to python3
edit: does not remember playtime, aside from that it works
Description of this plugin has words: "Rhythbox plugin to remember the last playing song and position", but the Rhytmbox with your plugin don't remember last played position (playback time) .
I'm loving your plug-in and it works fine for me. Thank you!
But what annoys me is that the last track automatically begins to play at Rhythmbox startup.
It would be great, if the track could be paused instead of directly playing when starting Rhythmbox.
Or perhaps a preference option to set the default behavior.
Under Debian 7, Rhythmbox v2.97 with the 0.3.1 release of this plugin, remembering playback position does not always work. The previously-playing song or podcast plays, but for the first few runs, it started from the beginning instead of resuming at its previous position. It later worked, but this output came from an attempt to run it from the console:
File "/usr/lib/rhythmbox/plugins/remember-the-rhythm/remember-the-rhythm.py", line 110, in init_source
value = self.browser_values_list[i]
File "/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py", line 327, in getitem
raise IndexError('list index out of range')
IndexError: list index out of range
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.