Rygel

Setup Rygel upnp/dlna media server
For this howto we can not (yet) use the tracker and dbus interface. The reason is that we start rygel as a daemon with an init script. This is means we do not have a dbus user session and thus can not use tracker and have to rely on the media export plugin's ability to scan the directories.

This howto is split over the following sections:
 * USE flags and merging rygel
 * create user and group
 * copy/create the files
 * The init script + config file
 * Modify the config file

Emerge
Install Rygel:

copy files
Copy the 2 files to the respective folders and you should be able to start the server.

Modify config file
If started with the init script you will want to modify the uri option. Add the directories you like it to search for media.

Setup using shell-session
shell-session is a script created by eva and is available from github. It is supposed to create a dbus session for rygel under a regular user and from /home/ and then start /etc/xdg/autostart (which has en entry for rygel). I tried this and it seems to not work very well for me. At this point I can't really recommend this but if someone has more success please update this wiki page.