Skip to content

Commit

Permalink
Merge pull request #325 from xiaoyaocz/dev
Browse files Browse the repository at this point in the history
Release 1.4.9
  • Loading branch information
xiaoyaocz authored Feb 26, 2024
2 parents cbdf0a1 + 74ffde6 commit ed06c06
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
6 changes: 3 additions & 3 deletions assets/app_version.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": "1.4.8",
"version_num": 10408,
"version_desc": "- 修复抖音内容加载失败问题 #285\n- iOS放开后台播放设置\n- 修复音量拖动调节时卡顿问题 #92 (#294 @abcghy)\n- 弹幕支持使用正则屏蔽 #283 (#295 @abcghy)\n- 定时关闭建议记忆上次设定的时长 #278 (#296 @abcghy)",
"version": "1.4.9",
"version_num": 10409,
"version_desc": "- 修复虎牙播放中断问题 #317",
"prerelease":false,
"download_url": "https://github.com/xiaoyaocz/dart_simple_live/releases"
}
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,12 @@ class LiveRoomController extends PlayerController with WidgetsBindingObserver {
"user-agent":
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.188"
};
} else if (site.id == Constant.kHuya) {
headers = {
"referer": "https://www.huya.com",
"user-agent":
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0"
};
}

player.open(
Expand Down Expand Up @@ -820,7 +826,8 @@ class LiveRoomController extends PlayerController with WidgetsBindingObserver {
var duration =
Duration(hours: value.hour, minutes: value.minute);
autoExitMinutes.value = duration.inMinutes;
AppSettingsController.instance.setRoomAutoExitDuration(autoExitMinutes.value);
AppSettingsController.instance
.setRoomAutoExitDuration(autoExitMinutes.value);
//setAutoExitDuration(duration.inMinutes);
setAutoExit();
},
Expand Down
4 changes: 2 additions & 2 deletions simple_live_app/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: simple_live_app
version: 1.4.8+10408
version: 1.4.9+10409
publish_to: none
description: "Simple Live APP"
environment:
Expand All @@ -25,7 +25,7 @@ dependencies:
#Widget
flutter_staggered_grid_view: ^0.6.2 #瀑布流/GridView
flutter_easyrefresh: 2.2.2 #下拉刷新、上拉加载
extended_image: ^8.1.1 #拓展Image,支持缓存
extended_image: ^8.2.0 #拓展Image,支持缓存
flutter_smart_dialog: ^4.9.2 #各种弹窗 Toast/Dialog/Popup
sticky_headers: ^0.3.0+2 #吸顶
lottie: ^1.4.3 #lottie动画
Expand Down
2 changes: 1 addition & 1 deletion simple_live_core/lib/src/huya_site.dart
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ class HuyaSite implements LiveSite {
"uid": uid,
"uuid": getUUid(),
"t": query["t"]!,
"sv": "2110211124"
"sv": "2401310322"
}).query;
}

Expand Down

0 comments on commit ed06c06

Please sign in to comment.