Creating an Ad-Hoc GrlMedia container and browsing it


I am trying to index my music files using a custom Grilo program. I am trying to use grl_source_browse() using the grl-filesystem plugin. How can I set the toplevel GrlMedia container so that I do not start at the root directory?

I’ve tried using grl_media_container_new() and then using grl_media_set_url() to the file url as determined by GIO.GFile, but that didn’t seem to do anything.

Any ideas?

I believe you need to use GrlConfig and then set the base-uri property.