Giter Site home page Giter Site logo

fossfreedom / rhythmweb Goto Github PK

View Code? Open in Web Editor NEW
23.0 23.0 8.0 387 KB

rhythmbox v2.9x/v3.x GTK3 port of the original rhythmweb GTK2 plugin created previously for rhythmbox v0.1x

License: GNU General Public License v3.0

Shell 3.67% JavaScript 24.83% Python 63.92% CSS 7.58%

rhythmweb's People

Contributors

dinoboy197 avatar fossfreedom avatar spacanowski avatar stephane avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

rhythmweb's Issues

New copyright for files?

I'm excited about new dev work on this plugin, as I'm getting tons of use from it already and it's great. I was wondering how you'd feel about including more explicit copyright attributions in the source files and about box? I know that it seems like a petty thing, but just wanted to get your thoughts.

REST API Support or Merge?

Hey,

I try this version of the plugin today on my ubuntu 12.04 and it works good, Great Job!
I used to use the rhythmweb-plugin since 2 year from the repository https://bitbucket.org/jimcerberus/rhythmweb/wiki/Home.
The plug-in has stop working since GTK3 and I'm realy proud that someone has solved this problem. If you take a look in the Project you will see that the guys have many features like Browsing or a REST API. The REST API is my favorite feature because I have builded an App upon the API.

Could you please also add a REST API in your plugin or maybe merge your repository with the Bitbucker-Guys?
You have the GTK3-Feature and they have others features.

Best regards,

Samuel

Rhythmbox freeze

Rhythmbox freeze when plugin page loading.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29665897-rhythmbox-freeze?utm_campaign=plugin&utm_content=tracker%2F2163146&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2163146&utm_medium=issues&utm_source=github).

Endpoint "/playlist/current" Fails, throws 500 if Track Playing has Album Art

If a playing track has Album Art, requesting /playlist/current will result in a 500 Server Error.

Re-creating:

  1. Attach Album art to a Song and begin playing it
  2. Request the /playlist/current Endpoint. curl localhost:8000/playlist/current
  3. You should be served a 500 Server Error with the body:
    A server error occurred. Please contact the administrator.

Traceback using rhythmbox -D rhythmweb

127.0.0.1 - - [07/Apr/2018 12:01:25] "GET /playlist/current HTTP/1.1" 200 106
Traceback (most recent call last):
  File "/usr/lib/python3.5/wsgiref/handlers.py", line 137, in run
    self.result = application(self.environ, self.start_response)
  File "/usr/lib/rhythmbox/plugins/rhythmweb/rhythmweb.py", line 235, in _wsgi
    return self._handle_current(response)
  File "/usr/lib/rhythmbox/plugins/rhythmweb/rhythmweb.py", line 500, in _handle_current
    return iostring(json.dumps(return_data))
  File "/usr/lib/python3.5/json/__init__.py", line 230, in dumps
    return _default_encoder.encode(obj)
  File "/usr/lib/python3.5/json/encoder.py", line 198, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python3.5/json/encoder.py", line 256, in iterencode
    return _iterencode(o, 0)
  File "/usr/lib/python3.5/json/encoder.py", line 179, in default
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: <RB.ExtDBKey object at 0x7fece803b588 (RBExtDBKey at 0x2580f80)> is not JSON serializable

Using RhythmBox 3.3


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Doesn't work on Ubuntu 14.04?

Hello,

I would like to try your program but it seems it doesn't work:

  • When I try to activate the plugin in Rhythmbox, I get a 'no entry' kind of symbol and the plugin fades-out.

  • When i run 'python rhythmweb.py', I get following message:

    File "rhythmweb.py", line 38, in
    from rhythmweb_prefs import Preferences
    File "/home/filixandra/.local/share/rhythmbox/plugins/rhythmweb/rhythmweb_prefs.py", line 24, in
    import rb
    ImportError: No module named rb

Am I doing something wrong?
Anyway good luck and thanks for sharing your program for free.

Add "skins" to the interface to provide alternative interface more suitable for mobile devices

The current HTML interface is not really flattering and probably could be made much smarter to work with mobile devices.

I imagine a combination of HTML changes with an addition of CSS will solve this - I dont envisage any coding change would be required.

Just need someone who likes tinkering with HTML + CSS to solve this.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Plugin fails to run in rhythmbox 3.0

On Arch Linux the plugin fails to run:

  • import rb, this module doesn't exist, are you sure you need it? Could it be replaced by a RB equivalent?
  • the plugin isn't compatible Python 3, so may be you need to add Python 3 support or set python2.7 explicitely at launch time.

How I can help you to diagnose the problem?

Images do not show up

I've found that images don't show up for me as their content type is returned incorrectly. The images coming from GTK on my machine are svg, but the content type coded into the plugin is image/png.

Here's a question - mostly because I don't do much coding with GTK - were these images previously pngs but are now svgs? Or is there a way to ask GTK for the png equivalents rather than svg so that we can be more deterministic about what data comes back when we ask for images?

play queue doesnt respond to double click

Whilst the playlists respond correctly to a double click,

double clicking the playqueue doesnt reset the source to the playqueue and therefore doesnt play from the queue if defined.

add pause button

At the moment the playbutton does both play & pause. But there is no visual feedback that you can pause - its just a play button.

We should return in the HTML to display the pause button when playing and visa-versa.

Possibly due to the way we "post" stuff - javascript could be used to toggle the button image between play and pause.

Plugin fails to load on fedora 15 with rhythmbox 2.90.1

Not sure what's going on...

Details follow:

(rhythmbox:11752): Rhythmbox-WARNING **: Unable to grab media player keys: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface `org.gnome.SettingsDaemon.MediaKeys' on object at path /org/gnome/SettingsDaemon/MediaKeys
Traceback (most recent call last):
File "/home/jameswhite/.local/share/rhythmbox/plugins/rhythmweb/rhythmweb.py", line 48, in
class RhythmwebPlugin(GObject.GObject, Peas.Activatable):
File "/home/jameswhite/.local/share/rhythmbox/plugins/rhythmweb/rhythmweb.py", line 50, in RhythmwebPlugin
object = GObject.Property(type=GObject.GObject)
File "/usr/lib/python2.7/site-packages/gi/module.py", line 234, in getattr
attr = super(DynamicGObjectModule, self).getattr(name)
File "/usr/lib/python2.7/site-packages/gi/module.py", line 101, in getattr
self.name, name))
AttributeError: 'gi.repository.GObject' object has no attribute 'Property'

(rhythmbox:11752): libpeas-WARNING **: Error loading plugin 'rhythmweb'

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.