Giter Site home page Giter Site logo

fossfreedom / remember-the-rhythm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from owais/remember-the-rhythm

7.0 7.0 5.0 66 KB

Rhythmbox plugin to remember the last playing song and position

License: GNU General Public License v3.0

Makefile 3.30% Python 84.55% Shell 12.15%

remember-the-rhythm's People

Contributors

chaseadam avatar fossfreedom avatar janych avatar owais avatar vanilla-wow-addons avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

remember-the-rhythm's Issues

Repository info incorrect

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!

Preferences does not work

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.

High disk usage (~200kB/s) due to often settings save.

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.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28396456-high-disk-usage-200kb-s-due-to-often-settings-save?utm_campaign=plugin&utm_content=tracker%2F11991581&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F11991581&utm_medium=issues&utm_source=github).

causes skipping

(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

Plugin not working in rhythmbox 3.0.2: ImportError: No module named 'rb'

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.

sound glitch on pause

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.

Always plays the same radio source

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".

Not working in rhythmbox 3.4.2

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.

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.