Bug #2591
Playback stopped before EOF
Status: | Fixed | Start date: | 04/06/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 100% | ||
Category: | Video playback | |||
Target version: | 4.10 | |||
Found in version: | 4.9.348 | Platform: | PS3 |
Description
Only happens using onedrive links, I tried setting "Count video as played when reaching" to 100% and 0%, but it still stops at random percentages (usually around 60% to 90%)
Thanks guys
BTW I finally found out how to do a debug http log if that would help?
Associated revisions
httpclient: Follow temporary redirect again if we encouter errors during read
Some http-services generate temporary redirect URLs that are only valid for a
certain amount of time. Thus, we must follow the redirect again when we
encounter some type of error or we might fail to continue read the file
Fixes #2591
History
#1
Updated by Leonid Protasov over 7 years ago
I have seen that before and that happened because of errors in MKV file I was watching. Movian should be more intelligent with those kind files for sure...
#2
Updated by ßlueplanet . over 7 years ago
Leonid Protasov wrote:
I have seen that before and that happened because of errors in MKV file I was watching. Movian should be more intelligent with those kind files for sure...
Well I do change the container to MKV before I upload my files to onedrive, as the service doesn't seem to like mp4 etc. But I did think it was an issue with onedrive, but after further testing movian stopped playback of a local MKV (well over DLNA)
[DEBUG]:Playback reached EOF: End of file (-1606004923)
01:48:15.312: Video [DEBUG]:Playback reached 38%, counting as played (http://192.168.0.3:53235/544.MKV)
#3
Updated by Andreas Smas over 7 years ago
- Status changed from New to Need feedback
Can you provide, or point me to, a sample file that have this problem?
#4
Updated by Leonid Protasov over 7 years ago
Andreas Öman wrote:
Can you provide, or point me to, a sample file that have this problem?
Use onedrive link from the log. It is still working...
#5
Updated by ßlueplanet . over 7 years ago
- File Sample.mkv added
- File showtime-0.log added
Andreas Öman wrote:
Can you provide, or point me to, a sample file that have this problem?
I have cut a 5 min sample from a file (using mkvmerge) that's particularly bad , but annoyingly I can't produce it with files less than an hour or so.
I just streamed the full file through movian's address bar to rule out any problems with navi-x
it stopped at 79% (log attached)
#6
Updated by Andreas Smas over 7 years ago
- Target version set to 4.10
#7
Updated by Andreas Smas over 7 years ago
I can't reproduce this .. tried streaming the video from onedrive multiple times and it has not failed me.
Does it happen every time for you guys?
#8
Updated by ßlueplanet . over 7 years ago
- File 62_ (murder by numbers).log added
Andreas Öman wrote:
I can't reproduce this .. tried streaming the video from onedrive multiple times and it has not failed me.
Does it happen every time for you guys?
Yes, although I will say if i stop/pause the video at some point during the movie then it usually doesn't do it.
I just streamed the original log file (murder by numbers) without stopping it, and it only got to 62% (log attached)
#9
Updated by Andreas Smas over 7 years ago
- Status changed from Need feedback to Accepted
Ok, I've figured out what goes wrong.
The original URL
https://onedrive.live.com/download?resid=A8B3BD371FF06FD6%21129
gets redirected to a temporary URL, such as
https://zpax4a.bn1301.livefilestore.com/y2mieRv3XfX8TsMbBDelFsVeHF5Mrvbbgy3Vqju32Shn1KkTKQy6H6QrY62j99rmGglZj0jf82aPirwD6sd6vIhPG09xIwga4ssmmo0bcOdLpWe_VM0NiHYPNhYbAsb6QdW/r0ll3rb0y5.mkv?download&psid=1
This URL is only valid for a given amount of time, and after a while the transfer is disconnected with the lifetime of this URL expires.
What needs to be done in that case is for Movian to re-query using the original URL.
#10
Updated by Andreas Smas over 7 years ago
- Status changed from Accepted to Fixed
- % Done changed from 0 to 100
Applied in changeset git|701b21935a798bd2cd9252c5a78fe517100570e6.
#11
Updated by ßlueplanet . over 7 years ago
Works perfectly! thank you
#12
Updated by Andreas Smas over 7 years ago
Happy days :-)