Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
rygel [Le 16/09/2015, 16:33] 82.246.53.99 [Voir aussi] |
rygel [Le 09/03/2024, 00:22] (Version actuelle) Coeur Noir [Configuration] |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | {{tag>Trusty dlna multimedia mediacenter BROUILLON}} | + | {{tag>Jammy dlna multimedia média_center}} |
---- | ---- | ||
- | ====== Rygel ====== | + | ====== Rygel ====== |
**Rygel** est une solution multimédia domestique (UPnP AV MediaServer) qui vous permet de partager facilement des fichiers audio, vidéo et images avec d'autres appareils de votre réseau domestique. | **Rygel** est une solution multimédia domestique (UPnP AV MediaServer) qui vous permet de partager facilement des fichiers audio, vidéo et images avec d'autres appareils de votre réseau domestique. | ||
- | ===== Pré-requis ===== | ||
- | |||
- | * Disposer des [[:sudo|droits d'administration]]. | ||
- | * Disposer d'une connexion à Internet configurée et activée. | ||
===== Installation ===== | ===== Installation ===== | ||
- | Pour installer ce logiciel, il suffit d'[[:tutoriel:comment_installer_un_paquet|installer les paquets]] **[[apt>rygel]]**. | + | Pour installer ce logiciel, il suffit d'[[:tutoriel:comment_installer_un_paquet|installer le paquet]] **[[apt>rygel]]**. Vous pouvez également installer une interface graphique à Rygel, pour cela [[:tutoriel:comment_installer_un_paquet|installez le paquet]] **[[apt>rygel-preferences]]**. |
===== Configuration ===== | ===== Configuration ===== | ||
- | + | Si vous avez installé **Rygel-preferences** vous pouvez y accéder en faisant une recherche comme indiqué [[:tutoriel:comment_lancer_application|ici]]. | |
- | + | Sinon il vous faudra [[:tutoriel:comment_modifier_un_fichier|modifier le fichier]] **/etc/rygel.conf**. | |
- | Sous Xubuntu 15.04 le fichier de configuration rygel.conf est dans /etc | + | Les paramètres importants sont : |
- | + | * ''log-level=*:5'' pour avoir les messages d'erreurs au lancement | |
- | Exemple : | + | * ''uris=@MUSIC@;@VIDEOS@;@PICTURES@;/media/$USER/Elements/Media/;/media/$USER/Elements/MP3/;'' ce sont les dossiers que vous voulez voir s'afficher sur la télévision. Les 3 premiers sont ceux de votre dossier **Dossier Personnel**, |
- | <file> | + | * ''title=GUY's media'', c'est le nom de l'équipement qui s'affichera sur la télévision.\\ |
- | @desktop:/etc$ cat rygel.conf | + | |
- | # Configuration file for Rygel | + | |
- | + | ||
- | # 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=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@ | + | |
- | + | ||
- | # Default media engine to load. If not specified, the engine directory is | + | |
- | # searched recursively and the first engine found is loaded. | + | |
- | media-engine=librygel-media-engine-gst.so | + | |
- | + | ||
- | # List of network interfaces to attach rygel to. You can also use network IP or | + | |
- | # even ESSID for wireless networks on Linux. 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=*:5 | + | |
- | + | ||
- | # 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;SEC HHP;Mediabolic-IMHTTP/1;TwoPlayer;Reciva;FDSSDP;Portable SDK for UPnP devices;Darwin | + | |
- | + | ||
- | # 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. | + | |
- | # | + | |
- | + | ||
- | # Options related to the used media backend. | + | |
- | # The options shown in this configuration file are specific to GStreamer. | + | |
- | [GstMediaEngine] | + | |
- | + | ||
- | # List of active transcoders. To disable one, remove from list. | + | |
- | transcoders=mp3;lpcm;mp2ts;wmv;aac;avc | + | |
- | + | ||
- | # Options that apply to the renderer framework in general | + | |
- | [Renderer] | + | |
- | + | ||
- | # Default showtime in seconds to use for images in playlists if dlna:lifetime | + | |
- | # is not set. DLNA wants something between 5 and 15 seconds. | + | |
- | image-timeout = 15 | + | |
- | + | ||
- | [Tracker] | + | |
- | enabled=true | + | |
- | share-pictures=true | + | |
- | share-videos=true | + | |
- | share-music=true | + | |
- | strict-sharing=false | + | |
- | title=@REALNAME@'s media | + | |
- | + | ||
- | [MediaExport] | + | |
- | enabled=true | + | |
- | title=GUY's media | + | |
- | # List of URIs to export. Following variables are automatically substituted by | + | |
- | # the appropriate XDG standard 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@;/media/guy/Elements/Media/;/media/guy/Elements/MP3/; | + | |
- | extract-metadata=true | + | |
- | monitor-changes=true | + | |
- | monitor-grace-timeout=5 | + | |
- | virtual-folders=true | + | |
- | + | ||
- | [Playbin] | + | |
- | enabled=true | + | |
- | title=Audio/Video playback on @PRETTY_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 ! avenc_mpeg2video ! mpegtsmux | + | |
- | videotestoverlay-title=Videotestsrc with timeoverlay 2 | + | |
- | videotestoverlay-mime=video/mpeg | + | |
- | videotestoverlay-launch=videotestsrc ! timeoverlay ! avenc_mpeg2video ! mpegtsmux | + | |
- | + | ||
- | [Test] | + | |
- | enabled=false | + | |
- | + | ||
- | [ExampleServerPluginVala] | + | |
- | enabled=false | + | |
- | + | ||
- | [ExampleServerPluginC] | + | |
- | enabled=false | + | |
- | + | ||
- | [ExampleRendererPluginVala] | + | |
- | enabled=false | + | |
- | + | ||
- | [ExampleRendererPluginC] | + | |
- | enabled=false | + | |
- | + | ||
- | [MPRIS] | + | |
- | enabled=false | + | |
- | + | ||
- | [External] | + | |
- | enabled=false | + | |
- | </file> | + | |
- | + | ||
- | ==== Les paramètres importants ==== | + | |
- | * log-level=*:5 pour avoir les messages d'erreurs au lancement | + | Depuis ( au moins ) Ubuntu 12.04, Rygel est intégré à l'environnement de bureau Gnome / Ubuntu, il s'active et se désactive via :\\ |
- | * uris=@MUSIC@;@VIDEOS@;@PICTURES@;/media/guy/Elements/Media/;/media/guy/Elements/MP3/; ce sont les dossiers que vous voulez voir s'afficher sur la télévision. Les 3 premiers sont ceux de votre dossier /home | + | {{:rygel:gnome_param_partage_rygel.png?direct&600|}}\\ |
- | * title=GUY's media c'est le nom de l'équipement qui s'affichera sur la télévision | + | soit : **Paramètres → Partage → Partage de médias**\\ |
==== Duplication du fichier de configuration ==== | ==== Duplication du fichier de configuration ==== | ||
- | Pour éviter les messages d'insulte au lancement on peut dupliquer le fichier de configuration dans le dossier /home/.config de l'utilisateur. | + | Pour éviter les messages d'insulte au lancement on peut dupliquer le fichier de configuration dans le dossier **.config** de l'utilisateur. |
- | + | ||
- | ==== Configuration par interface graphique ==== | + | |
- | + | ||
- | Installer rygel-preferences [[:tutoriel:comment_installer_un_paquet|sudo apt-get install rygel-preferences]] | + | |
- | demarrer 'Préférences de Rygel' depuis le menu Paramètres | + | |
===== Utilisation ===== | ===== Utilisation ===== | ||
- | + | Pour lancer Rygel, taper la commande suivante dans un [[:terminal]] : <code>rygel -g 5</code> | |
- | ==== Activation ==== | + | |
- | + | ||
- | En ligne de commande avec affichage des traces | + | |
- | **rygel -g 5** | + | |
==== Démarrage automatique ==== | ==== Démarrage automatique ==== | ||
- | Dans Xubuntu rygel est inscrit dans les applications lancées au démarrage de la session. | + | Rygel devrait s'ajouter par défaut dans les applications lancées au démarrage de la session. Sinon ajoutez le aux [[tutoriel:application_demarrage|applications au démarrage]]. |
- | Exemple: [[http://pix.toile-libre.org/?img=1432208528.png]] | + | |
==== Firewall ==== | ==== Firewall ==== | ||
- | Si vous utiliser un firewall pensez à autoriser les dialogues entre votre PC et la Box | + | Si vous utilisez un [[:firewall]] pensez à autoriser les dialogues entre votre PC et la Box. |
==== Constitution de la base de données ==== | ==== Constitution de la base de données ==== | ||
Au premier lancement Rygel va construire sa base de données, ceci peut-être gourmand en temps UC et en durée. Soyez patient et ne surcharger pas votre PC pendant ce temps là. | Au premier lancement Rygel va construire sa base de données, ceci peut-être gourmand en temps UC et en durée. Soyez patient et ne surcharger pas votre PC pendant ce temps là. | ||
- | La base s'appelle media-export.db et se trouve dans votre dossier /home dans le dossier .cache/rygel | + | La base s'appelle ''media-export.db'' et se trouve dans le [[:fichier_cache|dossier caché]] **.cache/rygel** de votre **Dossier Personnel**. |
===== Intégration dans systemd ===== | ===== Intégration dans systemd ===== | ||
- | Pour que rygel démarre automatiquement dans systemd voir comment ajouter un service rygel ici: [[https://forum.ubuntu-fr.org/viewtopic.php?pid=19858801#p19858801]] | + | Pour que rygel démarre automatiquement dans systemd voir comment ajouter un service rygel [[https://forum.ubuntu-fr.org/viewtopic.php?pid=19858801#p19858801|ici]]. |
===== Désinstallation ===== | ===== Désinstallation ===== | ||
Ligne 232: | Ligne 53: | ||
===== Voir aussi ===== | ===== Voir aussi ===== | ||
- | * **(en)** Site officiel du logiciel : [[https://wiki.gnome.org/Projects/Rygel]] | + | * Le [[https://wiki.gnome.org/Projects/Rygel|Site officiel du logiciel]] **(en)** |
- | * **(fr)** [[Site de la communauté francophone du logiciel Bidule]] | + | * La page générique sur le [[dlna|Upnp DLNA: accès aux fichiers multimédia du réseau]] |
- | * [[http://forum.ubuntu-fr.org/viewtopic.php?id=64840|Discussion « J'ai un soucis avec le logiciel Bidule »]] sur le forum Ubuntu-fr | + | |
---- | ---- | ||
//Contributeurs principaux : [[:utilisateurs:grandtoubab|grandtoubab]].// | //Contributeurs principaux : [[:utilisateurs:grandtoubab|grandtoubab]].// |