[Rhythmbox-devel] Segmentation fault (core dump) when attempting to do a python query

2012-08-20 Thread David Mohammed
I've spent a frustrating weekend trying to get a simple python query to work in both v2.96 (Ubuntu 12.04) and v2.97 (Ubuntu 12.04 + WebUpd8 PPA) I've also tried reloading 12.04 from scratch, updating and then repeating the following - but with the same results Anybody have any ideas on how to deb

[Rhythmbox-devel] "Stop Playing after this track"

2012-08-20 Thread David Mohammed
Give my GTK3+ ported plugin a whirl - hopefully this will work for you https://github.com/fossfreedom/StopAfterCurrentTrack-Plugin-for-Rhythmbox David ___ rhythmbox-devel mailing list rhythmbox-devel@gnome.org https://mail.gnome.org/mailman/listinfo/rh

Re: [Rhythmbox-devel] "Stop Playing after this track"

2012-08-20 Thread David Mohammed
ignore - posted wrongly... and if this again creates a new thread - please can someone tell me how to correctly reply to someones post. thanks! David ___ rhythmbox-devel mailing list rhythmbox-devel@gnome.org https://mail.gnome.org/mailman/listinfo/rhy

Re: [Rhythmbox-devel] "Stop Playing after this track"

2012-08-20 Thread David Mohammed
... ok - third try at trying to respond to mailing lists (forgive me - never done this before) Give my GTK3+ ported plugin a whirl - hopefully this will work for you https://github.com/fossfreedom/StopAfterCurrentTrack-Plugin-for-Rhythmbox David On 20 August 2012 14:24, David Mohammed wrote

Re: [Rhythmbox-devel] "Stop Playing after this track"

2012-08-20 Thread David Mohammed
ation instructions. Hope this helps David On 20 August 2012 16:54, Guy Stevens wrote: > I Would like to try your plugin but I can't figure out how to make it > work. > > Any hints? > > The readme file doesn't help much :) > > > Greetings > Guy > > Op 20-08-1

Re: [Rhythmbox-devel] Segmentation fault (core dump) when attempting to do a python query

2012-08-21 Thread David Mohammed
Thanks Jonathan, I've filed a bugzilla report with a stacktrace: https://bugzilla.gnome.org/show_bug.cgi?id=682294 David On 20 August 2012 13:40, Jonathan Matthew wrote: > Hi David, > > On Mon, Aug 20, 2012 at 6:48 AM, David Mohammed > wrote: > > I've spent a f

[Rhythmbox-devel] "How does the Album Art display and updates work?"

2012-08-27 Thread David Mohammed
I'm trying to figure out how to write a plugin in python to update the album art. The default album art search seems to first search in the album music folder for files like covers or folders and if found then stores the image and displays it. The next file location appears to be ~/.cache/rhythmb

Re: [Rhythmbox-devel] Segmentation fault (core dump) when attempting to do a python query

2012-09-01 Thread David Mohammed
st 2012 10:03, David Mohammed wrote: > Thanks Jonathan, > I've filed a bugzilla report with a stacktrace: > > https://bugzilla.gnome.org/show_bug.cgi?id=682294 > > David > > On 20 August 2012 13:40, Jonathan Matthew wrote: > >> Hi David, >> >&g

[Rhythmbox-devel] "How do I detect when a user has changed a source?"

2012-09-09 Thread David Mohammed
I'm attempting to write a GTK3 Rhythmbox 2.9x python plugin to browse albums by their cover-art. https://github.com/fossfreedom/coverart-browser In this plugin, I've added a widget to MAIN_TOP - but I only want to display this on the main library_source. At the moment - if the user clicks anothe

[Rhythmbox-devel] "Is this an RBEntryView bug?"

