Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video not playing on Windows #87

Open
KalpanaChetan opened this issue Jan 7, 2023 · 5 comments
Open

Video not playing on Windows #87

KalpanaChetan opened this issue Jan 7, 2023 · 5 comments

Comments

@KalpanaChetan
Copy link

KalpanaChetan commented Jan 7, 2023

Fixed in latest development build, use exe

Originally posted by @prateekmedia in #79 (comment)

App open but nothing show in first time

When I opened the app again , I saw some videos ,when I opened one video , it did not play

Why this happens in nightly build

@prateekmedia
Copy link
Owner

Can you send a screenshot of video not playing?

@prateekmedia prateekmedia changed the title Fixed in latest development build, use exe Video not playing on Windows Jan 7, 2023
@KalpanaChetan
Copy link
Author

Screenshot (48).png

Screenshot (49).png

Screenshot (47).png

Screenshot (50).png

@prateekmedia
Copy link
Owner

It has IN for Indian region, scroll down

@KalpanaChetan
Copy link
Author

Ok

@Quackdoc
Copy link
Contributor

Quackdoc commented Jan 8, 2023

it's possibly related to TeamPiped/piped_dart#11.
able to replicate.

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: DioError [DioErrorType.other]: Deserializing '[title, My wife Was MURDERED, description, My wife Was MURDERED with Preston ...' to 'VideoInfo' failed due to: Deserializing '[{url: /watch?v=TYItqhOZ2E8, type: stream, title: ULTIMATE Try Not To LAUGH C...' to 'BuiltList<StreamItem>' failed due to: Deserializing '[url, /watch?v=DFP5LE7vVsQ&playnext=1&list=RDCMUC70Dib4MvFfT1tU6MqeyHpQ, type...' to 'StreamItem' failed due to: Tried to construct class "StreamItem" with null field "duration". This is forbidden; to allow it, mark "duration" with @nullable.
#0      BuiltJsonSerializers._deserialize (package:built_value/src/built_json_serializers.dart:187:11)
#1      BuiltJsonSerializers.deserialize (package:built_value/src/built_json_serializers.dart:124:18)
#2      UnauthenticatedApi.streamInfo (package:piped_api/src/api/unauthenticated_api.dart:782:36)
<asynchronous suspension>
#3      PipedService.getVideoData (package:pstube/foundation/services/piped_service.dart:72:19)
<asynchronous suspension>
#4      VideosChangeNotifier.addVideoUrl (package:pstube/states/videos/videos_change_notifier.dart:33:23)
<asynchronous suspension>

Source stack:
#0      BuiltJsonSerializers._deserialize (package:built_value/src/built_json_serializers.dart:187:11)
#1      BuiltJsonSerializers.deserialize (package:built_value/src/built_json_serializers.dart:124:18)
#2      UnauthenticatedApi.streamInfo (package:piped_api/src/api/unauthenticated_api.dart:782:36)
<asynchronous suspension>
#3      PipedService.getVideoData (package:pstube/foundation/services/piped_service.dart:72:19)
<asynchronous suspension>
#4      VideosChangeNotifier.addVideoUrl (package:pstube/states/videos/videos_change_notifier.dart:33:23)
<asynchronous suspension>

#0      UnauthenticatedApi.streamInfo (package:piped_api/src/api/unauthenticated_api.dart:788:7)
<asynchronous suspension>
#1      PipedService.getVideoData (package:pstube/foundation/services/piped_service.dart:72:19)
<asynchronous suspension>
#2      VideosChangeNotifier.addVideoUrl (package:pstube/states/videos/videos_change_notifier.dart:33:23)
<asynchronous suspension>

EDIT: It is consistently duration is null issues after about testing 10 broken videos. however different servers sometimes pose videos that didn't cause the issue but now do. and the issue is consistent on the videos when not changing server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants