From 9f3d79d5911ebf5b381bc06dbb5ba70bb28725cd Mon Sep 17 00:00:00 2001 From: Vincent Date: Mon, 31 May 2021 08:06:12 +0200 Subject: [PATCH] . --- .idea/workspace.xml | 27 +++++++++++++++++---------- config/global.php | 2 +- scripts/lib/harmony.php | 2 +- scripts/lib/kodi.php | 2 +- 4 files changed, 20 insertions(+), 13 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 8410d1e..6866222 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,7 +3,9 @@ - + + + diff --git a/config/global.php b/config/global.php index 52ded1f..3e7d015 100644 --- a/config/global.php +++ b/config/global.php @@ -3,7 +3,7 @@ ini_set('display_errors', true); define('WEB_ROOT', 'https://home.tortuga.enhydra.fr/'); -define("SQUEEZEBOX_SERVER", 'http://192.168.13.60:9000'); +define("SQUEEZEBOX_SERVER", 'http://squeezebox.home.tortuga.enhydra.fr:9000'); define("SQUEEZEBOX_SPOTIFY_USERNAME", '70@enhydra.fr'); define("SQUEEZEBOX_SPOTIFY_PASSWORD", '?Z8}#HK+SZrQ'); diff --git a/scripts/lib/harmony.php b/scripts/lib/harmony.php index 521f909..81b5eb9 100644 --- a/scripts/lib/harmony.php +++ b/scripts/lib/harmony.php @@ -5,7 +5,7 @@ function harmonyRequest($uri, $method = 'GET', $hub = 'bureau') { global $harmonyClient; - $ip = '192.168.13.60'; + $ip = '192.168.13.7'; $uri = 'http://' . $ip . ':8282/hubs/' . $hub . '/' . ltrim($uri, '/'); diff --git a/scripts/lib/kodi.php b/scripts/lib/kodi.php index 25f0cb1..f211d52 100644 --- a/scripts/lib/kodi.php +++ b/scripts/lib/kodi.php @@ -6,7 +6,7 @@ $_koditotmdb = null; function getKodiDBConnection() { - return mysqli_connect('localhost', "kodi", "atacama", "MyVideos119"); + return mysqli_connect('kodidb.home.tortuga.enhydra.fr', "kodi", "atacama", "MyVideos119"); } function kodiGetAllKodiToTmdb($force=false) -- 2.39.5