Skip to content

Commit

Permalink
fix(修复虎牙播放中断问题)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuchuancong committed Feb 26, 2024
1 parent c976003 commit 6eb8100
Show file tree
Hide file tree
Showing 5 changed files with 85 additions and 55 deletions.
4 changes: 2 additions & 2 deletions assets/version.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": "1.5.6",
"version": "1.5.7",
"version_num": 10505,
"version_desc": "-Fix:修复抖音分类以及搜索功能.",
"version_desc": "-Fix:修复虎牙播放中断问题.",
"prerelease":false,
"download_url": "https://github.com/liuchuancong/pure_live/releases"
}
2 changes: 1 addition & 1 deletion lib/common/utils/version_util.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'dart:convert';
import 'package:http/http.dart' as http;

class VersionUtil {
static const String version = '1.5.6';
static const String version = '1.5.7';
static const String projectUrl = 'https://github.com/liuchuancong/pure_live';
static const String releaseUrl = 'https://api.github.com/repos/liuchuancong/pure_live/releases';
static const String issuesUrl = 'https://github.com/liuchuancong/pure_live/issues';
Expand Down
4 changes: 1 addition & 3 deletions lib/core/site/huya_site.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ import 'package:pure_live/model/live_category_result.dart';
import 'package:pure_live/core/interface/live_danmaku.dart';
import 'package:pure_live/common/services/settings_service.dart';



class HuyaSite implements LiveSite {
@override
String id = "huya";
Expand Down Expand Up @@ -469,7 +467,7 @@ class HuyaSite implements LiveSite {
"uid": uid,
"uuid": getUUid(),
"t": query["t"] ?? '',
"sv": "2110211124"
"sv": "2401310322"
}).query;
}

