mirror of
https://github.com/lizongying/my-tv.git
synced 2026-10-26 22:26:29 +08:00
fix ysp
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
## 更新日誌
|
## 更新日誌
|
||||||
|
|
||||||
### v2.1.6
|
### v2.1.7
|
||||||
|
|
||||||
*
|
*
|
||||||
|
|
||||||
|
|||||||
@@ -100,9 +100,6 @@ static def VersionName() {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(libs.media3.ui)
|
implementation(libs.media3.ui)
|
||||||
implementation(libs.failureaccess)
|
|
||||||
implementation(libs.guava)
|
|
||||||
implementation(libs.media3.common)
|
|
||||||
implementation(libs.media3.exoplayer)
|
implementation(libs.media3.exoplayer)
|
||||||
implementation(libs.media3.exoplayer.hls)
|
implementation(libs.media3.exoplayer.hls)
|
||||||
implementation(libs.protobuf.kotlin)
|
implementation(libs.protobuf.kotlin)
|
||||||
|
|||||||
Vendored
-6
@@ -19,9 +19,3 @@
|
|||||||
# If you keep the line number information, uncomment this to
|
# If you keep the line number information, uncomment this to
|
||||||
# hide the original source file name.
|
# hide the original source file name.
|
||||||
#-renamesourcefileattribute SourceFile
|
#-renamesourcefileattribute SourceFile
|
||||||
|
|
||||||
-keep class com.google.gson.** { *; }
|
|
||||||
-dontwarn com.google.gson.**
|
|
||||||
|
|
||||||
-keep class com.google.guava.** { *; }
|
|
||||||
-dontwarn com.google.guava.**
|
|
||||||
@@ -11,6 +11,7 @@
|
|||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||||
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
||||||
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||||
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
||||||
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
|
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -67,13 +67,13 @@ object Utils {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (x != "") {
|
// if (x != "") {
|
||||||
try {
|
// try {
|
||||||
getNothing3(x)
|
// getNothing3(x)
|
||||||
} catch (e: Exception) {
|
// } catch (e: Exception) {
|
||||||
println("b ${e.message}")
|
// println("b ${e.message}")
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
withContext(Dispatchers.Main) {
|
withContext(Dispatchers.Main) {
|
||||||
listener?.onRequestFinished(null)
|
listener?.onRequestFinished(null)
|
||||||
|
|||||||
@@ -334,21 +334,8 @@ object Request {
|
|||||||
val liveInfo = response.body()
|
val liveInfo = response.body()
|
||||||
|
|
||||||
if (liveInfo?.data?.playurl != null) {
|
if (liveInfo?.data?.playurl != null) {
|
||||||
val chanll = liveInfo.data.chanll
|
if (liveInfo.data.extended_param != null) {
|
||||||
val decodedBytes = Base64.decode(
|
val url = liveInfo.data.playurl + "&revoi=" + liveInfo.data.extended_param
|
||||||
chanll.substring(9, chanll.length - 3),
|
|
||||||
Base64.DEFAULT
|
|
||||||
)
|
|
||||||
val decodedString = String(decodedBytes)
|
|
||||||
val matchResult = regex.find(decodedString)
|
|
||||||
if (matchResult != null) {
|
|
||||||
val (key, iv) = matchResult.destructured
|
|
||||||
val keyBytes = Base64.decode(key, Base64.DEFAULT)
|
|
||||||
val ivBytes = Base64.decode(iv, Base64.DEFAULT)
|
|
||||||
val url = liveInfo.data.playurl + "&revoi=" + encryptTripleDES(
|
|
||||||
keyBytes + byteArrayOf(0, 0, 0, 0, 0, 0, 0, 0),
|
|
||||||
ivBytes
|
|
||||||
).uppercase() + liveInfo.data.extended_param
|
|
||||||
Log.d(TAG, "$title url $url")
|
Log.d(TAG, "$title url $url")
|
||||||
tvModel.addVideoUrl(url)
|
tvModel.addVideoUrl(url)
|
||||||
tvModel.allReady()
|
tvModel.allReady()
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
#Fri Dec 01 13:53:24 HKT 2023
|
#Fri Dec 01 13:53:24 HKT 2023
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-rc-1-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
{"version_code": 33621504, "version_name": "v2.1.6"}
|
{"version_code": 33621760, "version_name": "v2.1.7"}
|
||||||
|
|||||||
Reference in New Issue
Block a user