mirror of
https://github.com/madari-media/madari-oss.git
synced 2026-01-11 22:40:23 +00:00
hotfix: non trakt user unable to play the video
Some checks are pending
Build and Deploy / build_windows (push) Waiting to run
Build and Deploy / build_android (push) Waiting to run
Build and Deploy / build_android_tv (push) Waiting to run
Build and Deploy / build_ipa (push) Waiting to run
Build and Deploy / build_linux (push) Waiting to run
Build and Deploy / build_macos (push) Waiting to run
Some checks are pending
Build and Deploy / build_windows (push) Waiting to run
Build and Deploy / build_android (push) Waiting to run
Build and Deploy / build_android_tv (push) Waiting to run
Build and Deploy / build_ipa (push) Waiting to run
Build and Deploy / build_linux (push) Waiting to run
Build and Deploy / build_macos (push) Waiting to run
This commit is contained in:
parent
e869d63e0d
commit
e2f56aac64
1 changed files with 7 additions and 5 deletions
|
|
@ -194,11 +194,13 @@ class _VideoViewerState extends State<VideoViewer> {
|
|||
Future setupVideoThings() async {
|
||||
_logger.info('Setting up video things...');
|
||||
|
||||
traktProgress = null;
|
||||
traktProgress = TraktService.instance!.getProgress(
|
||||
meta as types.Meta,
|
||||
bypassCache: true,
|
||||
);
|
||||
if (TraktService.isEnabled()) {
|
||||
traktProgress = null;
|
||||
traktProgress = TraktService.instance!.getProgress(
|
||||
meta as types.Meta,
|
||||
bypassCache: true,
|
||||
);
|
||||
}
|
||||
|
||||
_duration = player.stream.duration.listen((item) async {
|
||||
if (meta is types.Meta) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue