minor fixes

- fix id
- fixed incorrect error output for podcasts
This commit is contained in:
amd64fox
2022-11-08 20:08:05 +03:00
parent c2f7f2bfd9
commit dc1d574b46
2 changed files with 4 additions and 9 deletions

View File

@@ -1002,9 +1002,10 @@ function Helper($paramname) {
"OffPodcasts" {
# Turn off podcasts
$n = $js
if ($ofline -le "1.1.92.647") { $podcats = "podcastsoff"; $name = "patches.json.others.podcastsoff" }
if ($ofline -ge "1.1.93.896" -and $ofline -le "1.1.96.785") { $podcats = "podcastsoff2"; $name = "patches.json.others.podcastsoff2" }
if ($ofline -ge "1.1.97.952") { $podcats = "podcastsoff3"; $name = "patches.json.others.podcastsoff3" }
if ($ofline -le "1.1.92.647") { $podcats = "podcastsoff" }
if ($ofline -ge "1.1.93.896" -and $ofline -le "1.1.96.785") { $podcats = "podcastsoff2" }
if ($ofline -ge "1.1.97.952") { $podcats = "podcastsoff3" }
$name = "patches.json.others."
$contents = $podcats
$json = $webjson.others
$paramdata = $xpui_podcast

View File

@@ -42,12 +42,6 @@
CacheSelect = "Ingin mengatur pembersihan cache otomatis? [Y/N]"
CacheDays = "Cache yang lebih lama: XX hari untuk dibersihkan "
CacheDays2 = "Masukkan jumlah hari dari 1 hingga 100"
NoVariable = "Tidak menemukan variabel"
NoVariable2 = "di xpui.js"
NoVariable3 = "di licenses.html"
NoVariable4 = "di html"
NoVariable5 = "di home-v2.js"
NoVariable6 = "di xpui-desktop-modals.js"
ModSpoti = "Menambal Spotify..."
Error = "Kesalahan"
FileLocBroken = "Lokasi file Spotify rusak, hapus instalan klien dan jalankan skrip lagi"