Coder Social home page Coder Social logo

rhythmbox-random-album-player's People

Contributors

afrancoto avatar fossfreedom avatar javonharper avatar ndr-brt avatar progval avatar silberzwiebel avatar umlautaxl avatar

Stargazers

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

Watchers

 avatar  avatar

rhythmbox-random-album-player's Issues

Need to have python-lxml installed

GUI didn't give me a warning, just that the plugin didn't work. On terminal it said: "ImportError: No module named lxml.etree"

Apart from that it just works. Thanks.

Error should in terminal when preference dialog opened

I'm seeing the following error message in the terminal when launching the preferences dialog

n.b. I've installed the plugin in /usr/lib/rhythmbox/plugins/Rhythmbox-Random-Album-Player

with the glade file in /usr/share/rhythmbox/plugins/Rhythmbox-Random-Album-Player

(rhythmbox:12138): Pango-CRITICAL **: pango_font_description_set_absolute_size: assertion `size >= 0' failed

(rhythmbox:12138): Pango-CRITICAL **: pango_font_description_set_absolute_size: assertion `size >= 0' failed

(rhythmbox:12138): Pango-CRITICAL **: pango_font_description_set_absolute_size: assertion `size >= 0' failed

(rhythmbox:12138): Pango-CRITICAL **: pango_font_description_set_absolute_size: assertion `size >= 0' failed

(rhythmbox:12138): Pango-CRITICAL **: pango_font_description_set_absolute_size: assertion `size >= 0' failed

(rhythmbox:12138): Pango-CRITICAL **: pango_font_description_set_absolute_size: assertion `size >= 0' failed

N.B. running on ubuntu 12.04 64bit

Add button

Would be nice to have a specific button for this, as the 'jump to playing song' plugin does. A sexy option would be to modify the 'shuffle' button to toggle between 'off', 'song', and 'album'
Thanks!

Error on glib schemas path

When installing it on ubuntu 17.10, i get this error:

cp: cannot create regular file '/home/andrea/.local/share/glib-2.0/schemas/': No such file or directory
Error opening directory “/home/andrea/.local/share/glib-2.0/schemas/”: No such file or directory

I noticed that the glib schemas are located only into /usr/share/glib-2.0/schemas.
I'm providing a PR to fix that.

Does not play automatically at start

Just after launching Rhythmbox, if I try to execute 'Random Album' I get an error on logs:

(13:27:33) [0x5576788b4270] [RandomAlbumPlugin.play_album] /home/andrea/.local/share/rhythmbox/plugins/RhythmboxRandomAlbumPlayer/RhythmboxRandomAlbumPlayer.py:213: <RB.ShellPlayer object at 0x7fe669c52678 (RBShellPlayer at 0x5576788b0240)>
Traceback (most recent call last):
  File "/home/andrea/.local/share/rhythmbox/plugins/RhythmboxRandomAlbumPlayer/random_rb3compat.py", line 753, in _activate
    self._connect_func(action, None, self._connect_args)
  File "/home/andrea/.local/share/rhythmbox/plugins/RhythmboxRandomAlbumPlayer/RhythmboxRandomAlbumPlayer.py", line 91, in random_album
    self.play_album()
  File "/home/andrea/.local/share/rhythmbox/plugins/RhythmboxRandomAlbumPlayer/RhythmboxRandomAlbumPlayer.py", line 110, in play_album
    player.playpause(True)
TypeError: RB.ShellPlayer.playpause() takes exactly 1 argument (2 given)

It works if executed after the player have played something

Ordering of multi-disc albums

Currently if you queue an album that happens to have more than one disc, the track order gets interleaved.

For example: Dave Matthews Band's Central Park Concert.
This comes on 3 discs and the first tracks on each disc is as follows:
D1-T01 - Don't Drink The Water
D1-T02 - So Much To Say
D1-T03 - Too Much
...
D2-T01 - Dancing Nancies
D2-T02 - Warehouse
D2-T03 - Ants Marching
...
D3-T01 - Cortez, The Killer
D3-T02 - Jimi Thing
D3-T03 - What Would You Say

When I play this album via the Rhythmbox music browser, it plays in the correct order. However, when this is queued via Alt-R, the order is as follows:
D1-T01 - Don't Drink The Water
D2-T01 - Dancing Nancies
D3-T01 - Cortez, The Killer
D1-T02 - So Much To Say
D2-T02 - Warehouse
D3-T02 - Jimi Thing
D3-T03 - What Would You Say
D1-T03 - Too Much
D2-T03 - Ants Marching
...

Can this be fixed?

Check for python3-lxml dependency

After following the install instructions for Rhythmbox 3.94 on Debian 12,the plugin said it failed to initialise. Looking at my system logs it wanted package python3-lxml installed.

It would be nice to check for this at install step.

error on launching the plugin

Depending upon the plugins loaded, sometimes randomalbumplayer does not start

the error in the terminal is:

 File "/usr/lib/rhythmbox/plugins/Rhythmbox-Random-Album-Player/RandomAlbumConfigDialog.py", line 1, in 
    import rb
ImportError: No module named rb

The fix is simple enough - you need to add Depends=rb to the plugin file

i.e.

[Plugin]
Loader=python
Module=Rhythmbox-Random-Album-Player
IAge=2
Name=Random Album Player
Description=Plays a random album from your library.
Authors=Javon Harper 
Depends=rb
Copyright=Copyright © 2012 Javon Harper

Playing file doesn't have the 'arrow' next to it

Not sure if this is because the song is playing out of the queue rather than the library - if so, and this is Rhythmbox's default behaviour, apologies. But it would be nice if the playing file was highlit in the library with the right arrow, as normal.

Jump to playing file

After selecting 'random album', the playing/queued song is not jumped to in the library.
This could be an option in case people DON'T want this feature, but I'd assume people mostly would.

Installed on Arch but cannot use it

I've installed the plugin on my arch system by running install.sh but cannot seem to make it work. First I received a warning saying 'Plugin loader "python" was not found' when I tried to enable it. Then I made some quick search and found out that error can be fixed for some other plugins by changing the Loader=python property of the plugin to Loader=python3. I did it and now when I try to enable it, the warning says "An error occurred: Failed to load".

Thanks.

wrong location for gsetting preference option

Hi,
thanks for the new preferences option.

Can I query one decision though

  • com.javonharper.rhythmbox.plugins.randomalbumplayer

Creating your own path goes against the flow for all rhythmbox plugins that I'm aware of - if they have been updated to gsettings, they should reside in

  • org.gnome.rhythmbox.plugins

For example the coverart-browser plugin is

  • org.gnome.rhythmbox.plugins.coverart_browser.gschema.xml

Can I ask why your own path?

Not working under 2.99.1

Hello,

sorry to say, but your plugin is not working under Rhythmbox 2.99.1.
This is the error-output:

Traceback (most recent call last):
  File "/home/thomas/.local/share/rhythmbox/plugins/RhythmboxRandomAlbumPlayer/Rhythmbox-Random-Album-Player.py", line 55, in do_activate
    ui_manager = shell.props.ui_manager
AttributeError: 'gi._gobject.GProps' object has no attribute 'ui_manager'

Rhythmbox is crashing completely if I try to access the options.

Thanks for fixing it!

silberzwiebel

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.