Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| rygel [Le 21/05/2015, 16:21] – [Constitution de la base de données] grandtoubab | rygel [Le 19/01/2026, 12:57] (Version actuelle) – [GNOME Paramètres] précision / rédactionnel 141.227.26.230 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ====== Installation ====== | + | {{tag> |
| - | Rygel est disponible dans la logithèque. | + | |
| - | En ligne de commande : | + | |
| - | ====== Configuration ====== | + | |
| - | Sous Xubuntu 15.04 le fichier de configuration rygel.conf est dans /etc | + | |
| - | Exemple | + | {{ https:// |
| - | < | + | ====== |
| - | @desktop:/etc$ cat rygel.conf | + | |
| - | # Configuration file for Rygel | + | |
| - | # General configuration options | + | **Rygel** est une solution multimédia domestique ([[:serveur]] [[:UPnP]] / [[:DLNA]]) qui vous permet de [[: |
| - | [general] | + | |
| - | # Set it to ' | + | |
| - | # 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 ' | + | ===== Installation ===== |
| - | enable-transcoding=true | + | |
| - | # Where video files should be saved if allow-upload is true. | + | **Rygel** est installé par défaut sur Ubuntu |
| - | # Defaults to @VIDEOS@, the standard videos folder | + | |
| - | video-upload-folder=@VIDEOS@; | + | |
| - | # Where music files should be saved if allow-upload is true | + | Il peut être installé sur d' |
| - | # Defaults to @MUSIC@, the standard music folder (typically ${HOME}/ | + | Dans ce cas **[[:gnome-control-center|GNOME Paramètres]]** ne sera cependant pas installé. Vous pouvez donc à la place installer une interface graphique à **Rygel**, par exemple en [[: |
| - | music-upload-folder=@MUSIC@ | + | |
| + | ===== Configuration ===== | ||
| - | # Where picture files should be saved if allow-upload is true | + | Il existe plusieurs moyens de configurer et d' |
| - | # Defaults to @PICTURES@, the standard picture folder | + | |
| - | picture-upload-folder=@PICTURES@ | + | |
| - | # Default media engine to load. If not specified, the engine directory is | + | ==== GNOME Paramètres ==== |
| - | # 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 | + | La configuration |
| - | # 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: | + | Sur la fenêtre //Partage de médias// ainsi ouverte, choisir les // |
| - | # individual domains. domain could be either ' | + | Les //Dossiers// choisis sont alors partagés sur le [[:réseau]] local. On peut en ajouter ou en retirer à la liste par défaut (Vidéos, Musiques, Images). |
| - | # 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? | + | Une fois activé dans Gnome, Rygel lance le partage automatiquement au démarrage de chaque [[:session utilisateur|session]]. |
| - | allow-upload=true | + | Si cela ne fonctionne pas, ou avec des installations manuelles, voir le chapitre // |
| - | # Allow deletion of media folders and files? | + | <note important> |
| - | allow-deletion=true | + | Le partage ne fonctionne que tant que la [[:session utilisateur|session]] est ouverte (il se désactivera lors de l' |
| - | # Semicolon-separated list of device user-agents (or parts thereof) that need | + | ==== Rygel-preferences ==== |
| - | # 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:// | + | |
| - | # so we can include it in future releases. | + | |
| - | # | + | |
| - | # Plugin specific sections | + | Si vous avez installé |
| - | # | + | |
| - | # 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 | + | |
| - | # | + | |
| - | # * @USERNAME@: The user name of the user as returned by | + | |
| - | # | + | |
| - | # * @HOSTNAME@: The host name of the machine rygel is running on, as | + | |
| - | # | + | |
| - | # | + | |
| - | # Options related to the used media backend. | + | ==== Ligne de commande ==== |
| - | # The options shown in this configuration file are specific to GStreamer. | + | |
| - | [GstMediaEngine] | + | |
| - | # List of active transcoders. To disable one, remove from list. | + | Pour paramétrer Rygel **en mode texte**, copiez le fichier de configuration dans votre [[: |
| - | transcoders=mp3; | + | cp -n /etc/rygel.conf ~/.config |
| - | # Options that apply to the renderer framework in general | + | Vous pouvez ensuite |
| - | [Renderer] | + | |
| - | # Default showtime in seconds to use for images in playlists if dlna:lifetime | + | Les paramètres importants sont : |
| - | # is not set. DLNA wants something between | + | * '' |
| - | image-timeout | + | * '' |
| + | * '' | ||
| - | [Tracker] | + | Pour vérifier si Rygel fonctionne, vous pouvez tester le service :((Voir //[[: |
| - | enabled=true | + | < |
| - | share-pictures=true | + | |
| - | share-videos=true | + | |
| - | share-music=true | + | |
| - | strict-sharing=false | + | |
| - | title=@REALNAME@' | + | |
| - | [MediaExport] | + | ===== Utilisation ===== |
| - | 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}/ | + | |
| - | # * @VIDEOS@: The standard videos folder (typically ${HOME}/ | + | |
| - | # * @PICTURES@: The standard pictures folder (typically ${HOME}/ | + | |
| - | # | + | |
| - | uris=@MUSIC@; | + | |
| - | extract-metadata=true | + | |
| - | monitor-changes=true | + | |
| - | monitor-grace-timeout=5 | + | |
| - | virtual-folders=true | + | |
| - | [Playbin] | + | ==== Démarrage ==== |
| - | enabled=true | + | |
| - | title=Audio/Video playback on @PRETTY_HOSTNAME@ | + | |
| - | [ZDFMediathek] | + | **Rygel** se lance automatiquement à partir du moment où on active l' |
| - | enabled=false | + | |
| - | # List of ids of broadcasts | + | |
| - | rss=508 | + | |
| - | update-interval=1800 | + | |
| - | video-format=wmv | + | |
| - | [GstLaunch] | + | Pour lancer **Rygel** depuis un [[:terminal]], entrez la [[:commande shell|commande]] suivante : |
| - | enabled=false | + | |
| - | launch-items=audiotestsrc; | + | |
| - | audiotestsrc-title=Audiotestsrc | + | |
| - | audiotestsrc-mime=audio/ | + | |
| - | audiotestsrc-launch=audiotestsrc ! wavenc | + | |
| - | videotestsrc-title=Videotestsrc | + | |
| - | videotestsrc-mime=video/ | + | |
| - | videotestsrc-launch=videotestsrc ! avenc_mpeg2video ! mpegtsmux | + | |
| - | videotestoverlay-title=Videotestsrc with timeoverlay 2 | + | |
| - | videotestoverlay-mime=video/ | + | |
| - | videotestoverlay-launch=videotestsrc ! timeoverlay ! avenc_mpeg2video ! mpegtsmux | + | |
| - | [Test] | + | Il existe aussi une commande '' |
| - | enabled=false | + | |
| - | [ExampleServerPluginVala] | + | ==== Démarrage automatique ==== |
| - | enabled=false | + | |
| - | [ExampleServerPluginC] | + | **Rygel** devrait s' |
| - | enabled=false | + | |
| - | [ExampleRendererPluginVala] | + | Le service '' |
| - | enabled=false | + | La commande pour le démarrer automatiquement est donc : |
| + | systemctl --user enable rygel | ||
| - | [ExampleRendererPluginC] | + | Si vous voulez utiliser **Rygel** avec des [[: |
| - | enabled=false | + | |
| - | [MPRIS] | + | ==== Pare-feu ==== |
| - | enabled=false | + | |
| - | [External] | + | Si vous utilisez un [[:pare-feu]] (// |
| - | enabled=false | + | |
| - | </code> | + | |
| - | ===== Les paramètres importants===== | + | |
| - | | + | |
| - | | + | |
| - | * title=GUY's media c'est le nom de l'équipement qui s'affichera sur la télévision | + | |
| - | ===== Duplication du fichier de configuration ===== | + | |
| - | Pour éviter les messages | + | |
| - | ====== Configuration par interface graphique====== | + | ==== Constitution |
| - | Installer rygel-preferences [[: | + | |
| - | demarrer ' | + | |
| - | ====== Activation ====== | + | |
| - | En ligne de commande avec affichage des traces | + | |
| - | **rygel -g 5** | + | |
| - | ====== Démarrage automatique ====== | + | |
| - | Dans Xubuntu rygel est inscrit dans les applications lancées au démarrage de la session. | + | |
| - | Exemple: | + | |
| - | [[http:// | + | Au premier lancement **Rygel** va construire une base de données, ceci peut-être gourmand en ressources et en durée. Soyez patient et évitez de surcharger votre PC pendant ce temps. |
| - | ====== Firewall ====== | + | La base s' |
| - | Si vous utiliser un firewall pensez à autoriser les dialogues entre votre PC et la Box | + | |
| + | ===== Désinstallation | ||
| + | |||
| + | Pour supprimer cette application, | ||
| + | <note important> | ||
| + | |||
| + | ===== Voir aussi ===== | ||
| + | |||
| + | * Le [[https:// | ||
| + | * [[https:// | ||
| + | * La page générique sur [[: | ||
| - | ====== | + | ==== Alternatives |
| - | 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' | + | |
| - | + | ||
| - | ====== Intégration dans systemd ====== | + | |
| - | Pour que rygel démarre automatiquement dans systemd voir comment ajouter un service rygel ici: [[https:// | + | |
| - | --- // | + | |
| + | * voir le chapitre // | ||
| + | * et en particulier **[[: | ||
| + | ---- | ||
| + | // | ||
