<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$/scripts/cron/cron.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/cron/cron.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/scripts/lib/tmdb.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/tmdb.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/scripts/sections.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/sections.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/index.php" beforeDir="false" afterPath="$PROJECT_DIR$/index.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/squeezebox.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/squeezebox.php" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<workItem from="1566376145799" duration="4963000" />
<workItem from="1566402117063" duration="1534000" />
<workItem from="1566458804773" duration="6134000" />
- <workItem from="1566546848697" duration="3684000" />
- </task>
- <task id="LOCAL-00163" summary=".">
- <created>1551088282322</created>
- <option name="number" value="00163" />
- <option name="presentableId" value="LOCAL-00163" />
- <option name="project" value="LOCAL" />
- <updated>1551088282322</updated>
+ <workItem from="1566546848697" duration="3695000" />
+ <workItem from="1566602835458" duration="736000" />
</task>
<task id="LOCAL-00164" summary=".">
<created>1551125943544</created>
<option name="project" value="LOCAL" />
<updated>1566548210701</updated>
</task>
- <option name="localTasksCounter" value="212" />
+ <task id="LOCAL-00212" summary=".">
+ <created>1566551436129</created>
+ <option name="number" value="00212" />
+ <option name="presentableId" value="LOCAL-00212" />
+ <option name="project" value="LOCAL" />
+ <updated>1566551436129</updated>
+ </task>
+ <option name="localTasksCounter" value="213" />
<servers />
</component>
<component name="TodoView">
init();
profile('init index', __FILE__, __LINE__);
-$raspberry = $_SERVER['HTTP_USER_AGENT'] == 'Tortuga Raspberry';
-$android = !!stristr($_SERVER['HTTP_USER_AGENT'], 'android');
+$ua = $_SERVER['HTTP_USER_AGENT'] ?? 'CLI';
+
+$raspberry = $ua == 'Tortuga Raspberry';
+$android = !!stristr($ua, 'android');
function relativePath($p)
{