javonharper / rhythmbox-random-album-player Goto Github PK
View Code? Open in Web Editor NEWQueues up a random album from your library view and plays it.
Queues up a random album from your library view and plays it.
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.
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
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!
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.
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
Include an option that would automagically enqueue another album after the current play queue ends / empties.
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?
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.
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
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.
It does not work on Rhythmbox 3.4.1 on Ubuntu 17.10
any ideas?
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.
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.
Hi,
thanks for the new preferences option.
Can I query one decision though
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
For example the coverart-browser plugin is
Can I ask why your own path?
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
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.