def stop_video(self):
"""stop and playing video and timer"""
if self.video_timer:
gobject.source_remove(self.video_timer)
self.video_timer = None
if self.video_playing:
self.video_playing = False
self.video_player.stop()
self.drwVideo.set_property('visible', False)
self.video_artwork_widget.set_property('visible', True)
self.do_events()
评论列表
文章目录