Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
Nall-chan committed Jan 24, 2024
1 parent cdd1ac6 commit bf234a3
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .style
Submodule .style updated 2 files
+31 −31 .php-cs-fixer.php
+71 −71 json-check.php
12 changes: 6 additions & 6 deletions KodiDevicePVR/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -901,8 +901,8 @@ private function RefreshTVChannellist(): void
}
$HTMLData .= '</tr>' . PHP_EOL;
$pos++;
// if ($pos == $max)
// break;
// if ($pos == $max)
// break;
}
}
$HTMLData .= $this->GetTableFooter();
Expand Down Expand Up @@ -1022,8 +1022,8 @@ private function RefreshRadioChannellist(): void
}
$HTMLData .= '</tr>' . PHP_EOL;
$pos++;
// if ($pos == $max)
// break;
// if ($pos == $max)
// break;
}
}
$HTMLData .= $this->GetTableFooter();
Expand Down Expand Up @@ -1111,8 +1111,8 @@ private function RefreshRecordinglist(): void
}
$HTMLData .= '</tr>' . PHP_EOL;
$pos++;
// if ($pos == $max)
// break;
// if ($pos == $max)
// break;
}
}
$HTMLData .= $this->GetTableFooter();
Expand Down
20 changes: 10 additions & 10 deletions KodiDevicePlaylist/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -756,13 +756,13 @@ protected function Decode(string $Method, mixed $KodiPayload): void
}
}
}
// elseif (property_exists($KodiPayload, 'item'))
// {
// if (self::$Playertype[(string) $KodiPayload->item->type] <> $this->PlaylistId)
// return false;
// }
// else
// return false;
// elseif (property_exists($KodiPayload, 'item'))
// {
// if (self::$Playertype[(string) $KodiPayload->item->type] <> $this->PlaylistId)
// return false;
// }
// else
// return false;

$this->SendDebug($Method, $KodiPayload, 0);

Expand Down Expand Up @@ -884,11 +884,11 @@ protected function Decode(string $Method, mixed $KodiPayload): void
$this->AddItemToPlayList($Index + $LastAddonItem, $item);
}
$this->LastAddonItem = $Index + $LastAddonItem;
// if ($ret->limits->total == $KodiPayload->position + 1)
// {
// if ($ret->limits->total == $KodiPayload->position + 1)
// {
$this->SendDebug('REFRESH_HTML', 'REFRESH_HTML', 0);
$this->RefreshPlaylist(); //Liste neu bauen
// }
// }
break;
case 'OnRemove':
// function welche ein Item aus dem Buff entfernt
Expand Down
2 changes: 1 addition & 1 deletion KodiDeviceSystem/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ private function GetMac(): string
$Address = str_replace('-', '', $Address);
$Address = str_replace(':', '', $Address);
if (strlen($Address) == 12) {
return strtoupper($Address);
return strtoupper($Address);
}
return '';
}
Expand Down
2 changes: 2 additions & 0 deletions KodiDiscovery/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,8 @@ private function getIPAdresses(): array
$InterfaceDescriptions = array_column($Interfaces, 'Description', 'InterfaceIndex');
$Networks = net_get_interfaces();
$Addresses = [];
$Addresses['ipv6'] = [];
$Addresses['ipv4'] = [];
foreach ($Networks as $InterfaceDescription => $Interface) {
if (!$Interface['up']) {
continue;
Expand Down
4 changes: 2 additions & 2 deletions library.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"version": "6.4"
},
"version": "3.00",
"build": 300,
"date": 1610039410
"build": 301,
"date": 1706078839
}
2 changes: 1 addition & 1 deletion libs/helper
2 changes: 1 addition & 1 deletion tests/stubs

0 comments on commit bf234a3

Please sign in to comment.