This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env php | |
<?php | |
// Set ARM or x86 | |
$arch = "arm"; | |
// IP adress of Fire TV | |
$ip = "10.0.0.229"; | |
// Timezone | |
$timezone = "Europe/Berlin"; | |
function getxbmc($currv,$date,$arch,$ip) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
export homedir=$PWD | |
cd /usr/bin | |
sudo curl -O https://gist.githubusercontent.com/yanniks/fa9ce00c19a6fb74ea0a/raw/kodiupdate.php | |
sudo mv kodiupdate.php kodiupdate | |
sudo chmod +x kodiupdate | |
echo Installation complete! | |
cd $homedir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env php | |
<?php | |
$timezone = "Europe/Berlin"; | |
function getxbmc($currv,$date) { | |
$left = strstr($currv,"kodi-".$date); | |
echo "Selected build: ".$date."\n\n"; | |
$filename = substr($left,0,strpos($left,".dmg")).".dmg"; | |
if(file_exists($filename)) { | |
unlink($filename); |