2012-09-26 Thread David Mohammed
Hi, this little code snippet entered into the v2.97 Rhythmbox python console gives the errors below - is this a bug - or have I incorrectly created the RBEntryView? >>> from gi.repository import RB >>> db = shell.props.db >>> shell_player = shell.props.shell_player >>> entry_view = RB.EntryView(

Re: [Rhythmbox-devel] "Is this an RBEntryView bug?"

2012-09-26 Thread David Mohammed
Jonathan, many thanks for the tip - yes that did the trick. cheers David. On 26 September 2012 11:09, Jonathan Matthew wrote: > On Wed, Sep 26, 2012 at 7:04 PM, David Mohammed > wrote: > > Hi, > > this little code snippet entered into the v2.97 Rhythmbox python >

Re: [Rhythmbox-devel] Some proposals for Rhythmbox

2013-03-10 Thread David Mohammed
Hi, re your second issue about album art I've been working on a plugin that would replace the default ArtSearch plugin and has some additional fixes in this area. If you are willing to work with me to test and improve this plugin - please head-over to my GitHub project for installation instruc

Re: [Rhythmbox-devel] Fwd: Beginning to contribute to Rhythmbox.

2013-03-12 Thread David Mohammed
I would echo Donagh's excellent comments and links. Just to say - one easy way to help to understand plugin writing, is actually to look at some authors plugins themselves - pick an issue and work on submitting a patch. In that way you can gain experience with collaborative working, plugin devel

Re: [Rhythmbox-devel] gmenu, plugins and you

2013-04-06 Thread David Mohammed
Jonathan, I would like to express my utter amazement and deep disappointment that you made this decision. >From what I can see, there was no warning about this. This really does break several very useful external plugins including my plugin CoverArt Browser. End-users do not understand why th

Re: [Rhythmbox-devel] gmenu, plugins and you

2013-04-06 Thread David Mohammed
> On Sun, Apr 7, 2013 at 6:17 AM, David Mohammed > wrote: > > Jonathan, > > > > I would like to express my utter amazement and deep disappointment that > > you made this decision. > > What decision? What do you think I should have done instead? > > > Fro

Re: [Rhythmbox-devel] Volume control

2013-04-17 Thread David Mohammed
That's an excellent suggestion Donagh, just to chip in - the replacement for hal (at least for Ubuntu) is udev. Maybe this python library would help here to find the equivalent signal to monitor - http://pyudev.readthedocs.org/en/latest/ David ___

[Rhythmbox-devel] help needed with example RBv2.99 python plugin

2013-05-07 Thread David Mohammed
Hi guys, I'm looking at Jonathan's python example to create popup menus in the new RBv2.99 way of doing things. - https://live.gnome.org/Rhythmbox%20Plugins/Python%20Plugin%20Examples However I'm a bit stuck - I'm sure I'm missing something totally obvious - so can anyone enlighten me please?

Re: [Rhythmbox-devel] Plugin Writing: Accessing the entry-changed signal's changes in Python

2013-05-26 Thread david mohammed
The changes are packed inside a GValueArray Its perhaps easier to give you an example - pop-over to my plugin here and look at the function "_entry_changed_callback" on coverart-album.py - https://github.com/fossfreedom/coverart-browser ___ rhythm

Re: [Rhythmbox-devel] Plugin Writing: Accessing the entry-changed signal's changes in Python

2013-05-26 Thread David Mohammed
4 seems > to have this problem. I have limited knowledge in this area, so I > can't figure out if this has to do with OS version, Python version, or > Rhythmbox version. > > > > On Sun, May 26, 2013 at 2:22 PM, david mohammed > wrote: > > The changes are packed i

Re: [Rhythmbox-devel] Updated FileOrganizer for 2.99

2013-07-03 Thread david mohammed
Lachlan gmail.com> writes: > > > > > > > Hey everyone, > I sat down and updated fileorganizer to python 3 and RB2.99+.[https://github.com/lachlan-00/rb-fileorganizer] > > Right now it works and organises music correctly, but I have to do more testing to make sure it's all working properly.

[Rhythmbox-devel] RB2.99 playlists - how do you detect a change or deletion

2013-07-07 Thread David Mohammed
Hi, in previous versions of RB, the playlist-manager had a display_page_model property which I could connect to with signals to monitor, add, change and deletion events from the current documentation: - https://developer.gnome.org/rhythmbox/unstable/RBPlaylistManager.html There appears only t

Re: [Rhythmbox-devel] RB2.99 playlists - how do you detect a change or deletion

2013-07-07 Thread David Mohammed
Jonathan, excellent - cheers for the advice. Changes using the shell display-page-model work great. Thanks again. David On 7 July 2013 22:38, Jonathan Matthew wrote: > On Mon, Jul 8, 2013 at 7:11 AM, David Mohammed > wrote: > > Hi, > > > > in previous vers

Re: [Rhythmbox-devel] Opening a GUI after clicking on a menu item

2013-07-12 Thread david mohammed
Ankit Arora gmail.com> writes: > > I understood how to add a plugin's menu item and execute a function, now I want to understand how to open a popup window after clicking on that menu item and then perform my actions after selecting options in that window. Any links/resources/examples will be ap

[Rhythmbox-devel] Discussion as to whether community based external plugins could/should be in the official source-tree

2013-11-01 Thread David Mohammed
Hi all, There are a number of GPL 2 & 3 based plugins that have been converted to python3 and thus can & do run in the latest version of RB (below). Would Jonathan and the other rhythmbox developers consider it appropriate to introduce into the source-tree a community section where external dev

Re: [Rhythmbox-devel] Discussion as to whether community based external plugins could/should be in the official source-tree

2013-11-01 Thread David Mohammed
t;Bastien Nocera" wrote: > >> On Fri, 2013-11-01 at 21:51 +, David Mohammed wrote: >> > Hi all, >> > >> > >> > There are a number of GPL 2 & 3 based plugins that have been >> > converted to python3 and thus can & do run in th

[Rhythmbox-devel] How does RB style its source toolbars

2013-12-11 Thread David Mohammed
All, I'm writing another project and I'm trying to achieve a similar style as RB's source toolbar buttons (Edit, Browse etc) - namely, the popup is styled in the same colour as the button itself. A standard GtkMenuButton displays the popup in the theme colour - not the button colour... in ubunt

Re: [Rhythmbox-devel] How does RB style its source toolbars

2013-12-14 Thread David Mohammed
excellent - This was the snippet of info I was most definitely missing. cheers for this :) On 14 December 2013 06:01, Jonathan Matthew wrote: > On Thu, Dec 12, 2013 at 10:08 AM, David Mohammed > wrote: > > All, > > > > I'm writing another project and I'm

[Rhythmbox-devel] How do I find the next entry to play?

2014-03-31 Thread David Mohammed
I would like to write a python plugin to display the next few entries that are to be played. I know you can get the query-model being played together what is currently being played. However, when shuffle is on, the next entry in the query-model does not correspond to the actual entry that would b

[Rhythmbox-devel] better way to detect when rhythmbox has started?

2015-05-23 Thread David Mohammed
Several of my plugins need to perform some processing after rhythmbox has fully started up (i.e. the database has been fully loaded). Currently I'm using the load-complete signal on RB.RhythmDB. However - the obvious issue is that when a user first activates a plugin, the load-complete signal ha

Re: [Rhythmbox-devel] Tool bar

2015-07-19 Thread David Mohammed
The ability to dynamically change the toolbar disappeared at rhythmbox 2.99 when the interface shifted from the (now) deprecated GTK.ui_manager style coding to the Gio based approach. So you cannot change the toolbar ... at least not so easily. This plugin shows you how to change the toolbar - y

Re: [Rhythmbox-devel] better way to detect when rhythmbox has started?

2015-07-29 Thread David Mohammed
y 2015 at 10:34, Jonathan Matthew wrote: > On Sat, May 23, 2015 at 10:56:34AM +0100, David Mohammed wrote: > > Several of my plugins need to perform some processing after rhythmbox has > > fully started up (i.e. the database has been fully loaded). > > Such as? > > &g

Re: [Rhythmbox-devel] rhythmbox-devel Digest, Vol 160, Issue 1

2020-01-06 Thread David Mohammed via rhythmbox-devel
Congrats all! Jonathan - is there a release/git tag ? I don't see anything here https://github.com/GNOME/rhythmbox/tags TIA On Sun, 5 Jan 2020 at 12:00, wrote: > > Send rhythmbox-devel mailing list submissions to > rhythmbox-devel@gnome.org > > To subscribe or unsubscribe via the Worl