Expand Down
126 changes: 79 additions & 47 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,10 @@ packages:
dependency: "direct main"
description:
name: device_info_plus
sha256: "0042cb3b2a76413ea5f8a2b40cec2a33e01d0c937e91f0f7c211fde4f7739ba6"
sha256: "77f757b789ff68e4eaf9c56d1752309bd9f7ad557cb105b938a7f8eb89e59110"
url: "https://pub.flutter-io.cn"
source: hosted
version: "9.1.1"
version: "9.1.2"
device_info_plus_platform_interface:
dependency: transitive
description:
Expand Down Expand Up @@ -367,10 +367,10 @@ packages:
dependency: transitive
description:
name: ffi
sha256: "7bf0adc28a23d395f19f3f1eb21dd7cfd1dd9f8e1c50051c069122e6853bc878"
sha256: "493f37e7df1804778ff3a53bd691d8692ddf69702cf4c1c1096a2e41b4779e21"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.0"
version: "2.1.2"
fijkplayer:
dependency: "direct main"
description:
Expand Down Expand Up @@ -407,10 +407,10 @@ packages:
dependency: "direct main"
description:
name: flex_color_picker
sha256: f37476ab3e80dcaca94e428e159944d465dd16312fda9ff41e07e86f04bfa51c
sha256: "0871edc170153cfc3de316d30625f40a85daecfa76ce541641f3cc0ec7757cbf"
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.3.0"
version: "3.3.1"
flex_seed_scheme:
dependency: transitive
description:
Expand Down Expand Up @@ -460,10 +460,10 @@ packages:
dependency: transitive
description:
name: flutter_inappwebview_android
sha256: fd4db51e46f49b140d83a3206851432c54ea920b381137c0ba82d0cf59be1dee
sha256: d247f6ed417f1f8c364612fa05a2ecba7f775c8d0c044c1d3b9ee33a6515c421
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.12"
version: "1.0.13"
flutter_inappwebview_internal_annotations:
dependency: transitive
description:
Expand Down Expand Up @@ -596,10 +596,10 @@ packages:
dependency: "direct main"
description:
name: font_awesome_flutter
sha256: "52671aea66da73b58d42ec6d0912b727a42248dd9a7c76d6c20f275783c48c08"
sha256: "275ff26905134bcb59417cf60ad979136f1f8257f2f449914b2c3e05bbb4cd6f"
url: "https://pub.flutter-io.cn"
source: hosted
version: "10.6.0"
version: "10.7.0"
functions_client:
dependency: transitive
description:
Expand All @@ -620,18 +620,18 @@ packages:
dependency: transitive
description:
name: get_it
sha256: d0b88dc35a7f97fd91fec0cf8f165abd97a57977968d8fc02ba0bc92e14ba07e
sha256: e6017ce7fdeaf218dc51a100344d8cb70134b80e28b760f8bb23c242437bafd7
url: "https://pub.flutter-io.cn"
source: hosted
version: "7.6.6"
version: "7.6.7"
gotrue:
dependency: transitive
description:
name: gotrue
sha256: "0af635a935d4ec78e8885f71d71d1994460b1a855faee9b5b520e9b5417ceb02"
sha256: f40610bacf1074723354b0856a4f586508ffb075b799f72466f34e843133deb9
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.3.0"
version: "2.5.0"
gtk:
dependency: transitive
description:
Expand Down Expand Up @@ -708,10 +708,10 @@ packages:
dependency: transitive
description:
name: image
sha256: "004a2e90ce080f8627b5a04aecb4cdfac87d2c3f3b520aa291260be5a32c033d"
sha256: "49a0d4b0c12402853d3f227fe7c315601b238d126aa4caa5dbb2dcf99421aa4a"
url: "https://pub.flutter-io.cn"
source: hosted
version: "4.1.4"
version: "4.1.6"
intl:
dependency: "direct main"
description:
Expand Down Expand Up @@ -744,6 +744,30 @@ packages:
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.3.1"
leak_tracker:
dependency: transitive
description:
name: leak_tracker
sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa"
url: "https://pub.flutter-io.cn"
source: hosted
version: "10.0.0"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.1"
leak_tracker_testing:
dependency: transitive
description:
name: leak_tracker_testing
sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.1"
lints:
dependency: transitive
description:
Expand Down Expand Up @@ -772,18 +796,18 @@ packages:
dependency: transitive
description:
name: matcher
sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e"
sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.12.16"
version: "0.12.16+1"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41"
sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.5.0"
version: "0.8.0"
media_kit:
dependency: "direct main"
description:
Expand Down Expand Up @@ -860,18 +884,18 @@ packages:
dependency: transitive
description:
name: meta
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.10.0"
version: "1.11.0"
mime:
dependency: transitive
description:
name: mime
sha256: e4ff8e8564c03f255408decd16e7899da1733852a9110a58fe6d1b817684a63e
sha256: "2e123074287cc9fd6c09de8336dae606d1ddb88d9ac47358826db698c176a1f2"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.4"
version: "1.0.5"
move_to_desktop:
dependency: "direct main"
description:
Expand Down Expand Up @@ -932,10 +956,10 @@ packages:
dependency: "direct main"
description:
name: path
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.8.3"
version: "1.9.0"
path_drawing:
dependency: transitive
description:
Expand Down Expand Up @@ -1329,18 +1353,18 @@ packages:
dependency: transitive
description:
name: sqflite
sha256: "591f1602816e9c31377d5f008c2d9ef7b8aca8941c3f89cc5fd9d84da0c38a9a"
sha256: a9016f495c927cb90557c909ff26a6d92d9bd54fc42ba92e19d4e79d61e798c6
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.3.0"
version: "2.3.2"
sqflite_common:
dependency: transitive
description:
name: sqflite_common
sha256: bb4738f15b23352822f4c42a531677e5c6f522e079461fd240ead29d8d8a54a6
sha256: "28d8c66baee4968519fb8bd6cdbedad982d6e53359091f0b74544a9f32ec72d5"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.5.0+2"
version: "2.5.3"
stack_trace:
dependency: transitive
description:
Expand All @@ -1353,18 +1377,18 @@ packages:
dependency: "direct main"
description:
name: stop_watch_timer
sha256: ab2df356d382d34cfe9c0a2765ac74135d8c46a04a26f00c9e8cf78b3a78e4b4
sha256: e1a295f54742bdbed3ac2a9ec7e3e4f2f815a4e17180858af5f6a81426de3ea0
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.0.2"
version: "3.1.0+4"
storage_client:
dependency: transitive
description:
name: storage_client
sha256: b49ff2e1e6738c0ef445546d6ec77040829947f0c7ef0b115acb125656127c83
sha256: bf5589d5de61a2451edb1b8960a0e673d4bb5c42ecc4dddf7c051a93789ced34
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.0"
version: "2.0.1"
stream_channel:
dependency: transitive
description:
Expand All @@ -1385,18 +1409,18 @@ packages:
dependency: transitive
description:
name: supabase
sha256: cee9fd3fe6465a81a2536e2e2e0d9ec0b48d5f195015e060f70e2bd1b619bb26
sha256: "4bce9c49f264f4cd44b4ffc895647af2dca0c40125c169045be9f708fd2a2a40"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.4"
version: "2.0.7"
supabase_flutter:
dependency: "direct main"
description:
name: supabase_flutter
sha256: "118070e5d827e4dfd7feaf5a1679e0ecdca548b16a1b6ec15c2a507cf2520bb2"
sha256: "32597ffe9993bc47bc5a2020421b1940e634ea4293cff80385fa67fb9fff46d6"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.2.0"
version: "2.3.2"
sync_http:
dependency: transitive
description:
Expand Down Expand Up @@ -1481,10 +1505,10 @@ packages:
dependency: "direct main"
description:
name: url_launcher
sha256: d25bb0ca00432a5e1ee40e69c36c85863addf7cc45e433769d61bed3fe81fd96
sha256: c512655380d241a337521703af62d2c122bf7b77a46ff7dd750092aa9433499c
url: "https://pub.flutter-io.cn"
source: hosted
version: "6.2.3"
version: "6.2.4"
url_launcher_android:
dependency: transitive
description:
Expand Down Expand Up @@ -1574,6 +1598,14 @@ packages:
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.4.0+2"
vm_service:
dependency: transitive
description:
name: vm_service
sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957
url: "https://pub.flutter-io.cn"
source: hosted
version: "13.0.0"
volume_controller:
dependency: transitive
description:
Expand Down Expand Up @@ -1602,18 +1634,18 @@ packages:
dependency: transitive
description:
name: web
sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152
sha256: "4188706108906f002b3a293509234588823c8c979dc83304e229ff400c996b05"
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.3.0"
version: "0.4.2"
web_socket_channel:
dependency: "direct main"
description:
name: web_socket_channel
sha256: d88238e5eac9a42bb43ca4e721edba3c08c6354d4a53063afaa568516217621b
sha256: "939ab60734a4f8fa95feacb55804fa278de28bdeef38e616dc08e44a84adea23"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.4.0"
version: "2.4.3"
win32:
dependency: transitive
description:
Expand All @@ -1634,10 +1666,10 @@ packages:
dependency: "direct main"
description:
name: window_manager
sha256: dcc865277f26a7dad263a47d0e405d77e21f12cb71f30333a52710a408690bd7
sha256: b3c895bdf936c77b83c5254bec2e6b3f066710c1f89c38b20b8acc382b525494
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.3.7"
version: "0.3.8"
windows_single_instance:
dependency: "direct main"
description:
Expand Down Expand Up @@ -1679,5 +1711,5 @@ packages:
source: hosted
version: "2.0.0"
sdks:
dart: ">=3.2.0 <4.0.0"
dart: ">=3.3.0-279.1.beta <4.0.0"
flutter: ">=3.16.0"
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.5.6
version: 1.5.7

environment:
sdk: '>=3.0.6 <4.0.0'
Expand Down Expand Up @@ -215,7 +215,7 @@ msix_config:
display_name: 纯粹直播
# publisher_display_name: puretech.com
# identity_name: com.puretech.purelive
msix_version: 1.0.0.47
msix_version: 1.0.0.48
logo_path: assets/icons/icon.png
# capabilities: internetClient
certificate_path: assets/keystore/CERTIFICATE.pfx
Expand Down

0 comments on commit 6eb8100

Please sign in to comment.