parameters: ()
docstring: Wait for video playback to end
docstring_summary: Wait for video playback to end
docstring_tokens: Wait for video playback to end
function: def wait_for_end_of_video():
      """ Wait for video playback to end
      """
      # Don't show notify while watching a video
      while xbmc.Player().isPlayingVideo() and not abort_requested():
          if wait_for_abort(1):
              # Abort was requested while waiting. We should exit
              break
      i = 0
      while i < 10 and not abort_requested():
          if wait_for_abort(1):
              # Abort was requested while waiting. We should exit
              break
          i += 1
function_tokens: def wait_for_end_of_video ( ) : # Don't show notify while watching a video while xbmc . Player ( ) . isPlayingVideo ( ) and not abort_requested ( ) : if wait_for_abort ( 1 ) : # Abort was requested while waiting. We should exit break i = 0 while i < 10 and not abort_requested ( ) : if wait_for_abort ( 1 ) : # Abort was requested while waiting. We should exit break i += 1