Skip to content

Commit

Permalink
Merge pull request #801 from causefx/develop
Browse files Browse the repository at this point in the history
1.75
  • Loading branch information
causefx authored Mar 9, 2018
2 parents 34e887f + bb6fbfe commit 6411b45
Show file tree
Hide file tree
Showing 12 changed files with 303 additions and 286 deletions.
1 change: 1 addition & 0 deletions config/configDefaults.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"sonarrURL" => "",
"sonarrKey" => "",
"sonarrHomeAuth" => false,
"sonarrUnmonitored" => false,
"sickrageURL" => "",
"sickrageKey" => "",
"sickrageHomeAuth" => false,
Expand Down
8 changes: 6 additions & 2 deletions css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// ===================================
// Define Version
define('INSTALLEDVERSION', '1.7');
define('INSTALLEDVERSION', '1.75');
// ===================================
$debugOrganizr = true;
if($debugOrganizr == true && file_exists('debug.php')){ require_once('debug.php'); }
Expand Down Expand Up @@ -3236,7 +3236,8 @@ function getSonarrCalendar($array){
if (new DateTime() < new DateTime($episodeAirDate)) { $unaired = true; }

$downloaded = $child['hasFile'];
if($downloaded == "0" && isset($unaired) && $episodePremier == "true"){ $downloaded = "light-blue-bg"; }elseif($downloaded == "0" && isset($unaired)){ $downloaded = "indigo-bg"; }elseif($downloaded == "1"){ $downloaded = "green-bg";}else{ $downloaded = "red-bg"; }
$monitored = $child['monitored'];
if($downloaded == "0" && isset($unaired) && $episodePremier == "true"){ $downloaded = "light-blue-bg"; }elseif(isset($unaired) && $monitored == "0"){ $downloaded = "light-gray-bg"; }elseif($downloaded == "0" && isset($unaired)){ $downloaded = "indigo-bg"; }elseif($downloaded == "1"){ $downloaded = "green-bg";}else{ $downloaded = "red-bg"; }

//$gotCalendar .= "{ title: \"$seriesName\", start: \"$episodeAirDate\", className: \"$downloaded tvID--$episodeID\", imagetype: \"tv\" }, \n";
array_push($gotCalendar, array(
Expand Down Expand Up @@ -4267,8 +4268,9 @@ function getCalendar(){
$calendarItems = array();
if (SONARRURL != "" && qualifyUser(SONARRHOMEAUTH)){
try {
$sonarrCalendar = getSonarrCalendar($sonarr->getCalendar($startDate, $endDate));
if(!empty($sonarrCalendar)) { $calendarItems = array_merge($calendarItems, $sonarrCalendar); }
$sonarrCalendar = getSonarrCalendar($sonarr->getCalendar($startDate, $endDate, SONARRUNMONITORED));
if(!empty($sonarrCalendar)) { $calendarItems = array_merge($calendarItems, $sonarrCalendar);
}
} catch (Exception $e) {
writeLog("error", "SONARR ERROR: ".strip($e->getMessage()));
}
Expand Down
2 changes: 1 addition & 1 deletion homepage.php
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ function convertCast(a){
$.each( a.cast, function( key, value ) {
if( value['profile_path'] ){
if (count <= 6){
result += '<div class="col-lg-4 col-xs-4"><div class="zero-m"><img class="pull-left" style="border-radius:10%;margin-left: auto;margin-right: auto;display: block;" height="100px" src="https://image.tmdb.org/t/p/w150'+value['profile_path']+'" alt="profile"><h5 class="text-center"><strong>'+value['name']+'</strong></h5><h6 class="text-center">'+value['character']+'</h6></div></div>';
result += '<div class="col-lg-4 col-xs-4"><div class="zero-m"><img class="pull-left" style="border-radius:10%;margin-left: auto;margin-right: auto;display: block;" height="100px" src="https://image.tmdb.org/t/p/w154'+value['profile_path']+'" alt="profile"><h5 class="text-center"><strong>'+value['name']+'</strong></h5><h6 class="text-center">'+value['character']+'</h6></div></div>';
count++;
}
}
Expand Down
Binary file added images/lidarr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/tautulli.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 13 additions & 13 deletions lang/de.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ REMEMBER_ME = "Angemeldet bleiben"
FORGOT_PASSWORD = "Passwort vergessen"
RESET_PASSWORD = "Passwort zurücksetzen"
DATABASE_PATH = "Datenbankverzeichnis"
SPECIFY_LOCATION = "Festlegen, wo Datenbankdateien gespeichert werden sollen. Please choose a location outside of Web Root! Your DB files will contain sensitive information!"
SPECIFY_LOCATION = "Festlegen, wo Datenbankdateien gespeichert werden sollen. Bitte ein Verzeichnis außerhalb des Web-Root wählen. Die DB wird sicherheitsrelevante Informationen enthalten!"
CURRENT_DIRECTORY = "Aktuelles Verzeichnis"
PARENT_DIRECTORY = "Überverzeichnis"
SET_DATABASE_LOCATION = "Datenbankverzeichnis festlegen"
Expand Down Expand Up @@ -309,7 +309,7 @@ PLAYLISTS = "Playlisten"
DOWNLOAD_REFRESH = "Download-Warteschlange neu laden"
HISTORY_REFRESH = "Verlauf neu laden"
CHECK_FRAME = "Frame testen"
GENERATE_API_KEY = "Generate API Schlüssel"
GENERATE_API_KEY = "Generiere API Schlüssel"
ORGANIZR_API_KEY = "Organizr API Schlüssel"
TEST_EMAIL = "Test E-Mail senden"
BACKUP_CREATED = "Sicherung erstellt"
Expand All @@ -333,15 +333,15 @@ COUCH_URL = "Couchpotato URL"
COUCH_KEY = "Couchpotato API/Schlüssel"
DELETE_CHAT_DATABASE = "Chat Datenbank löschen"
INSTALLED_THEME = "Installiertes Thema"
PLEX_TAB_URL = "Plex Tab URL - i.e. https://domain.com/plex or https://plex.domain.com"
RECENT_REFRESH = "Recent Items Refresh Rate"
NOW_PLAYING_REFRESH = "Now Playing Refresh Rate"
REQUEST_REFRESH = "Requests Refresh Rate"
COLOR_TEMPLATE = "Color Templates"
REQUESTED_ONLY = "Show only requests for that user - if Off it will show all requests"
SIZE = "Size"
OR_ICON_NAME = "or Icon Name"
PLEX_TAB_URL = "Plex Tab URL - bswp. https://domain.com/plex oder https://plex.domain.com"
RECENT_REFRESH = "Aktualisierungsintervall kürzlich hinzugefügter Titel"
NOW_PLAYING_REFRESH = "Aktualisierungsintervall aktuell abgespielter Titel"
REQUEST_REFRESH = "Aktualisierungsintervalll von Wünschen"
COLOR_TEMPLATE = "Farbvorlagen"
REQUESTED_ONLY = "Zeige nur Wünsche dieses Nutzers - wenn Aus, werden alle Wünsche gezeigt"
SIZE = "Größe"
OR_ICON_NAME = "oder Name des Icons"
OMBI_URL = "Ombi V3 URL"
OMBI_KEY = "Ombi V3 API Key"
ENABLE_WEATHER = "Enable Weather Widget"
WEATHER_AUTH = "Minimum authentication level to access Weather Widget"
OMBI_KEY = "Ombi V3 API Schlüssel"
ENABLE_WEATHER = "Wetter-Widget aktivieren"
WEATHER_AUTH = "Mindestauthentifizierungslevel um Wetter-Widget anzuzeigen"
1 change: 1 addition & 0 deletions lang/en.ini
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ MUSIC = "Recent Music"
SONARR_URL = "Sonarr URL"
SONARR_PORT = "Sonarr Port"
SONARR_KEY = "Sonarr API Key"
SONARR_UNMONITORED = "Show unmonitored"
RADARR_URL = "Radarr URL"
RADARR_PORT = "Radarr Port"
RADARR_KEY = "Radarr API Key"
Expand Down
Loading

0 comments on commit 6411b45

Please sign in to comment.