Skip to main content
Topic: problem with play_stop() (Read 1444 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

problem with play_stop()

when i call [play_control::get()->play_stop()] playback stops AND the current playlist entry changes to "" (nothing/invisilbe/...). when i doubleclick that entry the text reappers. how can i avoid this strange behavior?



in [Sdk\play_control.h] it reads:
//important: you should call api commands declared in this header ONLY from main thread !!
//do not call them from a database_lock section, some commands (eg. those stopping playback) will deadlock if you do !

yes, i was calling from another thread. so i guess i got to find another solution...
i know, reading is not that easy sometimes... 

SimplePortal 1.0.0 RC1 © 2008-2020