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 name: StreamFlow CI/CD
on: on:
push: push:
branches: [main, develop] branches: [main, develop]
pull_request: pull_request:
branches: [main] branches: [main]
env: env:
PYTHON_VERSION: "3.11" PYTHON_VERSION: "3.11"
JAVA_VERSION: "21" JAVA_VERSION: "21"
jobs: jobs:
# ==================== # ====================
# Backend Tests # Backend Tests
# ==================== # ====================
backend-test: backend-test:
name: Backend Tests name: Backend Tests
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: ${{ env.PYTHON_VERSION }} python-version: ${{ env.PYTHON_VERSION }}
cache: 'pip' cache: 'pip'
cache-dependency-path: backend/requirements.txt cache-dependency-path: backend/requirements.txt
- name: Install dependencies - name: Install dependencies
run: | run: |
cd backend cd backend
pip install -r requirements.txt pip install -r requirements.txt
pip install pytest pytest-asyncio pytest-cov httpx pip install pytest pytest-asyncio pytest-cov httpx
- name: Run tests - name: Run tests
run: | run: |
cd backend cd backend
python -m pytest tests/ -v --cov=. --cov-report=xml python -m pytest tests/ -v --cov=. --cov-report=xml
env: env:
STREAMFLIX_DEBUG: true STREAMFLIX_DEBUG: true
- name: Upload coverage - name: Upload coverage
uses: codecov/codecov-action@v3 uses: codecov/codecov-action@v3
with: with:
files: backend/coverage.xml files: backend/coverage.xml
fail_ci_if_error: false fail_ci_if_error: false
# ==================== # ====================
# Backend Lint # Backend Lint
# ==================== # ====================
backend-lint: backend-lint:
name: Backend Lint name: Backend Lint
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: ${{ env.PYTHON_VERSION }} python-version: ${{ env.PYTHON_VERSION }}
- name: Install linters - name: Install linters
run: pip install ruff mypy run: pip install ruff mypy
- name: Run ruff - name: Run ruff
run: ruff check backend/ --ignore=E501 run: ruff check backend/ --ignore=E501
- name: Run mypy - name: Run mypy
run: mypy backend/ --ignore-missing-imports || true run: mypy backend/ --ignore-missing-imports || true
# ==================== # ====================
# Android TV Build # Android TV Build
# ==================== # ====================
android-build: android-build:
name: Android TV Build name: Android TV Build
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up JDK - name: Set up JDK
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }} java-version: ${{ env.JAVA_VERSION }}
cache: 'gradle' cache: 'gradle'
- name: Grant execute permission - name: Grant execute permission
run: chmod +x android-tv/gradlew run: chmod +x android-tv/gradlew
- name: Build Debug APK - name: Build Debug APK
run: | run: |
cd android-tv cd android-tv
./gradlew assembleDebug --no-daemon ./gradlew assembleDebug --no-daemon
- name: Upload APK - name: Upload APK
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: android-tv-debug name: android-tv-debug
path: android-tv/app/build/outputs/apk/debug/*.apk path: android-tv/app/build/outputs/apk/debug/*.apk
retention-days: 7 retention-days: 7
# ==================== # ====================
# Android Mobile Build # Android Mobile Build
# ==================== # ====================
mobile-build: mobile-build:
name: Android Mobile Build name: Android Mobile Build
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up JDK - name: Set up JDK
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }} java-version: ${{ env.JAVA_VERSION }}
cache: 'gradle' cache: 'gradle'
- name: Set up Node.js - name: Set up Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: '20' node-version: '20'
cache: 'npm' cache: 'npm'
cache-dependency-path: frontend/package-lock.json cache-dependency-path: frontend/package-lock.json
- name: Install dependencies - name: Install dependencies
run: | run: |
cd frontend cd frontend
npm install npm install
- name: Build Web App - name: Build Web App
run: | run: |
cd frontend cd frontend
npm run build npm run build
- name: Sync Capacitor - name: Sync Capacitor
run: | run: |
cd frontend cd frontend
npx cap sync android npx cap sync android
- name: Grant execute permission - name: Grant execute permission
run: chmod +x frontend/android/gradlew run: chmod +x frontend/android/gradlew
- name: Build Mobile APK - name: Build Mobile APK
run: | run: |
cd frontend/android cd frontend/android
./gradlew assembleDebug --no-daemon ./gradlew assembleDebug --no-daemon
- name: Upload APK - name: Upload APK
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: android-mobile-debug name: android-mobile-debug
path: frontend/android/app/build/outputs/apk/debug/*.apk path: frontend/android/app/build/outputs/apk/debug/*.apk
retention-days: 7 retention-days: 7
# ==================== # ====================
# Docker Build # Docker Build
# ==================== # ====================
docker-build: docker-build:
name: Docker Build name: Docker Build
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
- name: Build Docker image - name: Build Docker image
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
context: . context: .
push: false push: false
load: true load: true
tags: streamflix:test tags: streamflix:test
cache-from: type=gha cache-from: type=gha
cache-to: type=gha,mode=max cache-to: type=gha,mode=max
- name: Test Docker image - name: Test Docker image
run: | run: |
docker run -d --name test -p 8000:8000 \ docker run -d --name test -p 8000:8000 \
-e STREAMFLIX_DEBUG=true \ -e STREAMFLIX_DEBUG=true \
-e STREAMFLIX_SECRET_KEY=sf_tv_secure_9s8d7f6g5h4j3k2l1 \ -e STREAMFLIX_SECRET_KEY=sf_tv_secure_9s8d7f6g5h4j3k2l1 \
streamflix:test streamflix:test
sleep 10 sleep 10
curl -f http://localhost:8000/api/health || exit 1 curl -f http://localhost:8000/api/health || exit 1
docker stop test docker stop test
# ==================== # ====================
# Docker Publish (on main only) # Docker Publish (on main only)
# ==================== # ====================
docker-publish: docker-publish:
name: Docker Publish name: Docker Publish
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [docker-build] needs: [docker-build]
if: github.ref == 'refs/heads/main' && github.event_name == 'push' if: github.ref == 'refs/heads/main' && github.event_name == 'push'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
- name: Login to DockerHub - name: Login to DockerHub
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract version - name: Extract version
id: version id: version
run: echo "version=$(cat backend/config.py | grep 'app_version' | cut -d'"' -f2)" >> $GITHUB_OUTPUT run: echo "version=$(cat backend/config.py | grep 'app_version' | cut -d'"' -f2)" >> $GITHUB_OUTPUT
- name: Build and push - name: Build and push
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
context: . context: .
platforms: linux/amd64 platforms: linux/amd64
push: true push: true
tags: | tags: |
${{ secrets.DOCKERHUB_USERNAME }}/streamflix:latest ${{ secrets.DOCKERHUB_USERNAME }}/streamflix:latest
${{ secrets.DOCKERHUB_USERNAME }}/streamflix:${{ steps.version.outputs.version }} ${{ secrets.DOCKERHUB_USERNAME }}/streamflix:${{ steps.version.outputs.version }}
cache-from: type=gha cache-from: type=gha
cache-to: type=gha,mode=max 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 name: Release APKs
on: on:
push: push:
tags: tags:
- 'v*' - 'v*'
env: env:
JAVA_VERSION: "21" JAVA_VERSION: "21"
jobs: jobs:
# ==================== # ====================
# Build Android TV APK # Build Android TV APK
# ==================== # ====================
build-tv: build-tv:
name: Build TV APK name: Build TV APK
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up JDK - name: Set up JDK
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }} java-version: ${{ env.JAVA_VERSION }}
cache: 'gradle' cache: 'gradle'
- name: Grant execute permission - name: Grant execute permission
run: chmod +x android-tv/gradlew run: chmod +x android-tv/gradlew
- name: Build Debug APK - name: Build Debug APK
run: | run: |
cd android-tv cd android-tv
./gradlew assembleDebug --no-daemon ./gradlew assembleDebug --no-daemon
- name: Rename APK - name: Rename APK
run: mv android-tv/app/build/outputs/apk/debug/app-debug.apk StreamFlix-TV.apk run: mv android-tv/app/build/outputs/apk/debug/app-debug.apk StreamFlix-TV.apk
- name: Upload APK - name: Upload APK
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: tv-apk name: tv-apk
path: StreamFlix-TV.apk path: StreamFlix-TV.apk
# ==================== # ====================
# Build Android Mobile APK # Build Android Mobile APK
# ==================== # ====================
build-mobile: build-mobile:
name: Build Mobile APK name: Build Mobile APK
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up JDK - name: Set up JDK
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }} java-version: ${{ env.JAVA_VERSION }}
cache: 'gradle' cache: 'gradle'
- name: Set up Node.js - name: Set up Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: '20' node-version: '20'
cache: 'npm' cache: 'npm'
cache-dependency-path: frontend/package-lock.json cache-dependency-path: frontend/package-lock.json
- name: Install dependencies - name: Install dependencies
run: | run: |
cd frontend cd frontend
npm ci npm ci
- name: Build Web App - name: Build Web App
run: | run: |
cd frontend cd frontend
npm run build npm run build
- name: Sync Capacitor - name: Sync Capacitor
run: | run: |
cd frontend cd frontend
npx cap sync android --deployment npx cap sync android --deployment
- name: Grant execute permission - name: Grant execute permission
run: chmod +x frontend/android/gradlew run: chmod +x frontend/android/gradlew
- name: Build Mobile APK - name: Build Mobile APK
run: | run: |
cd frontend/android cd frontend/android
./gradlew assembleDebug --no-daemon ./gradlew assembleDebug --no-daemon
- name: Rename APK - name: Rename APK
run: mv frontend/android/app/build/outputs/apk/debug/app-debug.apk StreamFlix.apk run: mv frontend/android/app/build/outputs/apk/debug/app-debug.apk StreamFlix.apk
- name: Upload APK - name: Upload APK
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: mobile-apk name: mobile-apk
path: StreamFlix.apk path: StreamFlix.apk
# ==================== # ====================
# Create GitHub Release # Create GitHub Release
# ==================== # ====================
release: release:
name: Create Release name: Create Release
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [build-tv, build-mobile] needs: [build-tv, build-mobile]
permissions: permissions:
contents: write contents: write
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Download TV APK - name: Download TV APK
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with: with:
name: tv-apk name: tv-apk
- name: Download Mobile APK - name: Download Mobile APK
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with: with:
name: mobile-apk name: mobile-apk
- name: Get version from tag - name: Get version from tag
id: version id: version
run: echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT run: echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
- name: Create Release - name: Create Release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with:
name: ${{ steps.version.outputs.version }} - StreamFlix Release name: ${{ steps.version.outputs.version }} - StreamFlix Release
files: | files: |
StreamFlix-TV.apk StreamFlix-TV.apk
StreamFlix.apk StreamFlix.apk
generate_release_notes: true generate_release_notes: true
draft: false draft: false
prerelease: 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 # Default ignored files
/shelf/ /shelf/
/workspace.xml /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"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="AndroidProjectSystem"> <component name="AndroidProjectSystem">
<option name="providerId" value="com.android.tools.idea.GradleProjectSystem" /> <option name="providerId" value="com.android.tools.idea.GradleProjectSystem" />
</component> </component>
</project> </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"> <component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173"> <code_scheme name="Project" version="173">
<JetCodeStyleSettings> <JetCodeStyleSettings>
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" /> <option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
</JetCodeStyleSettings> </JetCodeStyleSettings>
<codeStyleSettings language="XML"> <codeStyleSettings language="XML">
<option name="FORCE_REARRANGE_MODE" value="1" /> <option name="FORCE_REARRANGE_MODE" value="1" />
<indentOptions> <indentOptions>
<option name="CONTINUATION_INDENT_SIZE" value="4" /> <option name="CONTINUATION_INDENT_SIZE" value="4" />
</indentOptions> </indentOptions>
<arrangement> <arrangement>
<rules> <rules>
<section> <section>
<rule> <rule>
<match> <match>
<AND> <AND>
<NAME>xmlns:android</NAME> <NAME>xmlns:android</NAME>
<XML_ATTRIBUTE /> <XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE> <XML_NAMESPACE>^$</XML_NAMESPACE>
</AND> </AND>
</match> </match>
</rule> </rule>
</section> </section>
<section> <section>
<rule> <rule>
<match> <match>
<AND> <AND>
<NAME>xmlns:.*</NAME> <NAME>xmlns:.*</NAME>
<XML_ATTRIBUTE /> <XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE> <XML_NAMESPACE>^$</XML_NAMESPACE>
</AND> </AND>
</match> </match>
<order>BY_NAME</order> <order>BY_NAME</order>
</rule> </rule>
</section> </section>
<section> <section>
<rule> <rule>
<match> <match>
<AND> <AND>
<NAME>.*:id</NAME> <NAME>.*:id</NAME>
<XML_ATTRIBUTE /> <XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE> <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND> </AND>
</match> </match>
</rule> </rule>
</section> </section>
<section> <section>
<rule> <rule>
<match> <match>
<AND> <AND>
<NAME>.*:name</NAME> <NAME>.*:name</NAME>
<XML_ATTRIBUTE /> <XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE> <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND> </AND>
</match> </match>
</rule> </rule>
</section> </section>
<section> <section>
<rule> <rule>
<match> <match>
<AND> <AND>
<NAME>name</NAME> <NAME>name</NAME>
<XML_ATTRIBUTE /> <XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE> <XML_NAMESPACE>^$</XML_NAMESPACE>
</AND> </AND>
</match> </match>
</rule> </rule>
</section> </section>
<section> <section>
<rule> <rule>
<match> <match>
<AND> <AND>
<NAME>style</NAME> <NAME>style</NAME>
<XML_ATTRIBUTE /> <XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE> <XML_NAMESPACE>^$</XML_NAMESPACE>
</AND> </AND>
</match> </match>
</rule> </rule>
</section> </section>
<section> <section>
<rule> <rule>
<match> <match>
<AND> <AND>
<NAME>.*</NAME> <NAME>.*</NAME>
<XML_ATTRIBUTE /> <XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE> <XML_NAMESPACE>^$</XML_NAMESPACE>
</AND> </AND>
</match> </match>
<order>BY_NAME</order> <order>BY_NAME</order>
</rule> </rule>
</section> </section>
<section> <section>
<rule> <rule>
<match> <match>
<AND> <AND>
<NAME>.*</NAME> <NAME>.*</NAME>
<XML_ATTRIBUTE /> <XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE> <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND> </AND>
</match> </match>
<order>ANDROID_ATTRIBUTE_ORDER</order> <order>ANDROID_ATTRIBUTE_ORDER</order>
</rule> </rule>
</section> </section>
<section> <section>
<rule> <rule>
<match> <match>
<AND> <AND>
<NAME>.*</NAME> <NAME>.*</NAME>
<XML_ATTRIBUTE /> <XML_ATTRIBUTE />
<XML_NAMESPACE>.*</XML_NAMESPACE> <XML_NAMESPACE>.*</XML_NAMESPACE>
</AND> </AND>
</match> </match>
<order>BY_NAME</order> <order>BY_NAME</order>
</rule> </rule>
</section> </section>
</rules> </rules>
</arrangement> </arrangement>
</codeStyleSettings> </codeStyleSettings>
<codeStyleSettings language="kotlin"> <codeStyleSettings language="kotlin">
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" /> <option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
</codeStyleSettings> </codeStyleSettings>
</code_scheme> </code_scheme>
</component> </component>

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

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

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

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

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

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

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

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

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

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="VcsDirectoryMappings"> <component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" /> <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component> </component>
</project> </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 boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "com.streamflix.tv"; public static final String APPLICATION_ID = "com.streamflix.tv";
public static final String BUILD_TYPE = "debug"; public static final String BUILD_TYPE = "debug";
public static final int VERSION_CODE = 3; public static final int VERSION_CODE = 4;
public static final String VERSION_NAME = "1.3.0"; public static final String VERSION_NAME = "1.3.1";
// Field from default config. // Field from default config.
public static final String API_BASE_URL = "https://nf.khoavo.myds.me"; public static final String API_BASE_URL = "https://nf.khoavo.myds.me";
} }

View file

@ -1,2 +1,2 @@
#- File Locator - #- File Locator -
listingFile=../../../../outputs/apk/debug/output-metadata.json 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