The public API of rhythmdb is available in
https://gitlab.gnome.org/GNOME/rhythmbox/-/blob/master/rhythmdb/rhythmdb.h.
This API is exported to python via GIR bindings.

So, you can use rhythmdb query to get the rows you want from db, and get /
set values, followed by "rhythmdb_commit"

Thanks!

On Wed, 24 Feb 2021 at 02:41, Lachlan via rhythmbox-devel <
rhythmbox-devel@gnome.org> wrote:

> Hi all,
>
> I've been trying to re-import my library to do some more plugin work, the
> problem is that the import grinds to a halt really quickly after opening
> and tells me that the db is read only. (nfs share and a lot of files)
>
> When i was using RB full-time i used to edit the xml manually and run
> scripts on it, but is there an official way to edit the RB database? maybe
> using python and importing the RB modules?
>
> If not i'll try and write up a script to do it and see how that goes
> manually creating the song entries
> _______________________________________________
> rhythmbox-devel mailing list
> rhythmbox-devel@gnome.org
> https://mail.gnome.org/mailman/listinfo/rhythmbox-devel
>
_______________________________________________
rhythmbox-devel mailing list
rhythmbox-devel@gnome.org
https://mail.gnome.org/mailman/listinfo/rhythmbox-devel

Reply via email to