def settingsButtonClicked(self): if not self.video.mediaChoice: playerObject = plexplayer.PlexPlayer(self.video) playerObject.build() playersettings.showDialog(video=self.video, non_playback=True) self.setAudioAndSubtitleInfo()
def showSettings(self): with self.propertyContext('settings.visible'): playersettings.showDialog(self.player.video, via_osd=True) changed = self.videoSettingsHaveChanged() if changed == 'SUBTITLE': self.handler.setSubtitles() elif changed: self.handler.seek(self.trueOffset(), settings_changed=True)
def settingsButtonClicked(self): mli = self.episodeListControl.getSelectedItem() if not mli: return episode = mli.dataSource if not episode.mediaChoice: playerObject = plexplayer.PlexPlayer(episode) playerObject.build() playersettings.showDialog(video=episode, non_playback=True) self.setItemAudioAndSubtitleInfo(episode, mli)