diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index c74607cdf..000000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,13 +0,0 @@ -# These are supported funding model platforms - -github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry -custom: ['https://www.buymeacoffee.com/brahmkshatriya'] diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml deleted file mode 100644 index db8368ad0..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ /dev/null @@ -1,70 +0,0 @@ -name: Bug Report -description: Report broken or incorrect behaviour -labels: bug -body: - - - type: markdown - attributes: - value: | - Thank you for taking your time to fill out this form. For real-time support, consider asking in the `#support` channel on our Discord: https://discord.gg/5TXAWTU5qr - - Please note that this form is for bug reports only! - - - type: input - attributes: - label: Summary - description: A short summary of the bug report. - validations: - required: true - - - type: textarea - attributes: - label: Reproduction Steps - description: What you did to make it happen. - validations: - required: true - - - type: textarea - attributes: - label: Expected Result - description: What did you expect to happen? - validations: - required: true - - - type: textarea - attributes: - label: Actual Result - description: What actually happened? - validations: - required: true - - - type: textarea - attributes: - label: Device Information - description: | - Please provide some information of the device you are using. - You can get the device info by doing these steps: - 1) Open Saikou - 2) Go to settings - 3) Scroll to the bottom - 4) Long press "Version X.X.X" - placeholder: | - Saikou Version: X.X.X - Brand: Samsung - Architecture: aarch64 - Android Version: 11 - validations: - required: true - - - type: checkboxes - attributes: - label: Checklist - options: - - label: I have searched the open AND closed issues for any duplicates. - required: true - - - type: textarea - attributes: - label: Additional Information - description: If there is anything else to say, please do so here. - diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index 8b2df1ae9..000000000 --- a/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,8 +0,0 @@ -blank_issues_enabled: false -contact_links: - - name: Discord Server - url: https://discord.gg/5TXAWTU5qr - about: Join our Discord server for support and updates. - - name: Telegram group - url: https://t.me/saikou_discussion - about: Join our Telegram discussion group for support and updates. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml deleted file mode 100644 index 0309b4622..000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Feature Request -description: Suggest a feature for Saikou -labels: enhancement -body: - - - type: markdown - attributes: - value: | - Please make sure that you have read the entire README. - Especially the [Planned Stuff](https://github.com/saikou-app/saikou#planned-stuff) and [Rejected Stuff](https://github.com/saikou-app/saikou#rejected-stuff). - - - type: input - attributes: - label: Summary - description: A short summary of what your feature request is. - validations: - required: true - - - type: textarea - attributes: - label: The Problem - description: > - What problem is your feature trying to solve? - What becomes easier or possible when this feature is implemented? - validations: - required: true - - - type: textarea - attributes: - label: The Ideal Solution - description: > - What is your ideal solution to the problem? - What would you like this feature to do? - validations: - required: true - - - type: textarea - attributes: - label: The Current Solution - description: What is the current solution to the problem, if any? - validations: - required: false - - - type: textarea - attributes: - label: Additional Context - description: If there is anything else to say, please do so here. - diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml deleted file mode 100644 index 0d074bbb8..000000000 --- a/.github/workflows/beta.yml +++ /dev/null @@ -1,68 +0,0 @@ -name: Android CI Beta - -on: - push: - paths: - - 'beta.md' - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - name: Set variables - run: | - VER=$(cat beta.md | head -n1 | sed -e "s/# //") - echo "VERSION=$VER" >> $GITHUB_ENV - - - name: set up JDK 11 - uses: actions/setup-java@v3 - with: - java-version: '11' - distribution: 'temurin' - cache: gradle - - - name: Cook KeyStore - run: echo "${{ secrets.KEYSTORE_B64 }}" | base64 -d > $GITHUB_WORKSPACE/signing-key.jks - - - name: Enable Reports - run: sed "s/DisabledReports=true/DisabledReports=false/g" -i app/src/main/java/ani/saikou/others/DisabledReports.kt - - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - name: Build with Gradle - run: ./gradlew assembleDebug - -Pandroid.injected.signing.store.file=$GITHUB_WORKSPACE/signing-key.jks - -Pandroid.injected.signing.store.password=${{ secrets.PASSWORD }} - -Pandroid.injected.signing.key.alias=key0 - -Pandroid.injected.signing.key.password=${{ secrets.PASSWORD }} - shell: bash - - - name: Upload a Build Artifact - uses: actions/upload-artifact@v3.0.0 - with: - path: "app/build/outputs/apk/debug/app-debug.apk" - - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: v${{ env.VERSION }} - release_name: Saikou Beta ${{ env.VERSION }} - body_path: "beta.md" - draft: false - prerelease: true - - name: Upload Release Asset - id: upload-release-asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: "app/build/outputs/apk/debug/app-debug.apk" - asset_name: Saikou-${{ env.VERSION }}.apk - asset_content_type: application/vnd.android.package-archive diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 62a684155..000000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,83 +0,0 @@ -name: Build job - -on: - # Manual triggers - workflow_dispatch: - inputs: - release-tag: - description: What to call this build - required: true - setup-command: - description: What to do before building - required: false - gradle-command: - description: What to do - required: false - default: 'assembleDebug' - artifact-path: - description: What to release - required: false - default: 'app/build/outputs/apk/debug/app-debug.apk' - artifact-name: - description: What to call that artifact - required: false - default: 'app.apk' - git-repo: - description: Get Repo (Optional) - required: false - default: 'Diegopyl1209/saikouSP' - git-ref: - description: Git Ref (Optional) - required: false - default: 'main' - dry-run: - description: Creates a draft release - required: false - -jobs: - build-app: - runs-on: ubuntu-latest - steps: - - name: Clone Repository - uses: actions/checkout@v2 - with: - repository: ${{ github.event.inputs.git-repo }} - fetch-depth: 0 - ref: ${{ github.event.inputs.git-ref }} - - - name: Set up JDK 11 - uses: actions/setup-java@v1 - with: - java-version: 11 - - - name: Set up - if: github.event.inputs.git-ref != '' - run: | - set -e - ${{ github.event.inputs.setup-command }} - - name: Build APK - uses: gradle/gradle-command-action@v1 - with: - arguments: ${{ github.event.inputs.gradle-command }} - distributions-cache-enabled: true - dependencies-cache-enabled: true - configuration-cache-enabled: true - if: github.event.inputs.gradle-command != 'skip' - - - name: Clean up build artifacts - run: | - set -e - cp ${{ github.event.inputs.artifact-path }} ${{ github.event.inputs.artifact-name }} - - name: Create release - uses: softprops/action-gh-release@v0.1.14 - with: - tag_name: ${{ github.event.inputs.release-tag }} - name: ${{ github.event.inputs.release-tag }} - body: | - SaikouSP last apk - files: | - ${{ github.event.inputs.artifact-name }} - draft: ${{ github.event.inputs.dry-run != '' }} - prerelease: true - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pull-req.yml b/.github/workflows/pull-req.yml deleted file mode 100644 index aa2c0c230..000000000 --- a/.github/workflows/pull-req.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: PR Test Builds - -on: - pull_request: - branches: [ main ] - paths-ignore: - - '.github/**' - - '**.md' - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - name: set up JDK 11 - uses: actions/setup-java@v3 - with: - java-version: '11' - distribution: 'temurin' - cache: gradle - - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - name: Build with Gradle - run: ./gradlew build - - - name: Upload a Build Artifact - uses: actions/upload-artifact@v3.0.0 - with: - path: "app/build/outputs/apk/debug/app-debug.apk" diff --git a/.github/workflows/stable.yml b/.github/workflows/stable.yml deleted file mode 100644 index aced06dfd..000000000 --- a/.github/workflows/stable.yml +++ /dev/null @@ -1,68 +0,0 @@ -name: Android CI Release - -on: - push: - paths: - - 'stable.md' - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - name: Set variables - run: | - VER=$(cat stable.md | head -n1 | sed -e "s/# //") - echo "VERSION=$VER" >> $GITHUB_ENV - - - name: set up JDK 11 - uses: actions/setup-java@v3 - with: - java-version: '11' - distribution: 'temurin' - cache: gradle - - - name: Cook KeyStore - run: echo "${{ secrets.KEYSTORE_B64 }}" | base64 -d > $GITHUB_WORKSPACE/signing-key.jks - - - name: Enable Reports - run: sed "s/DisabledReports=true/DisabledReports=false/g" -i app/src/main/java/ani/saikou/others/DisabledReports.kt - - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - name: Build with Gradle - run: ./gradlew assembleRelease - -Pandroid.injected.signing.store.file=$GITHUB_WORKSPACE/signing-key.jks - -Pandroid.injected.signing.store.password=${{ secrets.PASSWORD }} - -Pandroid.injected.signing.key.alias=key0 - -Pandroid.injected.signing.key.password=${{ secrets.PASSWORD }} - shell: bash - - - name: Upload a Build Artifact - uses: actions/upload-artifact@v3.0.0 - with: - path: "app/build/outputs/apk/debug/app-debug.apk" - - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: v${{ env.VERSION }} - release_name: Saikou ${{ env.VERSION }} - body_path: "stable.md" - draft: false - prerelease: false - - name: Upload Release Asset - id: upload-release-asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: "app/build/outputs/apk/release/app-release.apk" - asset_name: Saikou-${{ env.VERSION }}.apk - asset_content_type: application/vnd.android.package-archive diff --git a/app/src/main/java/ani/saikou/tv/TVGridSelectorFragment.kt b/app/src/main/java/ani/saikou/tv/TVGridSelectorFragment.kt index 8ed1401a7..ceea3261f 100644 --- a/app/src/main/java/ani/saikou/tv/TVGridSelectorFragment.kt +++ b/app/src/main/java/ani/saikou/tv/TVGridSelectorFragment.kt @@ -4,6 +4,7 @@ import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup +import android.widget.Toast import androidx.fragment.app.FragmentActivity import androidx.fragment.app.activityViewModels import androidx.leanback.app.VerticalGridSupportFragment @@ -71,7 +72,7 @@ class TVGridSelectorFragment(val sourceId: Int, val mediaId: Int): VerticalGridS arrayAdapter.addAll(0, list!!) adapter = arrayAdapter } else { - //TODO show some empty results message + Toast.makeText(requireContext(), "Nothing found, try another source.", Toast.LENGTH_LONG).show() } progressBarManager.hide() } diff --git a/stable.txt b/stable.txt index b0f3d96f8..66c4c2263 100644 --- a/stable.txt +++ b/stable.txt @@ -1 +1 @@ -1.0.8 +1.0.9