maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [TESTING] rygel DLNA/UPNP streaming media server (https://talk.maemo.org/showthread.php?t=92459)

nieldk 2014-01-19 11:12

[TESTING] rygel DLNA/UPNP streaming media server
 
2 Attachment(s)
Rygel - DLNA/UPNP streaming

Now ready for testing!
Started this thread, not to pollute other thread

So, here are the files for rygel

Download archive from https://dl.dropboxusercontent.com/u/...elfiles.tar.gz

UPDATE: glib2 libraries (v2.39.3) is now finished compiling and RPMs created:

Download from: https://dl.dropboxusercontent.com/u/...2/glib2.tar.gz

UPDATE: Tracker plugins were missing, get from here, and install:

https://dl.dropboxusercontent.com/u/...-2.armv7hl.rpm

unpack archive

tar xvf rygelfiles.tar.gz

and install with either

pkcon install-local <file>

or

rpm -i <file>

Like I stated before, leave glib2 for last and, if rygel fails, install glib2 included in the archive also.

You will probably also need to install perl module XML::Parser

cpan install XML::Parser as root

install I believe is best in this order:

libsoup-2.45.3-0.2.armv7hl.rpm
I recommend you first try the one (older version) that is available at Jolla, before this one.

libgee-0.8.8-1.armv7hl.rpm
gssdp-0.14.6-1.armv7hl.rpm
gupnp-0.20.9-1.armv7hl.rpm
gupnp-av-0.12.4-1.armv7hl.rpm
gupnp-dlna-0.10.2-2.armv7hl.rpm
rygel-0.21.3-1.armv7hl.rpm

glib-2.39.3.armv7hl.rpm
(if needed) - I am not including this RPM atm, its still building ;) and who knows, it may not be needed.

and, finally, edit, for all users:

nano /etc/rygel.conf

or, for current (nemo) user:

nano ~/.config/rygel.conf

sample rygel.conf file:

Code:

# Set it to 'false' if you want to disable transcoding support.
enable-transcoding=true
 
# Where video files should be saved if allow-upload is true.
# Defaults to @VIDEOS@, the standard videos folder (typically ${HOME}/Videos).
video-upload-folder=@VIDEOS@
 
# Where music files should be saved if allow-upload is true
# Defaults to @MUSIC@, the standard music folder (typically ${HOME}/Music).
music-upload-folder=@MUSIC@
 
# Where picture files should be saved if allow-upload is true
# Defaults to @PICTURES@, the standard picture folder (typically ${HOME}/Pictures).
picture-upload-folder=@PICTURES@
 
#add a default portnumber
port=65000
 
# Tracker's indexing options can be configured with tracker-preferences
[Tracker]
enabled=true
share-pictures=true
share-videos=true
share-music=true
strict-sharing=false
title=@REALNAME@'s media        # whatever name you choose
 
[Playbin]
enabled=true
title=Audio/Video playback on @HOSTNAME@        # whatever name you choose

This sample file is found here, together with more information on rygel and its command-line parameters:

http://wiki.gnome.org/Projects/Rygel

If it works good for all, perhaps someone good in QML/QT5 can make a nice gui for configuration and start/stop of streaming service ?

If needed, I have build SRPMs and devel packages of all, and will be happy to supply those.

phako 2014-01-19 11:30

Re: [TESTING] rygel DLNA/UPNP streaming media server
 
You should set

Code:

[MediaExport]
enabled = false

Sailfish uses Tracker IIRC and it will take precedence, no need to hammer your battery with needless device crawl operations.

Also, Rygel's documentaiton lives at http://wiki.gnome.org/Projects/Rygel and if you have general questions on Rygel, feel free to visit us on #gupnp at irc.gnome.org

nieldk 2014-01-19 11:48

Re: [TESTING] rygel DLNA/UPNP streaming media server
 
@phako, thanks, I updated first post
Added also missing tracker plugins to first post (https://dl.dropboxusercontent.com/u/...-2.armv7hl.rpm)
Now, it is working with tracker.

phako 2014-01-20 19:34

Re: [TESTING] rygel DLNA/UPNP streaming media server
 
Hm, no video thumbnails... Might need some debugging where Sailfish puts those.

marsch 2014-03-26 22:06

Re: [TESTING] rygel DLNA/UPNP streaming media server
 
Hi there,

have you given up the approach to port Rygel? If not, it would be great if you could supply a valid link or shift the files over into your Warehouse repository.

If so, would you mind to supply the gupnp installers via the repository nevertheless?

Thanks in advance.


All times are GMT. The time now is 11:27.

vBulletin® Version 3.8.8