2018-10-10 22:43:50 +00:00
|
|
|
; Use $<env:environment_variable> to use the value of an environment variable.
|
|
|
|
; The global section contains settings that apply to the entire server
|
|
|
|
[global]
|
|
|
|
; YouTube API key - get this from your user account
|
2018-10-30 06:15:49 +00:00
|
|
|
YoutubeApiKey=AIzaSyAonB6T-DrKjfGxBGuHyFMg0x_d0T9nlP8
|
2018-10-10 22:43:50 +00:00
|
|
|
|
|
|
|
; Specifies the synchronization schedule, in crontab format.
|
2018-10-13 20:01:45 +00:00
|
|
|
; Format: <minute> <hour> <day-of-month> <month-of-year> <day of week>
|
2018-10-30 06:15:49 +00:00
|
|
|
SynchronizationSchedule=5 * * * *
|
2018-10-10 22:43:50 +00:00
|
|
|
|
|
|
|
; Number of threads running the scheduler
|
|
|
|
; Since most of the jobs scheduled are downloads, there is no advantage to having
|
|
|
|
; a higher concurrency
|
2018-10-30 06:15:49 +00:00
|
|
|
SchedulerConcurrency=1
|
2018-10-10 22:43:50 +00:00
|
|
|
|
|
|
|
; Log level
|
|
|
|
LogLevel=DEBUG
|
|
|
|
|
|
|
|
; Default user settings
|
|
|
|
[user]
|
|
|
|
; When a video is deleted on the system, it will be marked as 'watched'
|
2018-10-30 06:15:49 +00:00
|
|
|
MarkDeletedAsWatched=True
|
2018-10-10 22:43:50 +00:00
|
|
|
|
|
|
|
; Videos marked as watched are automatically deleted
|
2018-10-30 06:15:49 +00:00
|
|
|
DeleteWatched=True
|
2018-10-10 22:43:50 +00:00
|
|
|
|
|
|
|
; Enable automatic downloading
|
2018-10-30 06:15:49 +00:00
|
|
|
AutoDownload=True
|
2018-10-10 22:43:50 +00:00
|
|
|
|
|
|
|
; Limit the total number of videos downloaded (-1 or empty = no limit)
|
2018-10-30 06:15:49 +00:00
|
|
|
DownloadGlobalLimit=10
|
2018-10-10 22:43:50 +00:00
|
|
|
|
|
|
|
; Limit the numbers of videos per subscription (-1 or empty = no limit)
|
2018-10-30 06:15:49 +00:00
|
|
|
DownloadSubscriptionLimit=5
|
2018-10-10 22:43:50 +00:00
|
|
|
|
|
|
|
; Number of download attempts
|
2018-10-30 06:15:49 +00:00
|
|
|
DownloadMaxAttempts=3
|
2018-10-10 22:43:50 +00:00
|
|
|
|
|
|
|
; Download order
|
2018-10-27 00:33:45 +00:00
|
|
|
; Options: newest, oldest, playlist, playlist_reverse, popularity, rating
|
2018-10-30 06:15:49 +00:00
|
|
|
DownloadOrder=playlist
|
2018-10-10 22:43:50 +00:00
|
|
|
|
|
|
|
; Path where downloaded videos are stored
|
2018-10-30 06:15:49 +00:00
|
|
|
DownloadPath=data/media/videos
|
2018-10-10 22:43:50 +00:00
|
|
|
|
|
|
|
; A pattern which describes how downloaded files are organized. Extensions are automatically appended.
|
|
|
|
; Supported fields: channel, channel_id, playlist, playlist_id, playlist_index, title, id
|
|
|
|
; The default pattern should work pretty well with Plex
|
2018-10-27 00:33:45 +00:00
|
|
|
;DownloadFilePattern=${channel}/${playlist}/S01E${playlist_index} - ${title} [${id}]
|
2018-10-10 22:43:50 +00:00
|
|
|
|
|
|
|
; Download format that will be passed to youtube-dl. See the youtube-dl documentation for more details.
|
2018-10-30 06:15:49 +00:00
|
|
|
DownloadFormat=bestvideo+bestaudio
|
2018-10-10 22:43:50 +00:00
|
|
|
|
|
|
|
; Subtitles - these options match the youtube-dl options
|
2018-10-27 00:33:45 +00:00
|
|
|
;DownloadSubtitles=True
|
|
|
|
;DownloadAutogeneratedSubtitles=False
|
|
|
|
;DownloadSubtitlesAll=False
|
|
|
|
;DownloadSubtitlesLangs=en,ro
|
|
|
|
;DownloadSubtitlesFormat=
|