- # play a video, check for adult pin if needed
- adult_pin = None
- if self.check_for_adult_pin(params=params):
- adult_pin = self.kodi_helper.show_adult_pin_dialog()
- if self.netflix_session.send_adult_pin(adult_pin=adult_pin) != True:
- return self.kodi_helper.show_wrong_adult_pin_notification()
- self.play_video(video_id=params['video_id'], start_offset=params['start_offset'])