Increase HMAC time tolerance to 30 minutes for NAS time sync

This commit is contained in:
vndangkhoa 2026-01-03 08:09:23 +07:00
parent a3a0948f66
commit f99cb61ff5
1568 changed files with 9078 additions and 9073 deletions

0
.agent/workflows/test-android-tv.md Normal file → Executable file
View file

458
.github/workflows/ci.yml vendored Normal file → Executable file
View file

@ -1,229 +1,229 @@
name: StreamFlow CI/CD
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
env:
PYTHON_VERSION: "3.11"
JAVA_VERSION: "21"
jobs:
# ====================
# Backend Tests
# ====================
backend-test:
name: Backend Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: 'pip'
cache-dependency-path: backend/requirements.txt
- name: Install dependencies
run: |
cd backend
pip install -r requirements.txt
pip install pytest pytest-asyncio pytest-cov httpx
- name: Run tests
run: |
cd backend
python -m pytest tests/ -v --cov=. --cov-report=xml
env:
STREAMFLIX_DEBUG: true
- name: Upload coverage
uses: codecov/codecov-action@v3
with:
files: backend/coverage.xml
fail_ci_if_error: false
# ====================
# Backend Lint
# ====================
backend-lint:
name: Backend Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install linters
run: pip install ruff mypy
- name: Run ruff
run: ruff check backend/ --ignore=E501
- name: Run mypy
run: mypy backend/ --ignore-missing-imports || true
# ====================
# Android TV Build
# ====================
android-build:
name: Android TV Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }}
cache: 'gradle'
- name: Grant execute permission
run: chmod +x android-tv/gradlew
- name: Build Debug APK
run: |
cd android-tv
./gradlew assembleDebug --no-daemon
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: android-tv-debug
path: android-tv/app/build/outputs/apk/debug/*.apk
retention-days: 7
# ====================
# Android Mobile Build
# ====================
mobile-build:
name: Android Mobile Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }}
cache: 'gradle'
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: |
cd frontend
npm install
- name: Build Web App
run: |
cd frontend
npm run build
- name: Sync Capacitor
run: |
cd frontend
npx cap sync android
- name: Grant execute permission
run: chmod +x frontend/android/gradlew
- name: Build Mobile APK
run: |
cd frontend/android
./gradlew assembleDebug --no-daemon
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: android-mobile-debug
path: frontend/android/app/build/outputs/apk/debug/*.apk
retention-days: 7
# ====================
# Docker Build
# ====================
docker-build:
name: Docker Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker image
uses: docker/build-push-action@v5
with:
context: .
push: false
load: true
tags: streamflix:test
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Test Docker image
run: |
docker run -d --name test -p 8000:8000 \
-e STREAMFLIX_DEBUG=true \
-e STREAMFLIX_SECRET_KEY=sf_tv_secure_9s8d7f6g5h4j3k2l1 \
streamflix:test
sleep 10
curl -f http://localhost:8000/api/health || exit 1
docker stop test
# ====================
# Docker Publish (on main only)
# ====================
docker-publish:
name: Docker Publish
runs-on: ubuntu-latest
needs: [docker-build]
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract version
id: version
run: echo "version=$(cat backend/config.py | grep 'app_version' | cut -d'"' -f2)" >> $GITHUB_OUTPUT
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/streamflix:latest
${{ secrets.DOCKERHUB_USERNAME }}/streamflix:${{ steps.version.outputs.version }}
cache-from: type=gha
cache-to: type=gha,mode=max
name: StreamFlow CI/CD
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
env:
PYTHON_VERSION: "3.11"
JAVA_VERSION: "21"
jobs:
# ====================
# Backend Tests
# ====================
backend-test:
name: Backend Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: 'pip'
cache-dependency-path: backend/requirements.txt
- name: Install dependencies
run: |
cd backend
pip install -r requirements.txt
pip install pytest pytest-asyncio pytest-cov httpx
- name: Run tests
run: |
cd backend
python -m pytest tests/ -v --cov=. --cov-report=xml
env:
STREAMFLIX_DEBUG: true
- name: Upload coverage
uses: codecov/codecov-action@v3
with:
files: backend/coverage.xml
fail_ci_if_error: false
# ====================
# Backend Lint
# ====================
backend-lint:
name: Backend Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install linters
run: pip install ruff mypy
- name: Run ruff
run: ruff check backend/ --ignore=E501
- name: Run mypy
run: mypy backend/ --ignore-missing-imports || true
# ====================
# Android TV Build
# ====================
android-build:
name: Android TV Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }}
cache: 'gradle'
- name: Grant execute permission
run: chmod +x android-tv/gradlew
- name: Build Debug APK
run: |
cd android-tv
./gradlew assembleDebug --no-daemon
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: android-tv-debug
path: android-tv/app/build/outputs/apk/debug/*.apk
retention-days: 7
# ====================
# Android Mobile Build
# ====================
mobile-build:
name: Android Mobile Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }}
cache: 'gradle'
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: |
cd frontend
npm install
- name: Build Web App
run: |
cd frontend
npm run build
- name: Sync Capacitor
run: |
cd frontend
npx cap sync android
- name: Grant execute permission
run: chmod +x frontend/android/gradlew
- name: Build Mobile APK
run: |
cd frontend/android
./gradlew assembleDebug --no-daemon
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: android-mobile-debug
path: frontend/android/app/build/outputs/apk/debug/*.apk
retention-days: 7
# ====================
# Docker Build
# ====================
docker-build:
name: Docker Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker image
uses: docker/build-push-action@v5
with:
context: .
push: false
load: true
tags: streamflix:test
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Test Docker image
run: |
docker run -d --name test -p 8000:8000 \
-e STREAMFLIX_DEBUG=true \
-e STREAMFLIX_SECRET_KEY=sf_tv_secure_9s8d7f6g5h4j3k2l1 \
streamflix:test
sleep 10
curl -f http://localhost:8000/api/health || exit 1
docker stop test
# ====================
# Docker Publish (on main only)
# ====================
docker-publish:
name: Docker Publish
runs-on: ubuntu-latest
needs: [docker-build]
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract version
id: version
run: echo "version=$(cat backend/config.py | grep 'app_version' | cut -d'"' -f2)" >> $GITHUB_OUTPUT
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/streamflix:latest
${{ secrets.DOCKERHUB_USERNAME }}/streamflix:${{ steps.version.outputs.version }}
cache-from: type=gha
cache-to: type=gha,mode=max

276
.github/workflows/release.yml vendored Normal file → Executable file
View file

@ -1,138 +1,138 @@
name: Release APKs
on:
push:
tags:
- 'v*'
env:
JAVA_VERSION: "21"
jobs:
# ====================
# Build Android TV APK
# ====================
build-tv:
name: Build TV APK
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }}
cache: 'gradle'
- name: Grant execute permission
run: chmod +x android-tv/gradlew
- name: Build Debug APK
run: |
cd android-tv
./gradlew assembleDebug --no-daemon
- name: Rename APK
run: mv android-tv/app/build/outputs/apk/debug/app-debug.apk StreamFlix-TV.apk
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: tv-apk
path: StreamFlix-TV.apk
# ====================
# Build Android Mobile APK
# ====================
build-mobile:
name: Build Mobile APK
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }}
cache: 'gradle'
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: |
cd frontend
npm ci
- name: Build Web App
run: |
cd frontend
npm run build
- name: Sync Capacitor
run: |
cd frontend
npx cap sync android --deployment
- name: Grant execute permission
run: chmod +x frontend/android/gradlew
- name: Build Mobile APK
run: |
cd frontend/android
./gradlew assembleDebug --no-daemon
- name: Rename APK
run: mv frontend/android/app/build/outputs/apk/debug/app-debug.apk StreamFlix.apk
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: mobile-apk
path: StreamFlix.apk
# ====================
# Create GitHub Release
# ====================
release:
name: Create Release
runs-on: ubuntu-latest
needs: [build-tv, build-mobile]
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Download TV APK
uses: actions/download-artifact@v4
with:
name: tv-apk
- name: Download Mobile APK
uses: actions/download-artifact@v4
with:
name: mobile-apk
- name: Get version from tag
id: version
run: echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
- name: Create Release
uses: softprops/action-gh-release@v2
with:
name: ${{ steps.version.outputs.version }} - StreamFlix Release
files: |
StreamFlix-TV.apk
StreamFlix.apk
generate_release_notes: true
draft: false
prerelease: false
name: Release APKs
on:
push:
tags:
- 'v*'
env:
JAVA_VERSION: "21"
jobs:
# ====================
# Build Android TV APK
# ====================
build-tv:
name: Build TV APK
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }}
cache: 'gradle'
- name: Grant execute permission
run: chmod +x android-tv/gradlew
- name: Build Debug APK
run: |
cd android-tv
./gradlew assembleDebug --no-daemon
- name: Rename APK
run: mv android-tv/app/build/outputs/apk/debug/app-debug.apk StreamFlix-TV.apk
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: tv-apk
path: StreamFlix-TV.apk
# ====================
# Build Android Mobile APK
# ====================
build-mobile:
name: Build Mobile APK
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }}
cache: 'gradle'
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: |
cd frontend
npm ci
- name: Build Web App
run: |
cd frontend
npm run build
- name: Sync Capacitor
run: |
cd frontend
npx cap sync android --deployment
- name: Grant execute permission
run: chmod +x frontend/android/gradlew
- name: Build Mobile APK
run: |
cd frontend/android
./gradlew assembleDebug --no-daemon
- name: Rename APK
run: mv frontend/android/app/build/outputs/apk/debug/app-debug.apk StreamFlix.apk
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: mobile-apk
path: StreamFlix.apk
# ====================
# Create GitHub Release
# ====================
release:
name: Create Release
runs-on: ubuntu-latest
needs: [build-tv, build-mobile]
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Download TV APK
uses: actions/download-artifact@v4
with:
name: tv-apk
- name: Download Mobile APK
uses: actions/download-artifact@v4
with:
name: mobile-apk
- name: Get version from tag
id: version
run: echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
- name: Create Release
uses: softprops/action-gh-release@v2
with:
name: ${{ steps.version.outputs.version }} - StreamFlix Release
files: |
StreamFlix-TV.apk
StreamFlix.apk
generate_release_notes: true
draft: false
prerelease: false

0
.gitignore vendored Normal file → Executable file
View file

0
Dockerfile Normal file → Executable file
View file

0
README.md Normal file → Executable file
View file

6
android-tv/.idea/.gitignore vendored Normal file → Executable file
View file

@ -1,3 +1,3 @@
# Default ignored files
/shelf/
/workspace.xml
# Default ignored files
/shelf/
/workspace.xml

10
android-tv/.idea/AndroidProjectSystem.xml Normal file → Executable file
View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AndroidProjectSystem">
<option name="providerId" value="com.android.tools.idea.GradleProjectSystem" />
</component>
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AndroidProjectSystem">
<option name="providerId" value="com.android.tools.idea.GradleProjectSystem" />
</component>
</project>

2370
android-tv/.idea/caches/deviceStreaming.xml Normal file → Executable file

File diff suppressed because it is too large Load diff

244
android-tv/.idea/codeStyles/Project.xml Normal file → Executable file
View file

@ -1,123 +1,123 @@
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<JetCodeStyleSettings>
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
</JetCodeStyleSettings>
<codeStyleSettings language="XML">
<option name="FORCE_REARRANGE_MODE" value="1" />
<indentOptions>
<option name="CONTINUATION_INDENT_SIZE" value="4" />
</indentOptions>
<arrangement>
<rules>
<section>
<rule>
<match>
<AND>
<NAME>xmlns:android</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>xmlns:.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:id</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:name</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>name</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>style</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
<order>ANDROID_ATTRIBUTE_ORDER</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>.*</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
</rules>
</arrangement>
</codeStyleSettings>
<codeStyleSettings language="kotlin">
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
</codeStyleSettings>
</code_scheme>
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<JetCodeStyleSettings>
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
</JetCodeStyleSettings>
<codeStyleSettings language="XML">
<option name="FORCE_REARRANGE_MODE" value="1" />
<indentOptions>
<option name="CONTINUATION_INDENT_SIZE" value="4" />
</indentOptions>
<arrangement>
<rules>
<section>
<rule>
<match>
<AND>
<NAME>xmlns:android</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>xmlns:.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:id</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:name</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>name</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>style</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
<order>ANDROID_ATTRIBUTE_ORDER</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>.*</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
</rules>
</arrangement>
</codeStyleSettings>
<codeStyleSettings language="kotlin">
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
</codeStyleSettings>
</code_scheme>
</component>

8
android-tv/.idea/codeStyles/codeStyleConfig.xml Normal file → Executable file
View file

@ -1,5 +1,5 @@
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
</state>
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
</state>
</component>

10
android-tv/.idea/compiler.xml Normal file → Executable file
View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel target="21" />
</component>
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel target="21" />
</component>
</project>

36
android-tv/.idea/gradle.xml Normal file → Executable file
View file

@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleMigrationSettings" migrationVersion="1" />
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="testRunner" value="CHOOSE_PER_TEST" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
</set>
</option>
</GradleProjectSettings>
</option>
</component>
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleMigrationSettings" migrationVersion="1" />
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="testRunner" value="CHOOSE_PER_TEST" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
</set>
</option>
</GradleProjectSettings>
</option>
</component>
</project>

18
android-tv/.idea/migrations.xml Normal file → Executable file
View file

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectMigrations">
<option name="MigrateToGradleLocalJavaHome">
<set>
<option value="$PROJECT_DIR$" />
</set>
</option>
</component>
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectMigrations">
<option name="MigrateToGradleLocalJavaHome">
<set>
<option value="$PROJECT_DIR$" />
</set>
</option>
</component>
</project>

0
android-tv/.idea/misc.xml Normal file → Executable file
View file

32
android-tv/.idea/runConfigurations.xml Normal file → Executable file
View file

@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RunConfigurationProducerService">
<option name="ignoredProducers">
<set>
<option value="com.intellij.execution.junit.AbstractAllInDirectoryConfigurationProducer" />
<option value="com.intellij.execution.junit.AllInPackageConfigurationProducer" />
<option value="com.intellij.execution.junit.PatternConfigurationProducer" />
<option value="com.intellij.execution.junit.TestInClassConfigurationProducer" />
<option value="com.intellij.execution.junit.UniqueIdConfigurationProducer" />
<option value="com.intellij.execution.junit.testDiscovery.JUnitTestDiscoveryConfigurationProducer" />
<option value="org.jetbrains.kotlin.idea.junit.KotlinJUnitRunConfigurationProducer" />
<option value="org.jetbrains.kotlin.idea.junit.KotlinPatternConfigurationProducer" />
</set>
</option>
</component>
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RunConfigurationProducerService">
<option name="ignoredProducers">
<set>
<option value="com.intellij.execution.junit.AbstractAllInDirectoryConfigurationProducer" />
<option value="com.intellij.execution.junit.AllInPackageConfigurationProducer" />
<option value="com.intellij.execution.junit.PatternConfigurationProducer" />
<option value="com.intellij.execution.junit.TestInClassConfigurationProducer" />
<option value="com.intellij.execution.junit.UniqueIdConfigurationProducer" />
<option value="com.intellij.execution.junit.testDiscovery.JUnitTestDiscoveryConfigurationProducer" />
<option value="org.jetbrains.kotlin.idea.junit.KotlinJUnitRunConfigurationProducer" />
<option value="org.jetbrains.kotlin.idea.junit.KotlinPatternConfigurationProducer" />
</set>
</option>
</component>
</project>

10
android-tv/.idea/vcs.xml Normal file → Executable file
View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
</project>

0
android-tv/app/build.gradle Normal file → Executable file
View file

View file

@ -7,8 +7,8 @@ public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "com.streamflix.tv";
public static final String BUILD_TYPE = "debug";
public static final int VERSION_CODE = 3;
public static final String VERSION_NAME = "1.3.0";
public static final int VERSION_CODE = 4;
public static final String VERSION_NAME = "1.3.1";
// Field from default config.
public static final String API_BASE_URL = "https://nf.khoavo.myds.me";
}

View file

@ -1,2 +1,2 @@
#- File Locator -
listingFile=../../../../outputs/apk/debug/output-metadata.json
#- File Locator -
listingFile=../../../../outputs/apk/debug/output-metadata.json

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show more