Re: [Rhythmbox-devel] RB python plugin db sort by track number
- From: Pablo Carranza <pcarranza gmail com>
- To: ikwyl6 gmail com
- Cc: rhythmbox-devel gnome org
- Subject: Re: [Rhythmbox-devel] RB python plugin db sort by track number
- Date: Sun, 13 Feb 2011 19:47:30 +0100
Hi there,
Sample:
import rb, rhythmdb
query_model = db.query_model_new(db.query_new(), rhythmdb.rhythmdb_query_model_track_sort_func, 0, db.query_model_new_empty())
Cheers!
On Sun, Feb 13, 2011 at 4:25 PM,
<ikwyl6 gmail com> wrote:
Hi,
I'm pretty new to python and I find it hard to find any documentation on the rhtyhmbox python API. Using code from other plugins I have a working plugin but I would like the results to be sorted by track number. Can someone maybe have a quick look at:
and let me know how I can use this code to get the results of an album, sorted by track number?
Thanks,
_______________________________________________
rhythmbox-devel mailing list
rhythmbox-devel gnome org
http://mail.gnome.org/mailman/listinfo/rhythmbox-devel
--
Pablo Carranza
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]