﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tag Media-Center - Constellation</title>
	<atom:link href="https://developer.myconstellation.io/tag/media-center/feed/" rel="self" type="application/rss+xml" />
	<link>https://developer.myconstellation.io/tag/media-center/</link>
	<description>Votre plateforme d&#039;interconnexion</description>
	<lastBuildDate>Thu, 13 Jun 2019 14:31:37 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.0.11</generator>

<image>
	<url>https://developer.myconstellation.io/wp-content/uploads/2016/02/256x256-e1457476015859.png</url>
	<title>Tag Media-Center - Constellation</title>
	<link>https://developer.myconstellation.io/tag/media-center/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Xbmc : intégrez vos media-centers XBMC/Kodi dans Constellation</title>
		<link>https://developer.myconstellation.io/package-library/xbmc/</link>
					<comments>https://developer.myconstellation.io/package-library/xbmc/#comments</comments>
		
		<dc:creator><![CDATA[Constellation Documentation Agent]]></dc:creator>
		<pubDate>Fri, 28 Oct 2016 09:28:12 +0000</pubDate>
				<category><![CDATA[Packages]]></category>
		<category><![CDATA[Package]]></category>
		<category><![CDATA[XBMC]]></category>
		<category><![CDATA[Kodi]]></category>
		<category><![CDATA[Media-Center]]></category>
		<guid isPermaLink="false">https://developer.myconstellation.io/?p=3574</guid>

					<description><![CDATA[<p>Le package XBMC/Kodi vous permet de connecter des hôtes XBMC/Kodi dans Constellation. Le code source de ce package est disponible sur : https://github.com/myconstellation/constellation-packages/tree/master/xbmc Installation Prérequis : configuration de Kodi Avant d’installer le package vous devez configurer votre media-center Kodi. Pour cela,</p>
<p>The post <a rel="nofollow" href="https://developer.myconstellation.io/package-library/xbmc/">Xbmc : intégrez vos media-centers XBMC/Kodi dans Constellation</a> appeared first on <a rel="nofollow" href="https://developer.myconstellation.io">Constellation</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Le package XBMC/Kodi vous permet de connecter des hôtes XBMC/Kodi dans Constellation.</p>
<p align="center"><a href="https://kodi.tv"><img class="colorbox-3574"  loading="lazy" style="background-image: none; padding-top: 0px; padding-left: 0px; padding-right: 0px; border-width: 0px;" title="image" src="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-156.png" alt="image" width="354" height="186" border="0" /></a></p>
<p style="text-align: left;" align="center">Le code source de ce package est disponible sur : <a href="https://github.com/myconstellation/constellation-packages/tree/master/xbmc">https://github.com/myconstellation/constellation-packages/tree/master/xbmc</a></p>
<h3>Installation</h3>
<h4>Prérequis : configuration de Kodi</h4>
<p>Avant d’installer le package vous devez configurer votre media-center Kodi. Pour cela, rendez-vous dans les paramètres (System &gt; Settings) puis entrer dans l’onglet “Services”.</p>
<p>Sur la page “Serveur Web” vous devez activer le contrôle de Kodi par HTTP et définir un port (ex: 80) et optionnellement un nom d’utilisateur et un mot de passe.</p>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-157.png"><img class="colorbox-3574"  loading="lazy" style="background-image: none; padding-top: 0px; padding-left: 0px; padding-right: 0px; border-width: 0px;" title="image" src="https://developer.myconstellation.io/wp-content/uploads/2016/10/image_thumb-141.png" alt="image" width="350" height="192" border="0" /></a></p>
<p align="left">Sur la page “Contrôle à distance”, cocher la case permettant d’autoriser une application externe à contrôler votre media-center :</p>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-158.png"><img class="colorbox-3574"  loading="lazy" style="background-image: none; padding-top: 0px; padding-left: 0px; padding-right: 0px; border-width: 0px;" title="image" src="https://developer.myconstellation.io/wp-content/uploads/2016/10/image_thumb-142.png" alt="image" width="354" height="196" border="0" /></a></p>
<h4>Installation du package Constellation</h4>
<p>Depuis le “Online Package Repository” de votre Console Constellation, déployez le package Xbmc:</p>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-159.png"><img class="colorbox-3574"  loading="lazy" style="background-image: none; padding-top: 0px; padding-left: 0px; padding-right: 0px; border-width: 0px;" title="image" src="https://developer.myconstellation.io/wp-content/uploads/2016/10/image_thumb-143.png" alt="image" width="350" height="214" border="0" /></a></p>
<p>Une fois le package télécharger votre repository local, sélectionnez la sentinelle sur laquelle déployer le package.</p>
<p>Pour finir sur la page de Settings vous devez obligatoirement spécifier la liste des hôtes XBMC/Kodi à connecter dans Constellation :</p>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-160.png"><img class="colorbox-3574"  loading="lazy" style="background-image: none; padding-top: 0px; padding-left: 0px; padding-right: 0px; border-width: 0px;" title="image" src="https://developer.myconstellation.io/wp-content/uploads/2016/10/image_thumb-144.png" alt="image" width="350" height="283" border="0" /></a></p>
<p align="left">Le schéma XML de ce paramètre est relativement simple. Vous devez simplement ajouter des balises “<em>&lt;xbmcHost&gt;</em>” dans la section ”&lt;hosts&gt;” pour chaque hôte Kodi que vous voulez connecter dans Constellation.</p>
<p align="left">Pour chaque “<em>&lt;xbmcHost&gt;</em>” vous devez obligatoirement définir les attributs “Name” (le nom unique de votre media-center qui servira d’identifiant dans Constellation), “host” l’IP ou DNS de votre Kodi et “port”, le n° du prot TCP du serveur Web de Kodi (configuré ci-dessus). Vous pouvez également spécifier un “login” et “password”.</p>
<p align="left">Vous pouvez également déployer ce package manuellement dans la configuration de votre Constellation :</p>
<p></p><pre class="crayon-plain-tag">&lt;package name="Xbmc"&gt;
  &lt;settings&gt;
    &lt;setting key="xbmcConfigurationSection"&gt;
      &lt;content&gt;
        &lt;xbmcConfigurationSection xmlns="urn:Xbmc"&gt;
          &lt;hosts&gt;
            &lt;xbmcHost name="XBMC Salon" host="pc-salon" port="80" login="xbmc" password="xbmc" /&gt;
            &lt;xbmcHost name="XBMC Chambre" host="pc-chambre" port="80" login="xbmc" password="xbmc" /&gt;
          &lt;/hosts&gt;
        &lt;/xbmcConfigurationSection&gt;
      &lt;/content&gt;
    &lt;/setting&gt;
  &lt;/settings&gt;
&lt;/package&gt;</pre><p></p>
<h3>Détails du package</h3>
<h4>Les Settings</h4>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td valign="top" width="10"><u>Nom</u></td>
<td valign="top" width="10"><u>Type</u></td>
<td valign="top" width="10"><u>Détail</u></td>
<td valign="top" width="478"><u>Description</u></td>
</tr>
<tr>
<td valign="top" width="10"><strong>xbmcConfigurationSection</strong></td>
<td valign="top" width="10">ConfigurationSection</td>
<td valign="top" width="10">Obligatoire</td>
<td valign="top" width="478">Schéma XML de configuration des hôtes XBMC/Kodi</td>
</tr>
</tbody>
</table>
<h4>Les StateObjects</h4>
<p>Vous retrouverez autant de StateObjects que d’hôtes XBMC/Kodi enregistrés :</p>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td valign="top" width="10"><u>Nom</u></td>
<td valign="top" width="10"><u>Type</u></td>
<td valign="top" width="446"><u>Description</u></td>
</tr>
<tr>
<td valign="top" width="10"><strong>&lt;&lt; Nom du Media-Center &gt;&gt;</strong></td>
<td valign="top" width="10">Xbmc.XbmcState</td>
<td valign="top" width="446">Représente l’état du media-center. Le StateObject contient notamment une propriété “IsConnected” permettant de savoir si le media-center est connecté ainsi que les propriétés “PlayerState” (informations sur l’état du lecteur) et “PlayerItem” (informations sur le média en lecture)</td>
</tr>
</tbody>
</table>
<h4 align="left">Les MessageCallbacks</h4>
<p>Le package expose 10 MessageCallbacks :</p>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td valign="top" width="10"><u>Nom</u></td>
<td valign="top" width="141"><u>Réponse (saga)</u></td>
<td valign="top" width="407"><u>Description</u></td>
</tr>
<tr>
<td valign="top" width="10"><strong>OpenEpisode</strong> <i></i></td>
<td valign="top" width="141"><em>Aucune</em></td>
<td valign="top" width="407">Lance un épisode d’une série de la médiathèque.</td>
</tr>
<tr>
<td valign="top" width="10"><strong>OpenMovie</strong> <i></i></td>
<td valign="top" width="141"><em>Aucune</em></td>
<td valign="top" width="407">Lance un film de la médiathèque.</td>
</tr>
<tr>
<td valign="top" width="10"><strong>PlayPause</strong> <i></i></td>
<td valign="top" width="141"><em>Aucune</em></td>
<td valign="top" width="407">Play/Pause sur le média en cours.</td>
</tr>
<tr>
<td valign="top" width="10"><strong>ScanAudioLibrary</strong> <i></i></td>
<td valign="top" width="141"><em>Aucune</em></td>
<td valign="top" width="407">Lance un scan de la médiathèque audio.</td>
</tr>
<tr>
<td valign="top" width="10"><strong>ScanVideoLibrary</strong></td>
<td valign="top" width="141"><em>Aucune</em></td>
<td valign="top" width="407">Lance un scan de la médiathèque vidéo.</td>
</tr>
<tr>
<td valign="top" width="10"><strong>SendInputKey</strong> <i></i></td>
<td valign="top" width="141"><em>Aucune</em></td>
<td valign="top" width="407">Envoi une touche.</td>
</tr>
<tr>
<td valign="top" width="10"><strong>SetMute</strong></td>
<td valign="top" width="141"><em>Aucune</em></td>
<td valign="top" width="407">Active ou désactive le mode muet.</td>
</tr>
<tr>
<td valign="top" width="10"><strong>SetVolume</strong> <i></i></td>
<td valign="top" width="141"><em>Aucune</em></td>
<td valign="top" width="407">Défini le volume.</td>
</tr>
<tr>
<td valign="top" width="10"><strong>ShowNotification</strong> <i></i></td>
<td valign="top" width="141"><em>Aucune</em></td>
<td valign="top" width="407">Affiche une notification sur le media-center</td>
</tr>
<tr>
<td valign="top" width="10"><strong>Stop</strong></td>
<td valign="top" width="141"><em>Aucune</em></td>
<td valign="top" width="407">Arrête la lecture du média en cours</td>
</tr>
</tbody>
</table>
<p align="center"><a href="https://developer.myconstellation.io/wp-content/uploads/2016/10/image-161.png"><img class="colorbox-3574"  loading="lazy" style="background-image: none; padding-top: 0px; padding-left: 0px; padding-right: 0px; border-width: 0px;" title="image" src="https://developer.myconstellation.io/wp-content/uploads/2016/10/image_thumb-145.png" alt="image" width="350" height="497" border="0" /></a></p>
<h3 align="left">Quelques exemples</h3>
<ul>
<li>Afficher et contrôler le média en cours de lecture sur une page Web ou une application mobile multi-plateforme</li>
<li>Contrôler le media-center Kodi avec un Arduino-ESP et une simple télécommande infrarouge</li>
<li>Contrôler les lumières Hue automatiquement d’un film</li>
<li>Afficher des notifications sur le média-center  plutôt que sur le smartphone lorsque l’on regarde un film</li>
<li>Contrôler le “Play/Pause” à partir d’un bouton poussoir piloté par un .NET Gadgeteer</li>
</ul>
<p>The post <a rel="nofollow" href="https://developer.myconstellation.io/package-library/xbmc/">Xbmc : intégrez vos media-centers XBMC/Kodi dans Constellation</a> appeared first on <a rel="nofollow" href="https://developer.myconstellation.io">Constellation</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://developer.myconstellation.io/package-library/xbmc/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Mise en cache de page à l’aide de Disk: Enhanced 

Served from: developer.myconstellation.io @ 2026-01-21 14:13:50 by W3 Total Cache
-->