Did I find the right examples for you? yes no

All Samples(126)  |  Call(126)  |  Derive(0)  |  Import(0)

src/f/r/freeseer-HEAD/src/freeseer/plugins/output/rtmp_streaming/__init__.py   freeseer(Download)
    def load_config(self, plugman):
        self.plugman = plugman
 
        try:
            self.url = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Stream URL")
            self.audio_quality = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Audio Quality")
            self.video_bitrate = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Video Bitrate")
            self.video_tune = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Video Tune")
            self.audio_codec = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Audio Codec")

src/f/r/freeseer-3.0.1/freeseer/plugins/output/rtmp-streaming/__init__.py   freeseer(Download)
    def load_config(self, plugman):
        self.plugman = plugman
 
        try:
            self.url = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Stream URL")
            self.audio_quality = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Audio Quality")
            self.video_bitrate = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Video Bitrate")
            self.video_tune = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Video Tune")
            self.audio_codec = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Audio Codec")

src/f/r/freeseer-HEAD/src/freeseer/plugins/output/ogg_icecast/__init__.py   freeseer(Download)
    def load_config(self, plugman):
        self.plugman = plugman
 
        try:
            self.ip = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "IP")
            self.port = int(self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Port"))
            self.password = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Password")
            self.mount = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Mount")
        except (configparser.NoSectionError, configparser.NoOptionError):
            self.plugman.set_plugin_option(self.CATEGORY, self.get_config_name(), "IP", self.ip)

src/f/r/freeseer-3.0.1/freeseer/plugins/output/ogg-icecast/__init__.py   freeseer(Download)
    def load_config(self, plugman):
        self.plugman = plugman
 
        try:
            self.ip = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "IP")
            self.port = int(self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Port"))
            self.password = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Password")
            self.mount = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Mount")
        except (ConfigParser.NoSectionError, ConfigParser.NoOptionError):
            self.plugman.set_plugin_option(self.CATEGORY, self.get_config_name(), "IP", self.ip)

src/f/r/freeseer-HEAD/src/freeseer/plugins/output/ogg_output/__init__.py   freeseer(Download)
    def load_config(self, plugman):
        self.plugman = plugman
 
        try:
            self.audio_quality = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Audio Quality")
            self.video_bitrate = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Video Bitrate")
            self.matterhorn = int(self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Matterhorn"))
        except (configparser.NoSectionError, configparser.NoOptionError):
            self.plugman.set_plugin_option(self.CATEGORY, self.get_config_name(), "Audio Quality", self.audio_quality)
            self.plugman.set_plugin_option(self.CATEGORY, self.get_config_name(), "Video Bitrate", self.video_bitrate)

src/f/r/freeseer-3.0.1/freeseer/plugins/output/ogg-output/__init__.py   freeseer(Download)
    def load_config(self, plugman):
        self.plugman = plugman
 
        try:
            self.audio_quality = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Audio Quality")
            self.video_bitrate = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Video Bitrate")
            self.matterhorn = int(self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Matterhorn"))
        except (ConfigParser.NoSectionError, ConfigParser.NoOptionError):
            self.plugman.set_plugin_option(self.CATEGORY, self.get_config_name(), "Audio Quality", self.audio_quality)
            self.plugman.set_plugin_option(self.CATEGORY, self.get_config_name(), "Video Bitrate", self.video_bitrate)

src/f/r/freeseer-HEAD/src/freeseer/plugins/output/videopreview/__init__.py   freeseer(Download)
    def load_config(self, plugman):
        self.plugman = plugman
        try:
            self.previewsink = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Preview Sink")
            self.leakyqueue = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Leaky Queue")
        except (configparser.NoSectionError, configparser.NoOptionError):
            self.plugman.set_plugin_option(self.CATEGORY, self.get_config_name(), "Preview Sink", self.previewsink)
            self.plugman.set_plugin_option(self.CATEGORY, self.get_config_name(), "Leaky Queue", self.leakyqueue)
    def set_previewsink(self, previewsink):
        self.plugman.set_plugin_option(self.CATEGORY, self.get_config_name(), "Preview Sink", previewsink)
 
    def set_leakyqueue(self, value):
        self.plugman.set_plugin_option(self.CATEGORY, self.get_config_name(), "Leaky Queue", value)

src/f/r/freeseer-3.0.1/freeseer/plugins/output/videopreview/__init__.py   freeseer(Download)
    def load_config(self, plugman):
        self.plugman = plugman
        try:
            self.previewsink = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Preview Sink")
            self.leakyqueue = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Leaky Queue")
        except (ConfigParser.NoSectionError, ConfigParser.NoOptionError):
            self.plugman.set_plugin_option(self.CATEGORY, self.get_config_name(), "Preview Sink", self.previewsink)
            self.plugman.set_plugin_option(self.CATEGORY, self.get_config_name(), "Leaky Queue", self.leakyqueue)
    def set_previewsink(self, previewsink):
        self.plugman.set_plugin_option(self.CATEGORY, self.get_config_name(), "Preview Sink", previewsink)
 
    def set_leakyqueue(self, value):
        self.plugman.set_plugin_option(self.CATEGORY, self.get_config_name(), "Leaky Queue", value)

src/f/r/freeseer-HEAD/src/freeseer/plugins/output/audiofeedback/__init__.py   freeseer(Download)
    def load_config(self, plugman):
        self.plugman = plugman
        try:
            self.feedbacksink = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Audio Feedback Sink")
        except (configparser.NoSectionError, configparser.NoOptionError):
            self.plugman.set_plugin_option(self.CATEGORY, self.get_config_name(), "Audio Feedback Sink", self.feedbacksink)
    def set_feedbacksink(self, feedbacksink):
        self.plugman.set_plugin_option(self.CATEGORY, self.get_config_name(), "Audio Feedback Sink", feedbacksink)
 
    ###
    ### Translations

src/f/r/freeseer-3.0.1/freeseer/plugins/output/audiofeedback/__init__.py   freeseer(Download)
    def load_config(self, plugman):
        self.plugman = plugman
        try:
            self.feedbacksink = self.plugman.get_plugin_option(self.CATEGORY, self.get_config_name(), "Audio Feedback Sink")
        except (ConfigParser.NoSectionError, ConfigParser.NoOptionError):
            self.plugman.set_plugin_option(self.CATEGORY, self.get_config_name(), "Audio Feedback Sink", self.feedbacksink)
    def set_feedbacksink(self, feedbacksink):
        self.plugman.set_plugin_option(self.CATEGORY, self.get_config_name(), "Audio Feedback Sink", feedbacksink)
 
    ###
    ### Translations