EasySubtitle::Config
Inherits YAML::Serializable / Reference / Object
Constants
DEFAULT_SKIP_DIRS = ["new folder", "extra", "extra's", "extras", "featurettes", "bonus", "bonusmaterial", "bonus_material", "behindthescenes", "behind_the_scenes", "deletedscenes", "deleted_scenes", "interviews", "makingof", "making_of", "scenes", "trailer", "trailers", "sample", "samples", "other", "misc", "specials", "special_features", "documentary", "docs", "docu", "promo", "promos", "bloopers", "outtakes", "moved_subtitles"]
DEFAULT_UNWANTED_TERMS = ["sample", "cam", "ts", "workprint", "unrated", "uncut", "720p", "1080p", "2160p", "480p", "4k", "uhd", "imax", "web", "webrip", "web-dl", "bluray", "brrip", "bdrip", "dvdrip", "hdrip", "hdtv", "remux", "x264", "x265", "h.264", "h.265", "hevc", "avc", "hdr", "hdr10", "hdr10+", "dv", "dolby.vision", "sdr", "10bit", "8bit", "ddp", "dd+", "dts", "aac", "ac3", "eac3", "truehd", "atmos", "flac", "5.1", "7.1", "2.0", "yts", "yts.mx", "yify", "rarbg", "fgt", "galaxyrg", "evo", "sparks", "drones", "amiable", "tigole", "fitgirl", "xvid", "mp3"]
Constructors
default
Sourceload(path : String) : Config
Sourceload(path : Path) : Config
Sourcenew(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Sourcenew
Sourcenew(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
SourceClass methods
default_path
Sourcetoken_path
SourceInstance methods
api_key
Sourceapi_key=(api_key : String)
Sourceapi_url
Sourceapi_url=(api_url : String)
Sourceaudio_track_languages
Sourceaudio_track_languages=(audio_track_languages : Array(String))
Sourcedelete_extra_videos
Sourcedelete_extra_videos=(delete_extra_videos : Bool)
Sourcedownload_retry_503
Sourcedownload_retry_503=(download_retry_503 : Int32)
Sourceextras_folder_name
Sourceextras_folder_name=(extras_folder_name : String)
Sourcelanguages
Sourcelanguages=(languages : Array(String))
Sourcelast_resort_search
Sourcelast_resort_search=(last_resort_search : Bool)
Sourcemax_search_results
Sourcemax_search_results=(max_search_results : Int32)
Sourcepassword
Sourcepassword=(password : String)
Sourcepreserve_forced_subtitles
Sourcepreserve_forced_subtitles=(preserve_forced_subtitles : Bool)
Sourcepreserve_unwanted_subtitles
Sourcepreserve_unwanted_subtitles=(preserve_unwanted_subtitles : Bool)
Sourceresync_mode
Sourceresync_mode=(resync_mode : Bool)
Sourceseries_mode
Sourceseries_mode=(series_mode : Bool)
Sourceskip_dirs
Sourceskip_dirs=(skip_dirs : Array(String))
Sourcesmart_sync
Sourcesmart_sync=(smart_sync : Bool)
Sourcesync_backend
Sourcesync_backend=(sync_backend : String)
Sourceto_yaml_string
Sourcetop_downloads
Sourcetop_downloads=(top_downloads : Int32)
Sourceunwanted_terms
Sourceunwanted_terms=(unwanted_terms : Array(String))
Sourceuse_movie_hash
Sourceuse_movie_hash=(use_movie_hash : Bool)
Sourceusername
Sourceusername=(username : String)
Sourcevalidate!
Sourcewhisper_model
Sourcewhisper_model=(whisper_model : String)
Source