Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b64327caf1
Fetching contributors…

Cannot retrieve contributors at this time

86 lines (63 sloc) 2.47 kb
from datetime import datetime, timedelta
from lib.common import prompt
# Sensitive values can be prompted at runtime.
# xyz = prompt("user: ")
# xyz = prompt("pass: ", hidden=True)
# Or have the filesystem revoke other users' read access to this file.
# Parser module name.
# See files in the "./lib/parsers/" directory for details.
# Choices: pickled_snarks, tabbed_text, transcript_lousycanuck,
# tweetsubs_log, twitter_search
#
parser_name = ${parser_name}
# Exporter module name.
# See files in the "./lib/exporters/" directory for details.
# Choices: pickled_snarks, subrip, tabbed_text, transcript_html,
# transcript_wordpress
#
exporter_name = ${exporter_name}
# Source to parse (url).
# Examples:
# http://freethoughtblogs.com/lousycanuck/transcript-post-name/
# file:///c:/saved-post.txt
# file:///saved-post.txt (relative to filesystem root)
# file:saved-post.txt (relative to current dir)
#
src_path = ${src_path}
# Destination to write (filesystem path).
# Examples: "./here.txt" or "C:/there.srt"
#
dest_path = ${dest_path}
# Optional substring for parsers to expect of the first tweeted comment.
# Use this to skip early comments, or set to None.
first_msg = ${first_msg}
# Use this to delay all comments (+/-).
fudge_time = ${fudge_time}
# Users egregiously out of sync can be additionally offset (+/-).
# Later parts of the movie may need different fudging as users pause/buffer/etc.
# Each user gets a list of paired deltas: when to fudge, and how much.
# [(in-movie time, delay thereafter), (in-movie time, delay), ...]
#
${fudge_users_block}
# ...
# A list of users to ignore.
# Example: ["@Tom", "@Dick", "@Harry"]
ignore_users = ${ignore_users}
# Optional in-movie time to truncate comments (after fudging).
# Use this to skip late comments, or set to None.
# end_time = timedelta(hours=2, minutes=0, seconds=0)
#
end_time = ${end_time}
# Colored subtitles
# Choices: no,random,default
# no: there will be no color info.
# random: assign colors to users randomly.
# default: let the parser decide.
# At low resolutions, colored text can be ugly in VLC.
color_enabled = ${color_enabled}
# Duration each comment appears on-screen.
show_time = ${show_time}
# Parser-specific options.
${parser_options_block}
# Exporter-specific options.
${exporter_options_block}
Jump to Line
Something went wrong with that request. Please try again.