diff --git a/MaciptvProvider/src/main/kotlin/com/lagradost/MacIPTVProvider.kt b/MaciptvProvider/src/main/kotlin/com/lagradost/MacIPTVProvider.kt
index d359cbf..0377d65 100644
--- a/MaciptvProvider/src/main/kotlin/com/lagradost/MacIPTVProvider.kt
+++ b/MaciptvProvider/src/main/kotlin/com/lagradost/MacIPTVProvider.kt
@@ -167,7 +167,6 @@ class MacIPTVProvider(override var lang: String) : MainAPI() {
}
-
override suspend fun load(url: String): LoadResponse {
var link = ""
@@ -516,7 +515,7 @@ class MacIPTVProvider(override var lang: String) : MainAPI() {
private fun findKeyWord(str: String): Regex {
val upperSTR = str.uppercase()
val sequence = when (true) {
- (upperSTR == "EN") -> {
+ upperSTR == "EN" -> {
"US|UK"
}
else -> upperSTR
@@ -528,21 +527,21 @@ class MacIPTVProvider(override var lang: String) : MainAPI() {
val getLang = lang.uppercase()
var resp = false
when (true) {
- (getLang == "FR") -> {
+ getLang == "FR" -> {
arrayListOf("FRENCH", "FRANCE").forEach {
if (this.uppercase().contains(findKeyWord(it))) {
resp = true
}
}
}
- (getLang == "EN") -> {
+ getLang == "EN" -> {
arrayListOf("ENGLISH", "USA").forEach {
if (this.uppercase().contains(findKeyWord(it))) {
resp = true
}
}
}
- (getLang == "AR") -> {
+ getLang == "AR" -> {
arrayListOf("ARABIC", "ARAB", "ARABIA").forEach {
if (this.uppercase().contains(findKeyWord(it))) {
resp = true
@@ -681,13 +680,13 @@ class MacIPTVProvider(override var lang: String) : MainAPI() {
b_new = b.take(6)
newgroupMedia = true
for (nameMedia in groupMedia) {
- if (nameMedia.contains(b_new) && (media.tv_genre_id == idGenre)) {
+ if (nameMedia.contains(b_new) && media.tv_genre_id == idGenre) {
newgroupMedia = false
break
}
}
groupMedia.contains(b_new)
- if (page == 1 && (media.tv_genre_id == idGenre) && newgroupMedia
+ if (page == 1 && media.tv_genre_id == idGenre && newgroupMedia
) {
groupMedia.add(b_new)
val groupName = cleanTitle(media.title)
@@ -704,8 +703,8 @@ class MacIPTVProvider(override var lang: String) : MainAPI() {
}
}
val flag: String
- if ((categoryTitle.uppercase()
- .contains(rgxcodeCountry) || categoryTitle.isContainsTargetCountry())
+ if (categoryTitle.uppercase()
+ .contains(rgxcodeCountry) || categoryTitle.isContainsTargetCountry()
) {
@@ -743,4 +742,4 @@ class MacIPTVProvider(override var lang: String) : MainAPI() {
regxNbr.find(str)?.groupValues?.get(0)?.trim()?.toInt() ?: 1000
})
}
-}
\ No newline at end of file
+}
diff --git a/MaciptvProvider/src/main/res/values-bp/strings.xml b/MaciptvProvider/src/main/res/values-bp/strings.xml
deleted file mode 100644
index 3e974cf..0000000
--- a/MaciptvProvider/src/main/res/values-bp/strings.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- O que é Nginx ?
- Nginx é um software que pode ser usado para exibir arquivos de um servidor que você possui. Clique para ver um guia de configuração do Nginx
-
\ No newline at end of file
diff --git a/MaciptvProvider/src/main/res/values-cs/strings.xml b/MaciptvProvider/src/main/res/values-cs/strings.xml
deleted file mode 100644
index 513a466..0000000
--- a/MaciptvProvider/src/main/res/values-cs/strings.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- Co je to Nginx?
- Nginx je software, který může být použit ke zobrazení souborů na serveru, který vlastníte. Klikněte pro zobrazení návodu k nastavení Nginx
-
\ No newline at end of file
diff --git a/MaciptvProvider/src/main/res/values-es/strings.xml b/MaciptvProvider/src/main/res/values-es/strings.xml
deleted file mode 100644
index 604a20b..0000000
--- a/MaciptvProvider/src/main/res/values-es/strings.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- ¿Qué es Nginx?
- Nginx es un software que se puede usar para mostrar archivos de un servidor de su propiedad. Pulse para ver una guía de configuración de Nginx
-
\ No newline at end of file
diff --git a/MaciptvProvider/src/main/res/values-in/strings.xml b/MaciptvProvider/src/main/res/values-in/strings.xml
deleted file mode 100644
index 3685d63..0000000
--- a/MaciptvProvider/src/main/res/values-in/strings.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- Apa itu Nginx ?
- Nginx adalah sebuah software yang dapat digunakan untuk menampilkan file dari server yang anda miliki. Klik untuk melihat panduan pengaturan Nginx
-
\ No newline at end of file
diff --git a/MaciptvProvider/src/main/res/values-it/strings.xml b/MaciptvProvider/src/main/res/values-it/strings.xml
deleted file mode 100644
index 435f963..0000000
--- a/MaciptvProvider/src/main/res/values-it/strings.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- Cos\'è Nginx?
- Nginx è un software che può essere utilizzato per visualizzare i file da un server di proprietà. Fare clic per vedere la guida all\'installazione di Nginx
-
\ No newline at end of file
diff --git a/MaciptvProvider/src/main/res/values-nl/strings.xml b/MaciptvProvider/src/main/res/values-nl/strings.xml
deleted file mode 100644
index 1cf37c2..0000000
--- a/MaciptvProvider/src/main/res/values-nl/strings.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- Wat is Nginx ?
- Nginx is een software die kan worden gebruikt om bestanden weer te geven van een server die u bezit. Klik om een Nginx installatiegids te zien
-
\ No newline at end of file
diff --git a/MaciptvProvider/src/main/res/values-pl/strings.xml b/MaciptvProvider/src/main/res/values-pl/strings.xml
deleted file mode 100644
index 0808836..0000000
--- a/MaciptvProvider/src/main/res/values-pl/strings.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- Co to Nginx?
- Nginx to oprogramowanie, które może być używane do wyświetlania plików z serwera, którego jesteś właścicielem. Kliknij, aby zobaczyć przewodnik konfiguracji Nginx
-
\ No newline at end of file
diff --git a/MaciptvProvider/src/main/res/values-ro/strings.xml b/MaciptvProvider/src/main/res/values-ro/strings.xml
deleted file mode 100644
index d44ede0..0000000
--- a/MaciptvProvider/src/main/res/values-ro/strings.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- Ce este Nginx?
- Nginx este un software care poate fi utilizat pentru a vizualiza fișiere de pe un server proprietar. Faceți clic pentru a vedea ghidul de instalare Nginx
-
\ No newline at end of file
diff --git a/MaciptvProvider/src/main/res/values-tr/strings.xml b/MaciptvProvider/src/main/res/values-tr/strings.xml
deleted file mode 100644
index ea0fb7a..0000000
--- a/MaciptvProvider/src/main/res/values-tr/strings.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- Nginx nedir?
- Nginx, sahip olduğunuz bir sunucudan dosyaları görüntülemek için kullanılabilecek bir yazılımdır. Nginx kurulum kılavuzunu görmek için tıklayın
-
\ No newline at end of file
diff --git a/MaciptvProvider/src/main/res/values-vi/strings.xml b/MaciptvProvider/src/main/res/values-vi/strings.xml
deleted file mode 100644
index 0852a2f..0000000
--- a/MaciptvProvider/src/main/res/values-vi/strings.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- Nginx là gì?
- Nginx được dùng để hiển thị các tệp từ máy chủ mà bạn sở hữu. Chọn để xem hướng dẫn thiết lập Nginx
-
\ No newline at end of file