Contenu | Rechercher | Menus

Annonce

Si vous rencontrez des soucis à rester connecté sur le forum (ou si vous avez perdu votre mot de passe) déconnectez-vous et reconnectez-vous depuis cette page, en cochant la case "Me connecter automatiquement lors de mes prochaines visites".
Test de l'ISO d'Ubuntu francophone : nous avons besoin de testeurs pour la version francophone d'Ubuntu 14.04. Liens et informations ici.

#1 Le 28/11/2013, à 00:03

lenicodesbois

[Résolu] Rhythmbox upnp dlna DMR

Salut,

Je viens apporter ma pierre à l'édifice et contribuer au topic
https://forum.ubuntu-fr.org/viewtopic.php?id=1278471

J'ai de mon coté un lecteur réseau Pioneer N-50 qui fonctionne parfaitement bien quand je le pilote avec mon.... téléphone (android certes, mais quand même).

Depuis le téléphone, j'envoie au lecteur le morceau que je veux, qu'il soit sur mon téléphone ou sur un serveur Upnp...

Depuis mon poste Ubuntu, c'est une autre histoire.
Rhythmbox, avec coherence, envoie invariablement vers les hp de l'ordinateur.

Pourtant ! , mon lecteur est bien présent et reconnu, je le vois avec Upnp inspector ou  Gupnp.

Je pense que c'est un problème de configuration de Rhythmbox.

Quelqu'un à t il une idée ?

Merci
Nicolas

Dernière modification par lenicodesbois (Le 11/01/2014, à 01:56)

Hors ligne

#2 Le 28/12/2013, à 21:31

breizh.pat

Re : [Résolu] Rhythmbox upnp dlna DMR

Bonsoir,
Personne n'aurait de solution ? J'ai un Pionner VSX-921 et je souhaiterais envoyer la musique de Rhythmbox sur le Home Cinema un peu comme on peux le faire avec la fonction Airplay de Itune.
Merci

Hors ligne

#3 Le 11/01/2014, à 01:44

lenicodesbois

Re : [Résolu] Rhythmbox upnp dlna DMR

OK tout est là c'est résolu.
J'ai bien galéré, je vous explique pas.

Donc les solutions cohérence, raop, raop2, stream2ip pour l'instant j'ai pas réussi à faire marcher sur mon pioneer N-50.

Le seul truc qui a marché c'est Rygel et c'est à peu près expliqué ici http://chemicaloliver.net/linux/streami … ray-or-ps3
Rygel à l'air d'être un projet Gnome en plein développement. Il est possible que la bidouille qui suit ne soit plus nécessaire dans quelques mois...

En gros, il faut rediriger la sortie de pulse-audio vers une sortie gst-launch que l'on va créer et paramétrer avec rygel.
Ensuite, depuis le lecteur réseau, on sélectionne une source réseau qui s'appelle gst-launch (comme par hasard) et qui diffuse le son joué sur l'ordi.
Bon, tout n'est pas parfait, il y a un décalage de 30 à 45 secondes entre ce qui est lu sur l'ordi et ce qui ressort par les enceintes.
Exit donc l'utilisation de rygel pour envoyer la bande son d'un film sur sa chaine... mais pour de la musique et une playliste, ca le fait tout a fait.

Ci-dessous une traduction et une adaptation des étapes à suivre:

1- Installer les paquets

sudo apt-get install rygel rygel-gst-launch

2- Trouver le nom de votre carte son dont on va capturer la sortie. Dans un terminal tapez

pacmd list-sinks

Ensuite notez le nom de votre carte son. Dans mon cas c'était:

alsa_output.pci-0000_00_1b.0.analog-stereo

3- Modifiez les fichiers de conf de rygel
Il y en a 2:
/etc/rygel.conf qui est le fichier général
et
$HOME/.config/rygel.conf qui est le fichier de conf de votre compte.

J'ai porté toutes les modifs dans /etc/rygel.conf pour que tous les comptes du pc puissent streamer le son vers le lecteur réseau.
Attention, il faut ensuite faire le tour de tous les fichiers de conf des HOME pour vérifier qu'ils ne désactivent pas gst-launch.

