upsies.constants

Fixed values that do not change during runtime

Module Attributes

upsies.constants.DEFAULT_CACHE_DIRECTORY = '/home/docs/.cache/upsies'

Default path cache directory if config option cache_directory is not set

upsies.constants.GENERIC_TORRENTS_DIRPATH = '/home/docs/.cache/upsies/generic_torrents'

Path to directory that contains cached torrents for re-using piece hashes

upsies.constants.CONFIG_DIRECTORYPATH = '/home/docs/.config/upsies'

Path to configuration directory

upsies.constants.CONFIG_FILEPATH = '/home/docs/.config/upsies/config.ini'

Path to general configuration file

upsies.constants.TRACKERS_FILEPATH = '/home/docs/.config/upsies/trackers.ini'

Path to trackers configuration file

upsies.constants.IMGHOSTS_FILEPATH = '/home/docs/.config/upsies/imghosts.ini'

Path to image hosting services configuration file

upsies.constants.CLIENTS_FILEPATH = '/home/docs/.config/upsies/clients.ini'

Path to BitTorrent clients configuration file

upsies.constants.VIDEO_FILE_EXTENSIONS = ('avi', 'divx', 'm2ts', 'mkv', 'mp4', 'mpeg', 'mpg', 'mts', 'ts', 'vob', 'wmv')

Sequence of file extensions to recognize video files

upsies.constants.GUESSIT_OPTIONS = {'advanced_config': {'streaming_service': {'YT': ['YT']}}, 'expected_title': ['The Collector', 'xXx', 'TC 2000']}

options argument for GuessItApi.guessit()