fossfreedom / remember-the-rhythm Goto Github PK
View Code? Open in Web Editor NEWThis project forked from owais/remember-the-rhythm
Rhythmbox plugin to remember the last playing song and position
License: GNU General Public License v3.0
This project forked from owais/remember-the-rhythm
Rhythmbox plugin to remember the last playing song and position
License: GNU General Public License v3.0
Hello,
The plugin seems to have worked one time at least because it now always plays the same (radio) source at startup. And it don't saves the last source or even the play state.
Here is the trace I have :
$ rhythmbox
(rhythmbox:24664): Gtk-WARNING **: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client
(rhythmbox:24664): libsoup-CRITICAL **: soup_server_quit: assertion 'priv->listeners != NULL' failed
sys:1: Warning: object SoupServer 0x2059770 finalized while still in-construction
sys:1: Warning: Custom constructor for class SoupServer returned NULL (which is invalid). Please use GInitable instead.
sys:1: PyGIWarning: GConf was imported without specifying a version first. Use gi.require_version('GConf', '2.0') before import to ensure that the right version gets loaded.
(rhythmbox:24664): Gtk-WARNING **: Duplicate child name in GtkStack: Ajouter à la liste de lecture
(rhythmbox:24664): Gtk-WARNING **: Duplicate child name in GtkStack: Ajouter à la liste de lecture
(rhythmbox:24664): Gtk-WARNING **: Duplicate child name in GtkStack: Ajouter à la liste de lecture
(rhythmbox:24664): Gtk-WARNING **: Duplicate child name in GtkStack: Ajouter à la liste de lecture
(rhythmbox:24664): Gtk-WARNING **: Duplicate child name in GtkStack: Ajouter à la liste de lecture
(rhythmbox:24664): Gtk-WARNING **: Duplicate child name in GtkStack: Ajouter à la liste de lecture
Traceback (most recent call last):
File "/home/gui/.local/share/rhythmbox/plugins/remember-the-rhythm/remember-the-rhythm.py", line 185, in init_source
self.shell_player.jump_to_current()
GLib.Error: g-invoke-error-quark: Could not locate rb_shell_player_jump_to_current: 'rb_shell_player_jump_to_current': /usr/lib/librhythmbox-core.so.9: undefined symbol: rb_shell_player_jump_to_current (1)
Traceback (most recent call last):
File "/usr/lib/rhythmbox/plugins/artsearch/local.py", line 129, in _enum_children_cb
enumfiles = parent.enumerate_children_finish(result)
GLib.Error: g-io-error-quark: Opération non prise en charge par le moteur (15)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/rhythmbox/plugins/artsearch/local.py", line 136, in _enum_children_cb
self.callback(self.callback_args)
File "/usr/lib/rhythmbox/plugins/artsearch/artsearch.py", line 59, in search_done
self.next_search()
File "/usr/lib/rhythmbox/plugins/artsearch/artsearch.py", line 55, in next_search
search.search(self.key, self.last_time, self.store, self.search_done, None)
File "/usr/lib/rhythmbox/plugins/artsearch/musicbrainz.py", line 111, in search
self.try_search_artist_album(key, store, callback, args)
File "/usr/lib/rhythmbox/plugins/artsearch/musicbrainz.py", line 97, in try_search_artist_album
callback(*args)
File "/usr/lib/rhythmbox/plugins/artsearch/artsearch.py", line 59, in search_done
self.next_search()
File "/usr/lib/rhythmbox/plugins/artsearch/artsearch.py", line 55, in next_search
search.search(self.key, self.last_time, self.store, self.search_done, None)
File "/usr/lib/rhythmbox/plugins/artsearch/lastfm.py", line 156, in search
callback (args)
File "/usr/lib/rhythmbox/plugins/artsearch/artsearch.py", line 59, in search_done
self.next_search()
File "/usr/lib/rhythmbox/plugins/artsearch/artsearch.py", line 49, in next_search
key = RB.ExtDBKey.create_storage("album", self.key.get_field("album"))
TypeError: Argument 1 does not allow None as a value
Traceback (most recent call last):
File "/home/gui/.local/share/rhythmbox/plugins/remember-the-rhythm/remember-the-rhythm.py", line 96, in pause
print(self.shell_player.set_playing_time(time))
GLib.Error: rb_shell_player_error: Le morceau actuel ne peut pas être parcouru (3)
(rhythmbox:24664): GStreamer-CRITICAL **: gst_segment_to_stream_time: assertion 'segment->format == format' failed
Traceback (most recent call last):
File "/home/gui/.local/share/rhythmbox/plugins/remember-the-rhythm/remember-the-rhythm.py", line 185, in init_source
self.shell_player.jump_to_current()
GLib.Error: g-invoke-error-quark: Could not locate rb_shell_player_jump_to_current: 'rb_shell_player_jump_to_current': /usr/lib/librhythmbox-core.so.9: undefined symbol: rb_shell_player_jump_to_current (1)
^Z
Please note the error "undefined symbol: rb_shell_player_jump_to_current".
due to the way rhythmbox requires you to actually start playing a song before pausing it - there is a short .5 second sound of the music you are playing.
suggest look at moving the whole music startup/pause to a separate thread
if pausing then mute the sound - sleep for 1 second - play the song - sleep for 1 second - pause and reset the track position - sleep for 1 second - unmute the song
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
This plugin does not seem to work in rhythmbox 3.4.2. The plugin is loaded and can be configured, but it does not continue playing the last song.
The last commit was 4 years ago. Are you still working on this?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The problem seems to be save_rhythm
being too often called and triggering settings sync.
I'd say in should be throttled to a level of one call per second.
On the github front page, Installation, Ubuntu Repository:
sudo add-apt-repository ppa:fossfreedom/rhythmbox-plugins sudo apt-get update sudo apt-get install rhythmbox-plugin-remember-the-rhythm
Should be:
sudo add-apt-repository ppa:fossfreedom/rhythmbox-plugins sudo apt update sudo apt install rhythmbox-plugin-remembertherhythm
That's all. Thanks!
When clicking on the preferences button this plugin selected, nothing happens but I get following errors on terminal:
File "/usr/lib/rhythmbox/plugins/remember-the-rhythm/remember-the-rhythm.py", line 213, in do_create_configure_widget
'ui/remember_preferences.ui'))
TypeError: Argument 1 does not allow None as a value
(rhythmbox:27431): libpeas-CRITICAL **: show_configure_cb: assertion 'GTK_IS_WIDGET (conf_widget)' failed
I'm using rhythmbox 3.0.2 on Ubuntu 14.04.3 LTS 64bit.
(sorry english is not my first language)
with the latest rtr from august 22 after a while, might be minutes, might be days, rbox suddenly starts skipping songs in the playlist, one by one, nothing is played, you can just watch the play icon in the playlist jump quickly down the playlist, when it reaches the bottom it goes to the top again, over and over
this did not happen wit the previous version of rtr (until it stopped working )
over the last week or so ive disabled rtr, and the problem has not happened so im pretty sure its rtr thats causing this
im unable to provide any logs
but its fairly easy to reproduce, just let rbox play a playlist on a loop for a loooong(or short) time
I installed the plugin, selected it to use and now I get the following messages when I start rhythmbox in terminal:
Traceback (most recent call last):
File "/usr/lib/rhythmbox/plugins/remember-the-rhythm/remember-the-rhythm.py", line 13, in <module>
import rb
ImportError: No module named 'rb'
(rhythmbox:25964): libpeas-WARNING **: Error loading plugin 'remember-the-rhythm'
I'm running rhythmbox 3.0.2 on Ubuntu 14.04.3 LTS 64bit.
What other information can I provide helping to solve that problem?
Thank you.
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.