Re: Lets make a rygel install HOWTO/ FAQ !



On Fr, 2014-03-07 at 15:45 -0700, linux guy wrote:
I recently got rygel running on my workstation, but not without a lot
of grief.   I was pulling my hair out until someone pointed out that
there was/needed to be a /etc/rygel.conf as well as
~/.config/rygel.conf, even though the format of each is exactly the
same.


I'd like to put together a rygel install HOWTO/ FAQ.  If people
provide me information, I'll compile and edit it.


My skeleton install instructions are below.   Feel free to suggest
additional steps.


yum install rygel

yum install tumbler

yum install upnp-av
sudo nano /etc/rygel.conf

I suggest the following changes to rygel.conf

- set the network device name

- set the port you want to use (Lets call it port X)

- leave the folders for now

- set the reporting level to 5

cp /etc/rygel.conf  ~/.config/


- open port 1900 (udp) and port X (tcp) you selected above in the
firewall

That only works with gssdp 0.14.6 or later and gupnp 0.20.8 or later.


- place a few simple media files in each of the media directories
(~/Music, ~/Pictures, ~/Videos)
- start rygel on the command line, as a regular user with access to
the media file directories.


You should see something similar to the following:

=========================================
Rygel-Message: rygel-main.vala:87: Rygel v0.20.3 starting…
Rygel-Message: New plugin 'MediaExport' available
Rygel-Message: New plugin 'Playbin' available
MediaExport-Message: 'file:///home/Me/Music' harvested
MediaExport-Message: 'file:///home/Me/Videos' harvested
MediaExport-Message: 'file:///home/Me/Pictures' harvested
===========================================



yum install upnp-inspector on the host computer

We also have gupnp-tools in the canon.


run upnp-inspector and verify that it exports something locally.

start a DLNA client and observe that rygel is present.  Open the
libraries and play something.


Once that works... 



yum install upnp-inspector on a client computer

run upnp-inspector and verify that its exporting across the network

start a DLNA client on a client computer and observe that rygel is
present.  Open the libraries and play something.


Now go back and make one change at a time to make rygel do more exotic
things.  Remember to copy ~/.config/rygel.conf to /etc/rygel.conf each
time.


I'd like to see the following questions answered in the FAQ.


2) What packages does rygel depend on ?

https://wiki.gnome.org/Projects/Rygel/Development#Requirements


3) What gstreamer plugins does rygel expect and what are they used
for ?

https://wiki.gnome.org/Projects/Rygel/Development#Requirements last
paragraph.


4) Is tumbler really needed ?

No, but on a headless setup it's a nice way to get video and image
thumbnails.

5) What ports does one need to open on the server ?

I might be repeating myself, but in an environment where you have to use
a firewall you don't want to use DLNA. With the GSSP and GUPnP versions
mentioned above, though, opening port 1900 UDP and the port defined in
rygel.conf on TCP should be enough.


6) How does rygel know when to transcode or not ?  How is that
handled ?  Is there a way to force transcoding for different devices ?

The client requests the most compatible resource for him. Forcing
clients to transcode is only possible through code.



7) Does rygel generate a log file ?  Where is it ?

No.



8) Is there a way to force rygel to reharvest the media folders ?  Is

Shutdown and remove ~/.cache/rygel/media-export.db

 it better to have rygel running or not running when making big/small
changes to the media folders ?

Running, usually.

Demonstrating the confusing use of 2 config files, starting from a
working installation.

That's probably related to
https://bugzilla.gnome.org/show_bug.cgi?id=683959


Another thing... I Googled extensively for ideas when I was
troubleshooting my rygel installations.   Never once did I get content
from the rygel mailing list.  ?????

No idea, sorry.






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