<component name="ChangeListManager">
<list default="true" id="352ce63a-b52a-41a2-979b-becda7920939" name="Default" comment=".">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/config/chambre.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/chambre.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/config/music.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/music.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/scripts/lib/lib.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/lib.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/scripts/lib/scenes.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/scenes.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/scripts/lib/weatherstation.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/weatherstation.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/scripts/lib/squeezebox.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/squeezebox.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/scripts/squeeze.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/squeeze.php" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<workItem from="1582201880333" duration="3283000" />
<workItem from="1582660044500" duration="814000" />
<workItem from="1582796298540" duration="1959000" />
- <workItem from="1582798438958" duration="112000" />
- </task>
- <task id="LOCAL-00258" summary=".">
- <created>1577380602449</created>
- <option name="number" value="00258" />
- <option name="presentableId" value="LOCAL-00258" />
- <option name="project" value="LOCAL" />
- <updated>1577380602449</updated>
+ <workItem from="1582798438958" duration="2008000" />
+ <workItem from="1583062665588" duration="7000" />
+ <workItem from="1583062693000" duration="2011000" />
</task>
<task id="LOCAL-00259" summary=".">
<created>1577381108669</created>
<option name="project" value="LOCAL" />
<updated>1582220578115</updated>
</task>
- <option name="localTasksCounter" value="307" />
+ <task id="LOCAL-00307" summary=".">
+ <created>1582798632124</created>
+ <option name="number" value="00307" />
+ <option name="presentableId" value="LOCAL-00307" />
+ <option name="project" value="LOCAL" />
+ <updated>1582798632124</updated>
+ </task>
+ <option name="localTasksCounter" value="308" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<screen x="0" y="0" width="2560" height="1040" />
</state>
<state x="1019" y="324" key="#com.intellij.fileTypes.FileTypeChooser/0.0.2560.1040@0.0.2560.1040" timestamp="1581415995312" />
- <state x="960" y="247" key="#com.intellij.openapi.updateSettings.impl.PluginUpdateInfoDialog" timestamp="1580459136096">
+ <state x="960" y="247" key="#com.intellij.openapi.updateSettings.impl.PluginUpdateInfoDialog" timestamp="1583062669525">
<screen x="0" y="0" width="2560" height="1040" />
</state>
<state x="720" y="247" key="#com.intellij.openapi.updateSettings.impl.PluginUpdateInfoDialog/0.0.1920.1040@0.0.1920.1040" timestamp="1577298128269" />
- <state x="960" y="247" key="#com.intellij.openapi.updateSettings.impl.PluginUpdateInfoDialog/0.0.2560.1040@0.0.2560.1040" timestamp="1580459136096" />
- <state x="701" y="127" width="1170" height="972" key="CommitChangelistDialog2" timestamp="1582220569877">
- <screen x="0" y="0" width="1920" height="1160" />
+ <state x="960" y="247" key="#com.intellij.openapi.updateSettings.impl.PluginUpdateInfoDialog/0.0.2560.1040@0.0.2560.1040" timestamp="1583062669525" />
+ <state x="935" y="114" width="1170" height="972" key="CommitChangelistDialog2" timestamp="1583065678363">
+ <screen x="0" y="0" width="2560" height="1040" />
</state>
<state x="701" y="114" key="CommitChangelistDialog2/0.0.1920.1040@0.0.1920.1040" timestamp="1577381105204" />
<state x="701" y="127" width="1170" height="972" key="CommitChangelistDialog2/0.0.1920.1160@0.0.1920.1160" timestamp="1582220569877" />
- <state x="935" y="114" key="CommitChangelistDialog2/0.0.2560.1040@0.0.2560.1040" timestamp="1582104424372" />
+ <state x="935" y="114" key="CommitChangelistDialog2/0.0.2560.1040@0.0.2560.1040" timestamp="1583065678363" />
<state x="92" y="92" width="2376" height="856" key="DiffContextDialog" timestamp="1580377344165">
<screen x="0" y="0" width="2560" height="1040" />
</state>
</state>
<state x="836" y="443" key="NewPhpFileDialog/0.0.1920.1040@0.0.1920.1040" timestamp="1577363498855" />
<state x="1114" y="443" key="NewPhpFileDialog/0.0.2560.1040@0.0.2560.1040" timestamp="1578038647334" />
- <state x="872" y="242" key="Vcs.Push.Dialog.v2" timestamp="1580377827629">
+ <state x="872" y="242" key="Vcs.Push.Dialog.v2" timestamp="1582798634411">
<screen x="0" y="0" width="2560" height="1040" />
</state>
- <state x="872" y="242" key="Vcs.Push.Dialog.v2/0.0.2560.1040@0.0.2560.1040" timestamp="1580377827629" />
- <state x="976" y="343" key="com.intellij.ide.util.TipDialog" timestamp="1582798439144">
+ <state x="872" y="242" key="Vcs.Push.Dialog.v2/0.0.2560.1040@0.0.2560.1040" timestamp="1582798634411" />
+ <state x="976" y="343" key="com.intellij.ide.util.TipDialog" timestamp="1583063301397">
<screen x="0" y="0" width="2560" height="1040" />
</state>
<state x="732" y="343" key="com.intellij.ide.util.TipDialog/0.0.1920.1040@0.0.1920.1040" timestamp="1577380394903" />
<state x="732" y="383" key="com.intellij.ide.util.TipDialog/0.0.1920.1160@0.0.1920.1160" timestamp="1582201881167" />
- <state x="976" y="343" key="com.intellij.ide.util.TipDialog/0.0.2560.1040@0.0.2560.1040" timestamp="1582798439144" />
- <state x="977" y="257" width="607" height="536" key="find.popup" timestamp="1582796777847">
+ <state x="976" y="343" key="com.intellij.ide.util.TipDialog/0.0.2560.1040@0.0.2560.1040" timestamp="1583063301397" />
+ <state x="977" y="257" width="607" height="536" key="find.popup" timestamp="1583064009120">
<screen x="0" y="0" width="2560" height="1040" />
</state>
<state x="732" y="257" width="607" height="536" key="find.popup/0.0.1920.1040@0.0.1920.1040" timestamp="1577380471547" />
<state x="733" y="287" width="607" height="598" key="find.popup/0.0.1920.1160@0.0.1920.1160" timestamp="1582125776502" />
- <state x="977" y="257" width="607" height="536" key="find.popup/0.0.2560.1040@0.0.2560.1040" timestamp="1582796777847" />
+ <state x="977" y="257" width="607" height="536" key="find.popup/0.0.2560.1040@0.0.2560.1040" timestamp="1583064009120" />
<state x="936" y="240" key="run.anything.popup" timestamp="1578386519646">
<screen x="0" y="0" width="2560" height="1040" />
</state>
return $res;
}
-function checkSpottyLogin()
+function checkSpottyLogin($force = false)
{
$spottybase = '/plugins/Spotty/settings/';
$hascredentials = httpRequest(SQUEEZEBOX_SERVER . $spottybase . 'basic.html?_dc=' . time(), 'get', [], null, 10, false);
$accounts = [
//SQUEEZEBOX_SPOTIFY_USERNAME => SQUEEZEBOX_SPOTIFY_PASSWORD,
'v12l' => 'Lr8ka&7cs@fc%lW7',
- //'jrme75009' => 'tortuga5009',
+ 'jrme75009' => 'tortuga5009',
];
- $loggedIn = $hascredentials->getStatusCode() !== 302;
- if ($loggedIn) {
- $resp = $hascredentials->getBody();
- foreach ($accounts as $user => $password) {
- if (!stristr($resp, $user)) {
- $loggedIn = false;
- break;
+ if ($force) {
+ $loggedIn = false;
+ } else {
+ $loggedIn = $hascredentials->getStatusCode() !== 302;
+ if ($loggedIn) {
+ $resp = $hascredentials->getBody();
+ foreach ($accounts as $user => $password) {
+ if (!stristr($resp, $user)) {
+ $loggedIn = false;
+ break;
+ }
}
}
}