media_player error
OpenSesame version
[4.0.37]
Operating system
[Windows 11]
Backend
[legacy]
Hi All,
I have an experiment in which an external device is controlled while showing a video. However, since the last OpenSesame update, the mediadecoder component has stopped working.
I am using media_player_mpy and selected: Call custom Python code: 'After every frame'.
No matter what code is in there, the plugin crashes with the error message:
'Error assigning variables in media_player: "Decoder" object has no attribute "loop_count"'
It would be great if this feature worked again.
I created a small task with some code during video playback and tested it in an OpenSesame version without the last update (opensesame-plugin-media-player-mpy 0.2.2, mediadecoder 0.1.5)
and with the latest update (opensesame-plugin-media-player-mpy 0.2.3, mediadecoder 0.2.2)
The feature running Python code worked well in the previous version without updates.
Unfortunately I can't upload my example task (error code 413).
Thanks,
Bert
Comments
Hi @BertH ,
Indeed the
media_player_mpyplugin broke due to an update in themediadecoderpackage. You should see an update tomediadecoderappear in the automatic updater soon that will fix this.Thanks for pointing this out!
— Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Hi Sebastiaan,
The update solved the issue.
Thanks!
Bert