Open 42loop opened 4 months ago
Thank you for using Kodi and our issue tracker. This is your friendly Kodi GitHub bot :wink:
The issue that you have opened was marked as ignoring the rules of our bug tracker by a team member. Please review the following requirements for issue reports and make sure that you follow all of them:
Please understand that adherence to these rules is required for the team to be able to handle the volume of open issues efficiently. The issue will be closed after one week has passed without satisfactory follow-up from your side.
@42loop mind giving a go to omega?
i wouldn't mind trying omega - only how can i update kodi inside a osmc installation ?
@42loop I've no idea - I dont use osmc. Maybe @samnazarko can point you to the right direction
Bug report
I am currently porting an old script from kodi 18.x to the current version.
it basically allows to synchronize multiple osmc on raspberry by using the upnp remote control features from a shell script on a master machine, which triggers a seek to zero event shortly before the video file ends. that worked fine in the older version.
in the current version, if i issue a seek command up to about ten seconds before the file ends, it behaves as expected and jumps to the beginning of the file.
however, if i issue that same command just a second before the file ends, it just pauses there and thats it.
spotted error from kodi.log: send packet failed: End of file (-541478725)
Expected Behavior
the player should react consistently to upnp commands
Actual Behavior
the player reacts differently depending on the play position
To Reproduce
send a upnp seek to zero request 1 second before the end of the file
Debuglog
this from seeking to zero after 10 seconds, works ok:
2024-02-15 13:32:24.314 T:11878 debug: demuxer seek to: 0.000000
2024-02-15 13:32:24.315 T:11878 debug : SeekTime - unknown position after seek
2024-02-15 13:32:24.315 T:11878 debug : demuxer seek to: 0.000000, success
2024-02-15 13:32:24.315 T:11878 debug : CVideoPlayer::FlushBuffers - flushing buffers
2024-02-15 13:32:24.317 T:11884 debug : CDVDAudio::Pause - pausing audio stream
2024-02-15 13:32:24.317 T:11883 warning : OutputPicture - timeout waiting for buffer
2024-02-15 13:32:24.320 T:11883 debug : CDVDVideoCodecDRMPRIME::Reset - flush buffers
2024-02-15 13:32:24.414 T:11884 debug : CDVDAudio::Flush - flush audio stream
2024-02-15 13:32:24.414 T:11884 debug : CDVDAudio::Pause - pausing audio stream
2024-02-15 13:32:24.415 T:11884 debug : CVideoPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
2024-02-15 13:32:24.415 T:11878 debug : CVideoPlayer - CDVDMsg::GENERAL_SYNCHRONIZE
2024-02-15 13:32:24.415 T:11883 debug : CVideoPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
2024-02-15 13:32:24.419 T:11883 debug : CVideoPlayerVideo - Stillframe left, switching to normal playback
2024-02-15 13:32:24.430 T:11878 debug : CVideoPlayer::HandleMessages - player started 1
2024-02-15 13:32:24.431 T:11868 debug : OnAVChange: CApplication::OnAVChange
this from seeking to zero after 95 secs (playing a 100 second file):
2024-02-15 13:29:09.283 T:10802 debug: demuxer seek to: 0.000000
2024-02-15 13:29:09.283 T:10802 debug : SeekTime - unknown position after seek
2024-02-15 13:29:09.283 T:10802 debug : demuxer seek to: 0.000000, success
2024-02-15 13:29:09.283 T:10802 debug : CVideoPlayer::FlushBuffers - flushing buffers
2024-02-15 13:29:09.290 T:10807 warning : OutputPicture - timeout waiting for buffer
2024-02-15 13:29:09.290 T:10807 debug : CDVDVideoCodecDRMPRIME::Reset - flush buffers
2024-02-15 13:29:09.325 T:10808 debug : CDVDAudio::Pause - pausing audio stream
2024-02-15 13:29:09.424 T:10808 debug : CDVDAudio::Flush - flush audio stream
2024-02-15 13:29:09.424 T:10808 debug : CDVDAudio::Pause - pausing audio stream
2024-02-15 13:29:09.424 T:10808 debug : CVideoPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
2024-02-15 13:29:09.425 T:10807 debug : CVideoPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
2024-02-15 13:29:09.425 T:10802 debug : CVideoPlayer - CDVDMsg::GENERAL_SYNCHRONIZE
2024-02-15 13:29:09.426 T:10802 debug : CVideoPlayer::HandleMessages - player started 2
2024-02-15 13:29:09.430 T:10807 debug : CVideoPlayerVideo - Stillframe left, switching to normal playback
2024-02-15 13:29:09.431 T:10807 error : CDVDVideoCodecDRMPRIME::AddData - send packet failed: End of file (-541478725)
2024-02-15 13:29:09.431 T:10802 debug : CVideoPlayer::HandleMessages - player started 2
2024-02-15 13:29:09.431 T:10807 error : CDVDVideoCodecDRMPRIME::AddData - send packet failed: End of file (-541478725)
Your Environment
Used Operating system: OSMC with Kodi 20.3 on raspberry 3b+