[shabakatycinemana] add staff filter, and more Anime info #837

Merged
hasanpasha merged 14 commits from main into main 2025-03-24 13:30:02 -05:00
hasanpasha commented 2025-03-18 14:45:40 -05:00 (Migrated from github.com)

Checklist:

  • Updated extVersionCode value in build.gradle for individual extensions
  • Updated overrideVersionCode or baseVersionCode as needed for all multisrc extensions
  • Referenced all related issues in the PR body (e.g. "Closes #xyz")
  • Added the isNsfw = true flag in build.gradle when appropriate
  • Have not changed source names
  • Have explicitly kept the id if a source's name or language were changed
  • Have tested the modifications by compiling and running the extension through Android Studio
  • Have removed web_hi_res_512.png when adding a new extension
  • Have made sure all the icons are in png format
Checklist: - [x] Updated `extVersionCode` value in `build.gradle` for individual extensions - [ ] Updated `overrideVersionCode` or `baseVersionCode` as needed for all multisrc extensions - [ ] Referenced all related issues in the PR body (e.g. "Closes #xyz") - [ ] Added the `isNsfw = true` flag in `build.gradle` when appropriate - [x] Have not changed source names - [ ] Have explicitly kept the `id` if a source's name or language were changed - [ ] Have tested the modifications by compiling and running the extension through Android Studio - [ ] Have removed `web_hi_res_512.png` when adding a new extension - [ ] Have made sure all the icons are in png format
cuong-tran (Migrated from github.com) reviewed 2025-03-21 09:41:18 -05:00
cuong-tran (Migrated from github.com) commented 2025-03-21 09:41:18 -05:00
        val genreText = (categories + language).mapNotNull { it }.joinToString()
        val directors = jsonObject["directorsInfo"]?.jsonArray?.mapNotNull {
            it.jsonObject["name"]?.jsonPrimitive?.content
        }?.joinToString()
        val actors = jsonObject["actorsInfo"]?.jsonArray?.mapNotNull {
            it.jsonObject["name"]?.jsonPrimitive?.content
        }?.joinToString()
```suggestion val genreText = (categories + language).mapNotNull { it }.joinToString() val directors = jsonObject["directorsInfo"]?.jsonArray?.mapNotNull { it.jsonObject["name"]?.jsonPrimitive?.content }?.joinToString() val actors = jsonObject["actorsInfo"]?.jsonArray?.mapNotNull { it.jsonObject["name"]?.jsonPrimitive?.content }?.joinToString() ```
cuong-tran (Migrated from github.com) reviewed 2025-03-21 09:42:38 -05:00
@ -149,8 +157,13 @@ object SAnimeDeserializer : DeserializationStrategy<SAnime> {
url = nb
cuong-tran (Migrated from github.com) commented 2025-03-21 09:42:38 -05:00
            description = listOfNotNull(
                "$year | $starsText | $likes\uD83D\uDC4D  $dislikes\uD83D\uDC4E",
                enContent,
            ).joinToString("\n\n")
```suggestion description = listOfNotNull( "$year | $starsText | $likes\uD83D\uDC4D $dislikes\uD83D\uDC4E", enContent, ).joinToString("\n\n") ```
hasanpasha commented 2025-03-21 13:22:19 -05:00 (Migrated from github.com)

@cuong-tran I committed the suggested changes.

@cuong-tran I committed the suggested changes.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: AlmightyHak/extensions-source#837
No description provided.