Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
254 commits
Select commit Hold shift + click to select a range
4c7379c
Revert #979 Episode download cache
fire-light42 Jul 20, 2024
0c418fd
Updated VidSrc encryption methods (#1205)
RowdyRushya Jul 20, 2024
c8a863e
Fixed ExampleInstrumentedTest
fire-light42 Jul 24, 2024
dfd1272
Trailers Fix (#1213)
KingLucius Jul 25, 2024
e3ff1cf
feat(UI): Show Episode Runtime (#1207)
KingLucius Jul 25, 2024
15d2d21
Add the option to hide video controls (#1210)
epireyn Jul 25, 2024
2fc279f
Bump 4.4.0
LagradOst Jul 25, 2024
a28ee41
Fix for navigation UI bug (#1220)
Luna712 Jul 28, 2024
0aa48f3
Fix subscription icon displaying for movie types in result previews (…
Luna712 Jul 28, 2024
04dda00
Clean up and mark questionable code issues (#1209)
epireyn Jul 28, 2024
82f8ab4
Fix prerelease test function
fire-light42 Jul 28, 2024
150ad5f
Add sorting by release date (#1206)
epireyn Jul 28, 2024
b2f0884
Add system dark theme (#1208)
epireyn Jul 28, 2024
63e27c2
Fix Trailers on API<33 (#1226)
KingLucius Jul 30, 2024
30adb1c
fixed: Test Search & VidMoxy, RapidVid extractors (#1219)
keyiflerolsun Jul 30, 2024
8fcb3e3
Fix cast recycler scrolling (#1221)
Luna712 Jul 30, 2024
ab379ab
Support for multi deleting downloads and other major improvements/fix…
Luna712 Jul 30, 2024
5012821
[skip ci] add trailing nline to strings to be consistent with weblate
C10udburst Jul 31, 2024
14dd418
Update build.gradle.kts (#1240)
CranberrySoup Aug 1, 2024
60e3c48
Helper Added: CryptoJS (#1237)
keyiflerolsun Aug 1, 2024
aac2311
Fix TV focus issues for add repo input (#1239)
Luna712 Aug 1, 2024
ff29fe6
chore(locales): fix locale issues
recloudstream[bot] Aug 1, 2024
7f1cba9
Translated using Weblate (Ukrainian)
weblate Aug 1, 2024
67e278b
chore(locales): fix locale issues
recloudstream[bot] Aug 2, 2024
ad727b9
[skip ci] match weblate xml style
C10udburst Aug 2, 2024
6f52282
Update translation files
weblate Aug 2, 2024
15b5013
chore(locales): fix locale issues
recloudstream[bot] Aug 2, 2024
7936ccf
Update FcastManager.kt (#1244)
CranberrySoup Aug 2, 2024
4d9a080
Create jitpack.yml (#1248)
CranberrySoup Aug 4, 2024
f6a65f3
Add support for Next Episode in downloads (#1228)
Luna712 Aug 5, 2024
77dc9f7
Add support for progress on header downloads (#1238)
Luna712 Aug 5, 2024
fcac197
Update VidSrcTo.kt Domain Changed (#1257)
phisher98 Aug 7, 2024
c4ccc5d
feat(ui): settings for thumbnail on seekbar (#1256)
int3debug Aug 8, 2024
4d3ab40
Updated SuperVideo extractor url from supervideo.tv to supervideo.cc …
Gian-Fr Aug 12, 2024
6158bac
Update StreamWishExtractor (#1264)
b4byhuey Aug 15, 2024
71a98bc
Translated using Weblate (Greek)
weblate Aug 13, 2024
d67fc36
Fix BackPressedCallback conflict between activities (#1258)
Luna712 Aug 16, 2024
ee52d35
Updated VidhideExtractor (#1279)
misajimenezmx Aug 16, 2024
0697978
Revert "Updated VidhideExtractor (#1279)" (#1284)
fire-light42 Aug 17, 2024
6160f4d
feat: add mpv+ytdl app (#1274)
aicynide Aug 17, 2024
ee7abbf
Update media dependency (#1275)
CranberrySoup Aug 17, 2024
711cc68
fix trailer issue
fire-light42 Aug 17, 2024
adb8dc2
update vidplay encryption (#1285)
RowdyRushya Aug 19, 2024
7bdf146
Added VidHidePro Extractor (#1286)
misajimenezmx Aug 19, 2024
87bd622
update vidsrc2to encryption (#1287)
RowdyRushya Aug 20, 2024
68a17d0
Added StreamSilk extractor. (#1290)
misajimenezmx Aug 21, 2024
aadcbb4
Update Chillx Extractor (#1289)
b4byhuey Aug 21, 2024
bddd531
Fix StreamWishExtractor and Voe (#1288)
misajimenezmx Aug 21, 2024
444a72d
Fixed VidGuard and StreamSilk extractors (#1292)
misajimenezmx Aug 23, 2024
52fa183
Improved VidhidePro + Added Lulustream (#1298)
b4byhuey Aug 24, 2024
e6766f4
Fixed okru extractor (#1301)
redblacker8 Aug 24, 2024
f3f4009
Fix DoodExtractor (#1303)
b4byhuey Aug 27, 2024
973c4ee
Subtitle offset preview (#1305)
CranberrySoup Aug 27, 2024
4961394
feat(UI): Fix sync icon size (#1299)
KingLucius Aug 27, 2024
6601291
feat(TV UI): Navigation rail redesign (#1252)
KingLucius Aug 27, 2024
b95f8ee
fixed downloads on non resumable streams (over 100%)
fire-light42 Aug 31, 2024
9f2c057
feat(UI): Hide Navigation footer on Mobile UI (#1312)
KingLucius Aug 31, 2024
984daeb
fixed imports
fire-light42 Aug 31, 2024
1a211f7
fix dokka & newpipe build issue (#1326)
C10udburst Sep 8, 2024
6664e6d
Translated using Weblate (Chinese (Simplified Han script))
weblate Sep 8, 2024
b4c5ac2
refact: be more precise in the hint (#1330)
int3debug Sep 11, 2024
9e55a19
fixed very buggy code from #1228
fire-light42 Sep 11, 2024
f208301
Added GamoVideo extractor, improved streamtape, fix mixdrop and Vidmo…
redblacker8 Sep 13, 2024
6c2d4c3
Update Chillx.kt (#1336)
b4byhuey Sep 13, 2024
a53877a
Fixing some extractors (#1339)
redowan99 Sep 17, 2024
57a9202
Fix SubDL Create Account URL (#1340)
0b9 Sep 19, 2024
79df626
Update PixelDrainExtractor.kt (#1342)
phisher98 Sep 22, 2024
0d941c9
renovate media3 dependency (#1316)
IndusAryan Sep 22, 2024
07eb609
Translated using Weblate (Turkish)
weblate Sep 22, 2024
f7594e5
VideoClickAction api (#1329)
C10udburst Sep 22, 2024
cffc14a
fixes critical issues with #1329
fire-light42 Sep 24, 2024
d899ecb
Fix navigation bar in light mode (#1350)
CranberrySoup Sep 24, 2024
078de97
Update FcastAction.kt (#1352)
CranberrySoup Sep 26, 2024
bd95ecf
Small changes to VideoClickAction API
fire-light42 Sep 26, 2024
f4fd303
Fix fcast bottom dialog (#1357)
CranberrySoup Sep 29, 2024
3c385ea
fix accidental motion in player when accessing systemBars (#1358)
zzjjaayy Oct 1, 2024
3a657d7
#1302 Option to not show exit confirmation dialog (#1345)
zzjjaayy Oct 1, 2024
15a27b4
Update player_custom_layout.xml (#1366)
CranberrySoup Oct 4, 2024
4cf0bc7
Added Filegram and Fix Vidguard Extractor (#1370)
b4byhuey Oct 13, 2024
54f2213
feat: option to choose backup target directory (#1354)
zzjjaayy Oct 13, 2024
3ece1ab
Translations update from Hosted Weblate (#1348)
weblate Oct 13, 2024
d870978
Removed crash reporting
fire-light42 Oct 14, 2024
f30319f
Update OpenSubtitlesApi.kt (#1382)
CranberrySoup Oct 16, 2024
217cf41
Update CommonActivity.kt - Added Numpad 1,2 Channel Up,Down for Navig…
elvistony Oct 21, 2024
62b3c69
fix vidstreaming extractor (#1393)
RowdyRushya Oct 25, 2024
83318b0
feat(refactor): replace glide with coil image loading library (fast &…
IndusAryan Oct 26, 2024
7194391
fixed ugly M3 style on tv
fire-light42 Oct 26, 2024
9aa3b0e
added torrent support
LagradOst Oct 28, 2024
249d50e
modify port
LagradOst Oct 29, 2024
620d006
fix #1402
LagradOst Oct 30, 2024
0b1399f
fixed issues with magnet links
LagradOst Oct 30, 2024
76184e0
resend dropped torrent requests
LagradOst Oct 31, 2024
9d0d76d
added subtitle outline width
LagradOst Nov 2, 2024
08b4802
fixed missing highlight on TV
LagradOst Nov 2, 2024
e43fc24
Added new Domains to Mixdrop (#1408)
phisher98 Nov 9, 2024
f9b5a8a
fix inapp magnet links not displaying
LagradOst Nov 17, 2024
e026584
might have fixed autoplay
LagradOst Nov 18, 2024
6013262
Update CustomSubtitleDecoderFactory.kt (#1415)
dependencyrejection Dec 1, 2024
5a7ff3d
Update newpipe
fire-light42 Dec 6, 2024
7ad563b
Add subtitle settings in player (#1417)
dependencyrejection Dec 6, 2024
6ac0b02
Html for text
fire-light42 Dec 6, 2024
79f5d1a
add singleton image loader, remove unused libs, increase disk & decre…
IndusAryan Dec 6, 2024
680030d
fix library palette
fire-light42 Dec 6, 2024
c9b1c31
fix #1418
fire-light42 Dec 6, 2024
4f8f917
fix #1413
fire-light42 Dec 6, 2024
352c21c
bump versionName to 4.4.1
fire-light42 Dec 6, 2024
803f93c
fix #1411
fire-light42 Dec 7, 2024
54df562
fixed #1368 coil headers again :skull:
fire-light42 Dec 7, 2024
8e3d1e1
fix bug from 2021 on edge case commit: b85950
LagradOst Dec 9, 2024
87b320d
Fix tv launcher icons for different app flavors (#1422)
dependencyrejection Dec 12, 2024
3d8f7c9
Move to Dependencies version catalog (#1423)
KingLucius Dec 12, 2024
5780827
Fixed critical bug with dns caused by coil PR
fire-light42 Dec 16, 2024
282b25b
fixed #1425
fire-light42 Dec 16, 2024
bcb34bb
Fix path for AsianDrama downloads (#1439)
Luna712 Dec 29, 2024
f5d1f68
update target sdk to 35 (android 15), gradle & exoplayer (#1434)
IndusAryan Dec 29, 2024
5b6f69c
nextlib
fire-light42 Dec 29, 2024
2c180a0
nextlib to MODE_PREFER
fire-light42 Dec 30, 2024
4f5effe
fix: broken downloads and services affected by android 15 support (#1…
IndusAryan Dec 31, 2024
678ddb6
Make nextlib decoding the fallback option
fire-light42 Dec 31, 2024
c038c4b
Use FLAG_IMMUTABLE creating pending intent in PackageInstaller (#1450)
Luna712 Dec 31, 2024
2d89cfa
Fix PiP new targetsdk (#1449)
Luna712 Dec 31, 2024
05ca011
Add new TVTypes for generic Audio and Podcast (#1442)
Luna712 Dec 31, 2024
3848180
Use RECEIVER_EXPORTED for PiP (#1456)
Luna712 Dec 31, 2024
1c47281
Chillx Fix (#1453)
phisher98 Dec 31, 2024
01a95b7
fix same url
fire-light42 Dec 31, 2024
ed6b848
Fix to define Cartoon as episode based (#1441)
Luna712 Dec 31, 2024
b3a4af1
Add StringUtils (#1440)
Luna712 Dec 31, 2024
812226b
switch underlying torrent implementation
fire-light42 Dec 31, 2024
7df4390
Sync up all compileSdk and targetSdk (#1457)
Luna712 Dec 31, 2024
a5c0230
Handle more PlaybackException errors (#1462)
Luna712 Jan 2, 2025
50e5808
Chill Fix Again (#1461)
phisher98 Jan 2, 2025
cdfceed
Fix some false positives in duplicate data check (#1464)
Luna712 Jan 2, 2025
c499b31
Bundle NextLib dependencies (#1467)
KingLucius Jan 4, 2025
dad12dd
Translated using Weblate (French)
weblate Jan 4, 2025
6dcd3d6
Make "Restart" next up focused button (#1466)
KingLucius Jan 4, 2025
de19fa8
Merge remote-tracking branch 'origin/master'
weblate Jan 4, 2025
59b57df
Opt out of edge to edge in a15 and above (#1459)
IndusAryan Jan 4, 2025
b7d5e8d
Merge remote-tracking branch 'origin/master'
weblate Jan 4, 2025
e909c82
MainAPI: add missing builder methods (#1463)
Luna712 Jan 4, 2025
e4bdf00
Merge remote-tracking branch 'origin/master'
weblate Jan 4, 2025
521d3a8
Updated folder names in `getFolder` method for tense consistency. (#1…
Luna712 Jan 4, 2025
927acb6
Merge remote-tracking branch 'origin/master'
weblate Jan 4, 2025
e15910f
Add extractor for archive.org (#1447)
Luna712 Jan 4, 2025
50977b4
Merge remote-tracking branch 'origin/master'
weblate Jan 4, 2025
7c65245
Fix back pressed conflicts (#1437)
Luna712 Jan 4, 2025
54dc2f4
Merge remote-tracking branch 'origin/master'
weblate Jan 4, 2025
10ee1fd
Merge pull request #1380 from recloudstream/weblate
fire-light42 Jan 4, 2025
843a5e7
chore(locales): fix locale issues
recloudstream[bot] Jan 4, 2025
ce5974c
Upgrade AGP for better SDK 35 support and fix deprecations (#1460)
Luna712 Jan 4, 2025
d03e03b
Fix app:makeJar build (#1468)
Luna712 Jan 4, 2025
69399eb
Cache subtitles from the internet
fire-light42 Jan 5, 2025
f36939f
Migrate to non-transitive R classes (#1469)
Luna712 Jan 5, 2025
e2852d2
Fix issue when removing last element of List (#1476)
KingLucius Jan 9, 2025
9c31d0a
Use StringUtils in some places (#1471)
Luna712 Jan 9, 2025
13d8489
Updated SafeFile dependency
LagradOst Jan 13, 2025
b9185cf
Remove unused glide libs (#1483)
Luna712 Jan 13, 2025
567c5c0
refact(player) preferred media toast (#1480)
int3debug Jan 13, 2025
6da673c
feat(TV UI): Fix trailer button visibility (#1482)
KingLucius Jan 13, 2025
a4db6df
Migrate dokka to 2.0.0 (#1490)
Luna712 Jan 15, 2025
105fbf7
add DoH DNS servers (#1481)
salman731 Jan 15, 2025
63a8b2d
feat(Extensions): Extensions API documentation & deprecate old classe…
KingLucius Jan 15, 2025
c35cdb7
Implement click functionality on cast names to initiate a Google sea…
bilal96aslam Jan 15, 2025
726a6ce
Translated using Weblate (#1470)
weblate Jan 15, 2025
f1b95ff
Update ReadMe Documentation (#1004)
KaiKitKobold Jan 15, 2025
eb9b309
Use MainAPI to get folder prefix (#1472)
Luna712 Jan 15, 2025
43c567f
Translated using Weblate (Arabic)
weblate Jan 21, 2025
cfc219c
fix: don't attempt to fix urls that are JSON arrays (#1498)
Bnyro Jan 21, 2025
2164ac4
Merge remote-tracking branch 'origin/master'
weblate Jan 21, 2025
1436c15
Changed YoutubeExtractor (#1496)
doGior Jan 21, 2025
216776b
Merge remote-tracking branch 'origin/master'
weblate Jan 21, 2025
578eb48
Support configuration cache for getting git commit (#1494)
Luna712 Jan 21, 2025
050ae61
Merge remote-tracking branch 'origin/master'
weblate Jan 21, 2025
40abf49
Fixed #1486 by adding updateUrl
fire-light42 Jan 21, 2025
93ca6d6
Merge remote-tracking branch 'origin/master'
weblate Jan 21, 2025
c12bd87
Added NoSuchMethodException error message
fire-light42 Jan 21, 2025
7de0ea8
Merge remote-tracking branch 'origin/master'
weblate Jan 21, 2025
3f6dd01
Dokka: fix compatibility with multiplatform and configuration cache (…
Luna712 Jan 21, 2025
10e3d99
Merge remote-tracking branch 'origin/master'
weblate Jan 21, 2025
e7ea39b
May have fixed TV audio
fire-light42 Jan 21, 2025
7de929e
Merge remote-tracking branch 'origin/master'
weblate Jan 21, 2025
2e14c22
generate_dokka: remove unused directory usage (#1499)
Luna712 Jan 21, 2025
fe6054c
Merge remote-tracking branch 'origin/master'
weblate Jan 21, 2025
e8be266
Adding QuickJS Javascript Engine deobfuscator 1st Phase (#1485)
phisher98 Jan 21, 2025
5fb3d54
Merge remote-tracking branch 'origin/master'
weblate Jan 21, 2025
e668bd0
gradle: enable build and configuration cache (#1495)
Luna712 Jan 21, 2025
0e9b362
Merge remote-tracking branch 'origin/master'
weblate Jan 21, 2025
a7e5c85
Merge pull request #1491 from recloudstream/weblate
fire-light42 Jan 21, 2025
3b3f9b7
chore(locales): fix locale issues
recloudstream[bot] Jan 21, 2025
2c53f0b
Merge pull request #1500 from KingLucius/bumpPipe
KingLucius Jan 22, 2025
5691078
Bump code to 4.5.0
fire-light42 Jan 23, 2025
94f012f
use finish instead of exit process. (#1505)
IndusAryan Jan 23, 2025
1eced92
Added software decoding option
fire-light42 Jan 23, 2025
7bd695e
fix exit dialog appearing (#1507)
IndusAryan Jan 25, 2025
642004d
feat(Extensions): Prefer last registered ExtractorAPI (#1506)
KingLucius Jan 25, 2025
679f365
Fix many build warnings/deprecations (#1478)
Luna712 Jan 26, 2025
7d2f898
Fix loading local plugins under targetsdk 34+ (#1477)
Luna712 Jan 26, 2025
bc7617f
Temporarily use ConcatenatingMediaSource as fallback (#1511)
Luna712 Jan 26, 2025
7d58c6e
Fix isCastApiAvailable (#1509)
Luna712 Jan 26, 2025
55f66a5
torrent server bump for less crashes
LagradOst Jan 27, 2025
86da2f0
Restore package declaration for Torrent (#1516)
Luna712 Jan 28, 2025
6acd01d
Suppress deprecations in CS3IPlayer (#1515)
Luna712 Jan 28, 2025
ed6646c
Handle SocketTimeoutException in PlayerError (#1514)
Luna712 Jan 28, 2025
f523e6f
Cleanup redundant warnings in MainAPI (#1513)
Luna712 Jan 28, 2025
4697106
Bump some dependencies (#1497)
Luna712 Jan 28, 2025
e2a3735
Restore showing login name for SyncAPI in settings (#1525)
Luna712 Jan 29, 2025
2190642
Fix to display prerelease icon in setup on prerelease (#1522)
Luna712 Jan 29, 2025
05fd0e8
Pin conscrypt to 2.5.2 (#1520)
Luna712 Jan 29, 2025
2c6656d
Rename torrentserver package ref to match new package (#1519)
Luna712 Jan 29, 2025
a01db6a
Respect "User-Agent" header in ExtractorLink (#1523)
KingLucius Jan 30, 2025
b95e630
feat(Extensions): addTrailer with headers support (#1524)
KingLucius Jan 30, 2025
7b60246
Make the plugin part crossplatform (#1527)
CranberrySoup Jan 30, 2025
5ee3656
Make logcat a RecyclerView (#1528)
Luna712 Jan 30, 2025
234145c
Fix focus issues on old APIs for logcat (#1530)
Luna712 Jan 30, 2025
30e1bcb
Use exitProcess on TV (#1529)
Luna712 Jan 30, 2025
b6a43bb
Fix PackageInstaller on Android 15 (#1531)
Luna712 Jan 30, 2025
c5577a5
Update Filesim extractor (#1532)
JustRelaxable Jan 31, 2025
e5ac4a0
Fix installer on some older devices (#1533)
Luna712 Jan 31, 2025
6ff6463
software decoding auto
LagradOst Feb 1, 2025
513569d
Use ignore battery intent directly. (#1535)
IndusAryan Feb 4, 2025
9a9c04c
metaproviders: use new* methods (#1216)
Luna712 Feb 4, 2025
83032db
feat(DRM): License URL support for Extensions (#1432)
KingLucius Feb 4, 2025
fa9bcfa
Bump rhino to 1.8.0 (#1518)
Luna712 Feb 4, 2025
42fc9aa
Bump navigation libs (#1526)
Luna712 Feb 4, 2025
1907b38
Remove prerelase tag on api
LagradOst Feb 4, 2025
6688677
bump to 4.5.1
LagradOst Feb 4, 2025
4304be2
Translated using Weblate (Arabic (Levantine)) (#1503)
weblate Feb 4, 2025
840274d
chore(locales): fix locale issues
recloudstream[bot] Feb 4, 2025
de1dbbf
Move SubtitleHelper to library (#1542)
Luna712 Feb 6, 2025
12626cc
fix: new episode notifications for subscriptions not opening series p…
Bnyro Feb 11, 2025
0e962d0
refactor: replace PendingIntent#getActivity with PendingIntentCompat#…
Bnyro Feb 11, 2025
8203864
Bump newpipeextractor to v0.24.5 (#1548)
Luna712 Feb 11, 2025
71b5c69
Replace use of gson in PluginManager (#1544)
Luna712 Feb 11, 2025
743527a
Bump coil to 3.1.0 (#1538)
Luna712 Feb 11, 2025
157a02e
Revert "Bump newpipeextractor to v0.24.5 (#1548)" (#1556)
Luna712 Feb 16, 2025
0b94f76
Move metaproviders to library (#1541)
Luna712 Feb 16, 2025
713b55d
feat(Subtitles): SubDL Login Fix (#1563)
KingLucius Feb 22, 2025
361964e
Update Vidguard.kt (#1560)
redowan99 Feb 22, 2025
2f79092
bugfix(subdl): allow special-chars in password (#1568)
int3debug Feb 23, 2025
126062b
fix: update switch track color to match primary theme color (#1569)
coderang-gk Feb 25, 2025
846ff38
Lazy system.load torrent lib
LagradOst Feb 26, 2025
ab23f23
Feature: episode sort button (#1565)
coderang-gk Feb 28, 2025
1c6db0e
refactor: overall navigation mechanism and split logic #1429 (#1430)
IndusAryan Feb 28, 2025
8bea8f6
Adding Manually Update Plugins (#1512)
phisher98 Mar 1, 2025
0a38434
Fixed seasons with one episode
fire-light42 Mar 1, 2025
cdb70d5
Adding VidStack and GDMirrorbot Extractor (#1579)
phisher98 Mar 3, 2025
127a9c0
fix: filesim extractor doesn't work anymore due to embeds (#1581)
Bnyro Mar 3, 2025
db9e362
refactor: convert monkey activity 🐒 into a fragment monke 🦍 (#1576)
IndusAryan Mar 4, 2025
ade2741
Adding LuluStream Extractor Separately and Fixed (#1588)
phisher98 Mar 6, 2025
8d0612a
feat(ui): add torrent sorting option to plugin fragment (#1587)
int3debug Mar 6, 2025
1edff64
fix: update source link configuration in build.gradle.kts
3a4oT Mar 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .github/locales.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import re
import glob
import requests
import os
import lxml.etree as ET # builtin library doesn't preserve comments


Expand Down Expand Up @@ -61,5 +62,8 @@
with open(file, 'wb') as fp:
fp.write(b'<?xml version="1.0" encoding="utf-8"?>\n')
tree.write(fp, encoding="utf-8", method="xml", pretty_print=True, xml_declaration=False)
# Remove trailing new line to be consistent with weblate
fp.seek(-1, os.SEEK_END)
fp.truncate()
except ET.ParseError as ex:
print(f"[{file}] {ex}")
154 changes: 77 additions & 77 deletions .github/workflows/build_to_archive.yml
Original file line number Diff line number Diff line change
@@ -1,78 +1,78 @@
name: Archive build
on:
push:
branches: [ master ]
paths-ignore:
- '*.md'
- '*.json'
- '**/wcokey.txt'
workflow_dispatch:
concurrency:
group: "Archive-build"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Generate access token
id: generate_token
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.GH_APP_ID }}
private_key: ${{ secrets.GH_APP_KEY }}
repository: "recloudstream/secrets"
- name: Generate access token (archive)
id: generate_archive_token
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.GH_APP_ID }}
private_key: ${{ secrets.GH_APP_KEY }}
repository: "recloudstream/cloudstream-archive"
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Fetch keystore
id: fetch_keystore
run: |
TMP_KEYSTORE_FILE_PATH="${RUNNER_TEMP}"/keystore
mkdir -p "${TMP_KEYSTORE_FILE_PATH}"
curl -H "Authorization: token ${{ steps.generate_token.outputs.token }}" -o "${TMP_KEYSTORE_FILE_PATH}/prerelease_keystore.keystore" "https://raw.githubusercontent.com/recloudstream/secrets/master/keystore.jks"
curl -H "Authorization: token ${{ steps.generate_token.outputs.token }}" -o "keystore_password.txt" "https://raw.githubusercontent.com/recloudstream/secrets/master/keystore_password.txt"
KEY_PWD="$(cat keystore_password.txt)"
echo "::add-mask::${KEY_PWD}"
echo "key_pwd=$KEY_PWD" >> $GITHUB_OUTPUT
- name: Run Gradle
run: |
./gradlew assemblePrerelease
env:
SIGNING_KEY_ALIAS: "key0"
SIGNING_KEY_PASSWORD: ${{ steps.fetch_keystore.outputs.key_pwd }}
SIGNING_STORE_PASSWORD: ${{ steps.fetch_keystore.outputs.key_pwd }}
SIMKL_CLIENT_ID: ${{ secrets.SIMKL_CLIENT_ID }}
SIMKL_CLIENT_SECRET: ${{ secrets.SIMKL_CLIENT_SECRET }}
- uses: actions/checkout@v4
with:
repository: "recloudstream/cloudstream-archive"
token: ${{ steps.generate_archive_token.outputs.token }}
path: "archive"
- name: Move build
run: |
cp app/build/outputs/apk/prerelease/release/*.apk "archive/$(git rev-parse --short HEAD).apk"
- name: Push archive
run: |
cd $GITHUB_WORKSPACE/archive
git config --local user.email "actions@github.com"
git config --local user.name "GitHub Actions"
git add .
git commit --amend -m "Build $GITHUB_SHA" || exit 0 # do not error if nothing to commit
name: Archive build

on:
push:
branches: [ master ]
paths-ignore:
- '*.md'
- '*.json'
- '**/wcokey.txt'
workflow_dispatch:

concurrency:
group: "Archive-build"
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Generate access token
id: generate_token
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.GH_APP_ID }}
private_key: ${{ secrets.GH_APP_KEY }}
repository: "recloudstream/secrets"
- name: Generate access token (archive)
id: generate_archive_token
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.GH_APP_ID }}
private_key: ${{ secrets.GH_APP_KEY }}
repository: "recloudstream/cloudstream-archive"
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Fetch keystore
id: fetch_keystore
run: |
TMP_KEYSTORE_FILE_PATH="${RUNNER_TEMP}"/keystore
mkdir -p "${TMP_KEYSTORE_FILE_PATH}"
curl -H "Authorization: token ${{ steps.generate_token.outputs.token }}" -o "${TMP_KEYSTORE_FILE_PATH}/prerelease_keystore.keystore" "https://raw.githubusercontent.com/recloudstream/secrets/master/keystore.jks"
curl -H "Authorization: token ${{ steps.generate_token.outputs.token }}" -o "keystore_password.txt" "https://raw.githubusercontent.com/recloudstream/secrets/master/keystore_password.txt"
KEY_PWD="$(cat keystore_password.txt)"
echo "::add-mask::${KEY_PWD}"
echo "key_pwd=$KEY_PWD" >> $GITHUB_OUTPUT
- name: Run Gradle
run: |
./gradlew assemblePrerelease
env:
SIGNING_KEY_ALIAS: "key0"
SIGNING_KEY_PASSWORD: ${{ steps.fetch_keystore.outputs.key_pwd }}
SIGNING_STORE_PASSWORD: ${{ steps.fetch_keystore.outputs.key_pwd }}
SIMKL_CLIENT_ID: ${{ secrets.SIMKL_CLIENT_ID }}
SIMKL_CLIENT_SECRET: ${{ secrets.SIMKL_CLIENT_SECRET }}
- uses: actions/checkout@v4
with:
repository: "recloudstream/cloudstream-archive"
token: ${{ steps.generate_archive_token.outputs.token }}
path: "archive"

- name: Move build
run: |
cp app/build/outputs/apk/prerelease/release/*.apk "archive/$(git rev-parse --short HEAD).apk"

- name: Push archive
run: |
cd $GITHUB_WORKSPACE/archive
git config --local user.email "actions@github.com"
git config --local user.name "GitHub Actions"
git add .
git commit --amend -m "Build $GITHUB_SHA" || exit 0 # do not error if nothing to commit
git push --force
7 changes: 4 additions & 3 deletions .github/workflows/generate_dokka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ jobs:
- name: Clean old builds
run: |
cd $GITHUB_WORKSPACE/dokka/
rm -rf "./-cloudstream"
rm -rf "./app"
rm -rf "./library"

- name: Setup JDK 17
uses: actions/setup-java@v4
Expand All @@ -55,11 +56,11 @@ jobs:
run: |
cd $GITHUB_WORKSPACE/src/
chmod +x gradlew
./gradlew app:dokkaHtml
./gradlew docs:dokkaGeneratePublicationHtml

- name: Copy Dokka
run: |
cp -r $GITHUB_WORKSPACE/src/app/build/dokka/html/* $GITHUB_WORKSPACE/dokka/
cp -r $GITHUB_WORKSPACE/src/docs/build/dokka/html/* $GITHUB_WORKSPACE/dokka/

- name: Push builds
run: |
Expand Down
2 changes: 2 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/studiobot.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions app/CMakeLists.txt

This file was deleted.

Loading