Re: Setting user preferences in git build



On Fri, 2011-03-04 at 02:21 +0100, Kjetil Birkeland Moe wrote:
> Dear rygel folks,
> 
> I just recently discovered this project, when digging into dlna and the
> features of my new blueray player. Fortunately I have a Ubuntu server* at
> home containing my ogg'ed music collection, and I am finally able to play
> this directly on my hifi. At last!
> 
> Well. So far so good with audio. I installed the version available in
> 10.04 first, but quickly realized I would need a fresher release of Rygel.
> So I upgraded server to 10.10 and have now built it from Git source.
> Though I tried my best to wipe out all settings files (in .config/ and
> /etc/rygel.conf) prior to running the Git Rygel, it is still able to find
> the previous settings and folder paths. Which in one way was nice, as I
> could test the playback. However, I do now longer seem to have the
> preferences dialogue application available available - so where do I make
> the changes/settings to folders/transcoding now?

/etc/rygel.conf and $HOME/.config/rygel.conf still are the places to go.

But this depends on the back-end. If you have tracker enabled (maybe
implicitly throuh your recompile) you can't configure paths in rygel, it
takes tracker's database.

If you have media-export, there are three directories exported by
default: $HOME/Music,$HOME/Videos and $HOME/Pictures (concrete names
depending on the locale).

You can run within strace (like strace -o rygel.strace rygel) and check
in rygel.strace where it thinks it wants to open its files.

For the preference ui in git master you need gtk-3.0. This is due to a
problem with vala's conditionals not propagating to C which makes us
unable to support gtk+2.0 and 3.0 in dist tarballs.

> 
> And secondly, may I force transcoding of certain file types? My player
> fails at playing xvid, probably convinced they are all Divx.

Depends on the back-end. If you have media-export, you can try to
replace the content-type in the database:

sqlite3 $HOME/.cache/rygel/media-export.db
sqlite> update meta_data set mime_type='invalid/content' where
mime_type='video/x-msvideo';

If that helps, please provide the user-agent the blue-ray player sends
so that we can add this work-around permanently.

For tracker there's not much you can do yourself.

Also make sure to update http://live.gnome.org/Rygel/IOP and use
http://www.ohloh.net/p/rygel# ;)




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]