From 0c6c42b5336a4699d9b33c78d90cb777f687421a Mon Sep 17 00:00:00 2001 From: Karl Hudgell Date: Sat, 12 Mar 2016 09:50:27 +0000 Subject: [PATCH 1/2] media stats text colour --- Update.bat | 19 +++++++++++++++++++ config/set1.php | 2 ++ config/write1.php | 2 ++ css/static.php | 2 +- 4 files changed, 24 insertions(+), 1 deletion(-) diff --git a/Update.bat b/Update.bat index 0b2bd7f..1a213b9 100644 --- a/Update.bat +++ b/Update.bat @@ -334,6 +334,25 @@ findstr "mediastatscolour" config.php >nul 2>&1 goto END :END + rem mediastatstextcolour episodes +findstr "mediastatstextcolour" config.php >nul 2>&1 + if errorlevel 1 goto ONE + if errorlevel 0 goto ZERO + goto END + :ZERO + echo mediastatstextcolour Already Updated + goto END + :ONE + echo ^>config.php + echo //// mediastatstextcolour >> config.php + echo $mediastatstextcolour = "#FFFFFF" >> config.php + echo //// >> config.php + echo ^?^> >> config.php + echo mediastatstextcolour Updated + goto END + :END + + rem Update Version findstr "localversion" config.php >nul 2>&1 diff --git a/config/set1.php b/config/set1.php index b82a5b8..219fce7 100644 --- a/config/set1.php +++ b/config/set1.php @@ -41,6 +41,8 @@
Kodi Libary Background Colour:
+ Kodi Libary Text Colour: +

Show Version : "0") echo "checked=checked; "; ?> /> ()

diff --git a/config/write1.php b/config/write1.php index a9cfd1d..b9ea20c 100644 --- a/config/write1.php +++ b/config/write1.php @@ -20,6 +20,7 @@ $widgetcolor1 = $_POST['widgetcolor']; $MStatusEnabled1 = $_POST['MStatusEnabled']; $mediawidget1 = $_POST['mediawidget']; $mediastatscolour1 = $_POST['mediastatscolour']; +$mediastatstextcolour1 = $_POST['mediastatstextcolour']; // $fl='../config.php'; @@ -34,6 +35,7 @@ $content = preg_replace( '/\$user = \"(.*?)\";/', '$user = "'.$user1.'";', $co $content = preg_replace( '/\$pass = \"(.*?)\";/', '$pass = "'.$pass1.'";', $content); $content = preg_replace( '/\$custombackground = \"(.*?)\";/', '$custombackground = "#'.$backgroundcolor1.'";', $content); $content = preg_replace( '/\$mediastatscolour = \"(.*?)\";/', '$mediastatscolour = "#'.$mediastatscolour1.'";', $content); +$content = preg_replace( '/\$mediastatstextcolour = \"(.*?)\";/', '$mediastatstextcolour = "#'.$mediastatstextcolour1.'";', $content); $content = preg_replace( '/\$widgetcolour = \"(.*?)\";/', '$widgetcolour = "#'.$widgetcolor1.'";', $content); // version Settings if (empty($showversion1)) { diff --git a/css/static.php b/css/static.php index 6986c80..3a47c36 100644 --- a/css/static.php +++ b/css/static.php @@ -15,7 +15,7 @@ tr { background-color:; font-size: 14pt; width: 100%; text-align: center; - color: black; + color: ; background-color: ; } From 92c36e17f0f172398e8110606e0b65f8569cff78 Mon Sep 17 00:00:00 2001 From: Karl Hudgell Date: Sat, 12 Mar 2016 17:16:06 +0000 Subject: [PATCH 2/2] coming widget --- css/black.css | 5 ++++ css/blue.css | 4 ++++ css/custom.php | 9 ++++++++ css/red.css | 4 ++++ css/static.php | 24 ++++++++++++++++++++ css/white.css | 5 ++++ feeds/SickBeard.php | 15 +++--------- feeds/SickBeard_2.php | 53 +++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 107 insertions(+), 12 deletions(-) create mode 100644 feeds/SickBeard_2.php diff --git a/css/black.css b/css/black.css index 60fa878..931d8c2 100644 --- a/css/black.css +++ b/css/black.css @@ -4,6 +4,11 @@ color: white; } +iframe { + background: black; /* this is just to make the frames easier to see */ +} + + #style{ position: absolute; top: 0; diff --git a/css/blue.css b/css/blue.css index 762fa97..6e83508 100644 --- a/css/blue.css +++ b/css/blue.css @@ -5,6 +5,10 @@ } +iframe { + background: #021AB0; /* this is just to make the frames easier to see */ +} + #style{ position: absolute; top: 0; diff --git a/css/custom.php b/css/custom.php index aae8626..4532d18 100644 --- a/css/custom.php +++ b/css/custom.php @@ -13,6 +13,11 @@ background-color: ; color: white; #000000; } +#statswidget{ +background-color: ; +color: white; #000000; +} + #maincontent{ position: fixed; top: 40px; /*Set top value to HeightOfTopFrameDiv*/ @@ -126,5 +131,9 @@ div.head { font-size: 16pt; color: white; } + +iframe { + background: ; /* this is just to make the frames easier to see */ +} \ No newline at end of file diff --git a/css/red.css b/css/red.css index a3c6284..726dffd 100644 --- a/css/red.css +++ b/css/red.css @@ -4,6 +4,10 @@ color: white; } +iframe { + background: red; /* this is just to make the frames easier to see */ +} + #style{ position: absolute; top: 0; diff --git a/css/static.php b/css/static.php index 3a47c36..3c41819 100644 --- a/css/static.php +++ b/css/static.php @@ -18,5 +18,29 @@ tr { background-color:; color: ; background-color: ; } + + +li{ + list-style:none; + color: white ; + padding-left: 0pt; + margin-top:0px; +-webkit-background-size: cover; +-moz-background-size: cover; +-o-background-size: cover; +background-size: 80px 60px; +height: 60px; + } + +ul { + padding-left: 0px; + padding-top: 0px; +} + +iframe { + margin: none; + padding: none; + border: none; +} diff --git a/css/white.css b/css/white.css index e1c430d..ea82a97 100644 --- a/css/white.css +++ b/css/white.css @@ -4,6 +4,11 @@ color: white; } +iframe { + background: white; /* this is just to make the frames easier to see */ +} + + #style{ position: absolute; top: 0; diff --git a/feeds/SickBeard.php b/feeds/SickBeard.php index 0bcf0a5..7ebb04a 100644 --- a/feeds/SickBeard.php +++ b/feeds/SickBeard.php @@ -1,5 +1,6 @@ + + + + + + + +