Dans $HOME/.config/rygel.conf , le fichier de conf de votre home (comme ca, tous les home auront le même comportement avec gst-launch)
Commentez toute la partie qui concerne GstLaunch (aux alentours de la ligne 125, ca donne ca:

#[GstLaunch]
#enabled=true
#launch-items=audiotestsrc;videotestsrc;videotestoverlay
#audiotestsrc-title=Audiotestsrc
#audiotestsrc-mime=audio/x-wav
#audiotestsrc-launch=audiotestsrc ! wavenc
#videotestsrc-title=Videotestsrc
#videotestsrc-mime=video/mpeg
#videotestsrc-launch=videotestsrc ! ffenc_mpeg2video ! mpegtsmux
#videotestoverlay-title=Videotestsrc with timeoverlay 2
#videotestoverlay-mime=video/mpeg
#videotestoverlay-launch=videotestsrc ! timeoverlay ! ffenc_mpeg2video ! mpegtsmux

   
Dans /etc/rygel.conf, le fichier de conf général de rygel
Trouvez le bloc GstLaunch et remplacez le par:

[GstLaunch]
enabled=true
launch-items=mypulseaudiosink
mypulseaudiosink-title=Audio on @HOSTNAME@
mypulseaudiosink-mime=audio/x-wav
mypulseaudiosink-launch=pulsesrc device=le_nom_de_votre_carte_son.monitor ! flac

Sauvegardez, killez rygel et relancez le avec la commande rygel dans un terminal.

4- Envoyer le son vers le player
Dans le menu "paramètres sonores" d'Ubuntu, vous avez une sortie
"DLNA/UPnP Streaming" qui est apparue, sélectionnez la.
A ce niveau, le son de l'ordi n'est plus envoyé vers la carte son, mais streamé sur le réseau.

5- Sur votre player, sélectionnez la bonne source
Sélectionnez lecteur réseau,
Vous avez une entrée "rygel" qui s'affiche.
En dessous une entrée "GstLaunch", sélectionnez la, et la... magie.

Tenez moi au jus si vous avez des améliorations à apporter.

Dernière modification par lenicodesbois (Le 11/01/2014, à 01:51)

Hors ligne

#4 Le 28/03/2014, à 16:05

tonyfrix

Re : [Résolu] Rhythmbox upnp dlna DMR

Salut à toi,
je te remercie de te préoccuper de ce problème, j'ai bien suivi ce que tu as fait mais pour moi cela ne fonctionne pas.
Je suis sur precise et comme toi je voudrais renvoyer ma sortie via le réseau sur mon denon AVR-3311 (maj airplay).
J'ai un nas synology qui fonctionne nickel avec l'ampli le tout géré par un routeur d-link dir-655.

Il y a quelques jours je me suis penché sur le problème car je voudrais écouter deezer sur mon ampli. J'ai trouvé quelques trucs et après plusieurs tentatives j'ai réussi mais le lendemain après redémarrage plus rien.

j'ai bien fait tout comme t'as dit mais sans succès alors je désespère.

Je précise que je n'y connais rien en "programmation"

Peux tu m'aider?

Hors ligne

#5 Le 28/03/2014, à 16:12

tonyfrix

Re : [Résolu] Rhythmbox upnp dlna DMR

ha j'oubliais voici les copie de mes

/etc/rygel.conf:

# Configuration file for Rygel
#
# In most cases, you would want to use the rygel-preferences UI rather than
# editing this file by hand.

# General configuration options

[general]
# Set it to 'false' if you want to only use the streaming part of Rygel and/or
# don't want it to advertize itself on the UPnP network. If you want to
# completely disable rygel, just don't run it then. :)
upnp-enabled=false

# Set it to 'false' if you want to disable transcoding support.
enable-transcoding=true

# Set it to 'false' if you want to disable MP3 transcoding support.
enable-mp3-transcoder=true

# Set it to 'false' if you want to disable LPCM transcoding support.
enable-lpcm-transcoder=true

# Set it to 'false' if you want to disable mpeg transport stream
# (mpeg 2 video + audio) transcoding support.
enable-mp2ts-transcoder=true

# Set it to 'false' if you want to disable WMV transcoding support.
enable-wmv-transcoder=true

# Set it to 'false' if you want to disable AAC_ISO_320 transcoding support.
enable-aac-transcoder=false

# Set it to 'false' if you want to disable AVC_MP4 transcoding support.
enable-avc-transcoder=false

# 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@

# The network interface to attach rygel to. You can also use network IP or even
# ESSID for wireless networks if you are using NetworkManager. Leave it blank
# for dynamic configuration.
interface=
# The port to run HTTP server on. 0 means dynamic.
port=0

# Comma-separated list of domain:level pairs to specify log level thresholds for
# individual domains. domain could be either 'rygel', name of a plugin or '*'
# for all domains. Allowed levels are:
#
# 1=critical
# 2=error
# 3=warning
# 4=message/info
# 5=debug
log-level=*:4

# Allow upload of media files?
allow-upload=true

# Allow deletion of media folders and files?
allow-deletion=true

# Semicolon-separated list of device user-agents (or parts thereof) that need
# a downgrade in the UPnP device versions
# WARNING /!\: Only change this setting when told to do so or when you know
#              what you're doing. If you find that adding your device makes it
#              working with Rygel, please file a bug at
#              https://bugzilla.gnome.org/enter_bug.cgi?product=Rygel&component=IOP
#              so we can include it in future releases.
#force-downgrade-for=Allegro-Software-WebClient;SEC_HHP_Galaxy S/1.0

# Plugin specific sections
#
# Some options are generic and some are specific to each plugin.
# The generic ones are:
#
# * enabled: As the name suggests, to enable or disable the plugin.
# * title: The title of the plugin to advertise to UPnP clients. This can
#          contain the following automatically substituted keywords:
#       * @REALNAME@: The real name of the user as returned by
#                     g_get_real_name() function of glib library.
#       * @USERNAME@: The user name of the user as returned by
#                     g_get_user_name() function of glib library.
#       * @HOSTNAME@: The host name of the machine rygel is running on, as
#                     returned by g_get_host_name() function of glib library.
#

[Tracker]
enabled=true
share-pictures=true
share-videos=true
share-music=true
strict-sharing=false
title=@REALNAME@'s media

[MediaExport]
enabled=true
title=@REALNAME@'s media
# List of URIs to export. Following variables are automatically substituted by
# the appropriate XDG standar media folders by Rygel for you.
#
#       * @MUSIC@: The standard music folder (typically ${HOME}/Music).
#       * @VIDEOS@: The standard videos folder (typically ${HOME}/Videos).
#       * @PICTURES@: The standard pictures folder (typically ${HOME}/Pictures).
#
uris=@MUSIC@;@VIDEOS@;@PICTURES@;
include-filter=.mp3;.oga;.ogv;.ogg;.mkv;.avi;.mp4;.m4v;.m4a;.mpeg;.mpg;.ts;.flac;.jpeg;.jpg;.png;.wav;.wma;.wmv;.asf;.mpc;.mpp;.wv;.aac;.mka;.mp2;.webm;.ape;.m2ts
extract-metadata=true
monitor-changes=true

[Playbin]
enabled=true
title=Audio/Video playback on @HOSTNAME@

[ZDFMediathek]
enabled=false
# List of ids of broadcasts
rss=508
update-interval=1800
video-format=wmv

[GstLaunch]
enabled=true
launch-items=mypulseaudiosink
mypulseaudiosink-title=Audio on @HOSTNAME@
mypulseaudiosink-mime=audio/x-wav
mypulseaudiosink-launch=pulsesrc device=alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor ! flac

et $HOME/.config/rygel.conf :

# Configuration file for Rygel
#
# In most cases, you would want to use the rygel-preferences UI rather than
# editing this file by hand.

# General configuration options

[general]
# Set it to 'false' if you want to only use the streaming part of Rygel and/or
# don't want it to advertize itself on the UPnP network. If you want to
# completely disable rygel, just don't run it then. :)
upnp-enabled=false

# Set it to 'false' if you want to disable transcoding support.
enable-transcoding=true

# Set it to 'false' if you want to disable MP3 transcoding support.
enable-mp3-transcoder=true

# Set it to 'false' if you want to disable LPCM transcoding support.
enable-lpcm-transcoder=true

# Set it to 'false' if you want to disable mpeg transport stream
# (mpeg 2 video + audio) transcoding support.
enable-mp2ts-transcoder=true

# Set it to 'false' if you want to disable WMV transcoding support.
enable-wmv-transcoder=true

# Set it to 'false' if you want to disable AAC_ISO_320 transcoding support.
enable-aac-transcoder=false

# Set it to 'false' if you want to disable AVC_MP4 transcoding support.
enable-avc-transcoder=false

# 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@

# The network interface to attach rygel to. You can also use network IP or even
# ESSID for wireless networks if you are using NetworkManager. Leave it blank
# for dynamic configuration.
interface=
# The port to run HTTP server on. 0 means dynamic.
port=0

# Comma-separated list of domain:level pairs to specify log level thresholds for
# individual domains. domain could be either 'rygel', name of a plugin or '*'
# for all domains. Allowed levels are:
#
# 1=critical
# 2=error
# 3=warning
# 4=message/info
# 5=debug
log-level=*:4

# Allow upload of media files?
allow-upload=true

# Allow deletion of media folders and files?
allow-deletion=true

# Semicolon-separated list of device user-agents (or parts thereof) that need
# a downgrade in the UPnP device versions
# WARNING /!\: Only change this setting when told to do so or when you know
#              what you're doing. If you find that adding your device makes it
#              working with Rygel, please file a bug at
#              https://bugzilla.gnome.org/enter_bug.cgi?product=Rygel&component=IOP
#              so we can include it in future releases.
#force-downgrade-for=Allegro-Software-WebClient;SEC_HHP_Galaxy S/1.0

# Plugin specific sections
#
# Some options are generic and some are specific to each plugin.
# The generic ones are:
#
# * enabled: As the name suggests, to enable or disable the plugin.
# * title: The title of the plugin to advertise to UPnP clients. This can
#          contain the following automatically substituted keywords:
#       * @REALNAME@: The real name of the user as returned by
#                     g_get_real_name() function of glib library.
#       * @USERNAME@: The user name of the user as returned by
#                     g_get_user_name() function of glib library.
#       * @HOSTNAME@: The host name of the machine rygel is running on, as
#                     returned by g_get_host_name() function of glib library.
#

[Tracker]
enabled=true
share-pictures=true
share-videos=true
share-music=true
strict-sharing=false
title=@REALNAME@'s media

[MediaExport]
enabled=true
title=@REALNAME@'s media
# List of URIs to export. Following variables are automatically substituted by
# the appropriate XDG standar media folders by Rygel for you.
#
#       * @MUSIC@: The standard music folder (typically ${HOME}/Music).
#       * @VIDEOS@: The standard videos folder (typically ${HOME}/Videos).
#       * @PICTURES@: The standard pictures folder (typically ${HOME}/Pictures).
#
uris=@MUSIC@;@VIDEOS@;@PICTURES@;
include-filter=.mp3;.oga;.ogv;.ogg;.mkv;.avi;.mp4;.m4v;.m4a;.mpeg;.mpg;.ts;.flac;.jpeg;.jpg;.png;.wav;.wma;.wmv;.asf;.mpc;.mpp;.wv;.aac;.mka;.mp2;.webm;.ape;.m2ts
extract-metadata=true
monitor-changes=true

[Playbin]
enabled=true
title=Audio/Video playback on @HOSTNAME@

[ZDFMediathek]
enabled=false
# List of ids of broadcasts
rss=508
update-interval=1800
video-format=wmv

#[GstLaunch]
#enabled=false
#launch-items=audiotestsrc;videotestsrc;videotestoverlay
#audiotestsrc-title=Audiotestsrc
#audiotestsrc-mime=audio/x-wav
#audiotestsrc-launch=audiotestsrc ! wavenc
#videotestsrc-title=Videotestsrc
#videotestsrc-mime=video/mpeg
#videotestsrc-launch=videotestsrc ! ffenc_mpeg2video ! mpegtsmux
#videotestoverlay-title=Videotestsrc with timeoverlay 2
#videotestoverlay-mime=video/mpeg
#videotestoverlay-launch=videotestsrc ! timeoverlay ! ffenc_mpeg2video ! mpegtsmux

Hors ligne

#6 Le 02/04/2014, à 22:32

lenicodesbois

Re : [Résolu] Rhythmbox upnp dlna DMR

Salut tonyfrix

Alors, tout d'abord, le fichier /etc/rygel.conf n'est utilisé que si $HOME/.config/rygel.conf est absent.

J'ai donc changé mon fusil d'épaule: maintenant, je travaille sur les fichiers de config dans Home.
Donc dans ta version, normal que ca ne fonctionne pas car ta section GstLaunch de ta conf home est commentée.

Ensuite, j'ai trouvé une config qui est plus simple à mettre en œuvre: pas besoin de la ref de la carte son.
Il faut remplacer dans le fichier $HOME/.config/rygel.conf, le bloc GstLaunch par

[GstLaunch]
enabled=true
launch-items=mypulseaudiosink
mypulseaudiosink-title=FLAC Audio on @HOSTNAME@
mypulseaudiosink-mime=audio/flac
mypulseaudiosink-launch=pulsesrc device=upnp.monitor ! flacenc

Enjoy

source: http://gilwkrshop.blogspot.fr/2013_12_01_archive.html

Hors ligne

#7 Le 03/04/2014, à 18:41

tonyfrix

Re : [Résolu] Rhythmbox upnp dlna DMR

Ok merci,
je tente ça dès ce soir et te tiens au courant

Hors ligne

#8 Le 03/04/2014, à 21:48

tonyfrix

Re : [Résolu] Rhythmbox upnp dlna DMR

Super, ça marche nickel, merci, merci, merci !

Pour ceux que ça aiderait, voici ma config :
- un pc sous precise
- un routeur d-link dir-655
- un ampli denon avr-3311 à jour (airplay)
- pulseaudio + rygel

$home/.config/rygel.conf :

# Configuration file for Rygel
#
# In most cases, you would want to use the rygel-preferences UI rather than
# editing this file by hand.

# General configuration options

[general]
# Set it to 'false' if you want to only use the streaming part of Rygel and/or
# don't want it to advertize itself on the UPnP network. If you want to
# completely disable rygel, just don't run it then. :)
upnp-enabled=true

# Set it to 'false' if you want to disable transcoding support.
enable-transcoding=false

# Set it to 'false' if you want to disable MP3 transcoding support.
enable-mp3-transcoder=true

# Set it to 'false' if you want to disable LPCM transcoding support.
enable-lpcm-transcoder=true

# Set it to 'false' if you want to disable mpeg transport stream
# (mpeg 2 video + audio) transcoding support.
enable-mp2ts-transcoder=true

# Set it to 'false' if you want to disable WMV transcoding support.
enable-wmv-transcoder=true

# Set it to 'false' if you want to disable AAC_ISO_320 transcoding support.
enable-aac-transcoder=false

# Set it to 'false' if you want to disable AVC_MP4 transcoding support.
enable-avc-transcoder=false

# 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@

# The network interface to attach rygel to. You can also use network IP or even
# ESSID for wireless networks if you are using NetworkManager. Leave it blank
# for dynamic configuration.
interface=eth0
# The port to run HTTP server on. 0 means dynamic.
port=0

# Comma-separated list of domain:level pairs to specify log level thresholds for
# individual domains. domain could be either 'rygel', name of a plugin or '*'
# for all domains. Allowed levels are:
#
# 1=critical
# 2=error
# 3=warning
# 4=message/info
# 5=debug
log-level=*:4

# Allow upload of media files?
allow-upload=true

# Allow deletion of media folders and files?
allow-deletion=true

# Semicolon-separated list of device user-agents (or parts thereof) that need
# a downgrade in the UPnP device versions
# WARNING /!\: Only change this setting when told to do so or when you know
#              what you're doing. If you find that adding your device makes it
#              working with Rygel, please file a bug at
#              https://bugzilla.gnome.org/enter_bug.cgi?product=Rygel&component=IOP
#              so we can include it in future releases.
#force-downgrade-for=Allegro-Software-WebClient;SEC_HHP_Galaxy S/1.0

# Plugin specific sections
#
# Some options are generic and some are specific to each plugin.
# The generic ones are:
#
# * enabled: As the name suggests, to enable or disable the plugin.
# * title: The title of the plugin to advertise to UPnP clients. This can
#          contain the following automatically substituted keywords:
#       * @REALNAME@: The real name of the user as returned by
#                     g_get_real_name() function of glib library.
#       * @USERNAME@: The user name of the user as returned by
#                     g_get_user_name() function of glib library.
#       * @HOSTNAME@: The host name of the machine rygel is running on, as
#                     returned by g_get_host_name() function of glib library.
#

[Tracker]
enabled=true
share-pictures=true
share-videos=true
share-music=true
strict-sharing=false
title=@REALNAME@'s media

[MediaExport]
enabled=true
title=@REALNAME@'s media
# List of URIs to export. Following variables are automatically substituted by
# the appropriate XDG standar media folders by Rygel for you.
#
#       * @MUSIC@: The standard music folder (typically ${HOME}/Music).
#       * @VIDEOS@: The standard videos folder (typically ${HOME}/Videos).
#       * @PICTURES@: The standard pictures folder (typically ${HOME}/Pictures).
#
uris=@MUSIC@;@VIDEOS@;@PICTURES@;
include-filter=.mp3;.oga;.ogv;.ogg;.mkv;.avi;.mp4;.m4v;.m4a;.mpeg;.mpg;.ts;.flac;.jpeg;.jpg;.png;.wav;.wma;.wmv;.asf;.mpc;.mpp;.wv;.aac;.mka;.mp2;.webm;.ape;.m2ts
extract-metadata=true
monitor-changes=true

[Playbin]
enabled=true
title=Audio/Video playback on @HOSTNAME@

[ZDFMediathek]
enabled=false
# List of ids of broadcasts
rss=508
update-interval=1800
video-format=wmv

# [GstLaunch]
# enabled=false
# launch-items=audiotestsrc;videotestsrc;videotestoverlay
# audiotestsrc-title=Audiotestsrc
# audiotestsrc-mime=audio/x-wav
# audiotestsrc-launch=audiotestsrc ! wavenc
# videotestsrc-title=Videotestsrc
# videotestsrc-mime=video/mpeg
# videotestsrc-launch=videotestsrc ! ffenc_mpeg2video ! mpegtsmux
# videotestoverlay-title=Videotestsrc with timeoverlay 2
# videotestoverlay-mime=video/mpeg
# videotestoverlay-launch=videotestsrc ! timeoverlay ! ffenc_mpeg2video ! mpegtsmux

[GstLaunch]
enabled=true
launch-items=mypulseaudiosink
mypulseaudiosink-title=FLAC Audio on @HOSTNAME@
mypulseaudiosink-mime=audio/flac
mypulseaudiosink-launch=pulsesrc device=upnp.monitor ! flacenc

/etc/rygel.conf :

# Configuration file for Rygel
#
# In most cases, you would want to use the rygel-preferences UI rather than
# editing this file by hand.

# General configuration options

[general]
# Set it to 'false' if you want to only use the streaming part of Rygel and/or
# don't want it to advertize itself on the UPnP network. If you want to
# completely disable rygel, just don't run it then. :)
upnp-enabled=true

# Set it to 'false' if you want to disable transcoding support.
enable-transcoding=false

# Set it to 'false' if you want to disable MP3 transcoding support.
enable-mp3-transcoder=true

# Set it to 'false' if you want to disable LPCM transcoding support.
enable-lpcm-transcoder=true

# Set it to 'false' if you want to disable mpeg transport stream
# (mpeg 2 video + audio) transcoding support.
enable-mp2ts-transcoder=true

# Set it to 'false' if you want to disable WMV transcoding support.
enable-wmv-transcoder=true

# Set it to 'false' if you want to disable AAC_ISO_320 transcoding support.
enable-aac-transcoder=false

# Set it to 'false' if you want to disable AVC_MP4 transcoding support.
enable-avc-transcoder=false

# 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@

# The network interface to attach rygel to. You can also use network IP or even
# ESSID for wireless networks if you are using NetworkManager. Leave it blank
# for dynamic configuration.
interface=
# The port to run HTTP server on. 0 means dynamic.
port=0

# Comma-separated list of domain:level pairs to specify log level thresholds for
# individual domains. domain could be either 'rygel', name of a plugin or '*'
# for all domains. Allowed levels are:
#
# 1=critical
# 2=error
# 3=warning
# 4=message/info
# 5=debug
log-level=*:4

# Allow upload of media files?
allow-upload=true

# Allow deletion of media folders and files?
allow-deletion=true

# Semicolon-separated list of device user-agents (or parts thereof) that need
# a downgrade in the UPnP device versions
# WARNING /!\: Only change this setting when told to do so or when you know
#              what you're doing. If you find that adding your device makes it
#              working with Rygel, please file a bug at
#              https://bugzilla.gnome.org/enter_bug.cgi?product=Rygel&component=IOP
#              so we can include it in future releases.
#force-downgrade-for=Allegro-Software-WebClient;SEC_HHP_Galaxy S/1.0

# Plugin specific sections
#
# Some options are generic and some are specific to each plugin.
# The generic ones are:
#
# * enabled: As the name suggests, to enable or disable the plugin.
# * title: The title of the plugin to advertise to UPnP clients. This can
#          contain the following automatically substituted keywords:
#       * @REALNAME@: The real name of the user as returned by
#                     g_get_real_name() function of glib library.
#       * @USERNAME@: The user name of the user as returned by
#                     g_get_user_name() function of glib library.
#       * @HOSTNAME@: The host name of the machine rygel is running on, as
#                     returned by g_get_host_name() function of glib library.
#

[Tracker]
enabled=true
share-pictures=true
share-videos=true
share-music=true
strict-sharing=false
title=@REALNAME@'s media

[MediaExport]
enabled=true
title=@REALNAME@'s media
# List of URIs to export. Following variables are automatically substituted by
# the appropriate XDG standar media folders by Rygel for you.
#
#       * @MUSIC@: The standard music folder (typically ${HOME}/Music).
#       * @VIDEOS@: The standard videos folder (typically ${HOME}/Videos).
#       * @PICTURES@: The standard pictures folder (typically ${HOME}/Pictures).
#
uris=@MUSIC@;@VIDEOS@;@PICTURES@;
include-filter=.mp3;.oga;.ogv;.ogg;.mkv;.avi;.mp4;.m4v;.m4a;.mpeg;.mpg;.ts;.flac;.jpeg;.jpg;.png;.wav;.wma;.wmv;.asf;.mpc;.mpp;.wv;.aac;.mka;.mp2;.webm;.ape;.m2ts
extract-metadata=true
monitor-changes=true

[Playbin]
enabled=true
title=Audio/Video playback on @HOSTNAME@

[ZDFMediathek]
enabled=false
# List of ids of broadcasts
rss=508
update-interval=1800
video-format=wmv

# [GstLaunch]
# enabled=true
# launch-items=mypulseaudiosink
# mypulseaudiosink-title=Audio on @HOSTNAME@
# mypulseaudiosink-mime=audio/x-raw-int
# mypulseaudiosink-launch=pulsesrc device=alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor ! flacenc

attention sur les 2 :
- upnp-enabled=true
- enable-transcoding=false

bon son à tous et merci encore.

Hors ligne

Haut de page ↑