Added docker support

This commit is contained in:
Jett Jackson
2018-10-30 14:15:49 +08:00
parent 97e7e792f8
commit 84b0c2e861
108 changed files with 240 additions and 16 deletions

View File

@ -2,16 +2,16 @@
; The global section contains settings that apply to the entire server
[global]
; YouTube API key - get this from your user account
;YoutubeApiKey=AIzaSyBabzE4Bup77WexdLMa9rN9z-wJidEfNX8
YoutubeApiKey=AIzaSyAonB6T-DrKjfGxBGuHyFMg0x_d0T9nlP8
; Specifies the synchronization schedule, in crontab format.
; Format: <minute> <hour> <day-of-month> <month-of-year> <day of week>
;SynchronizationSchedule=0 * * * *
SynchronizationSchedule=5 * * * *
; Number of threads running the scheduler
; Since most of the jobs scheduled are downloads, there is no advantage to having
; a higher concurrency
;SchedulerConcurrency=2
SchedulerConcurrency=1
; Log level
LogLevel=DEBUG
@ -19,29 +19,29 @@ LogLevel=DEBUG
; Default user settings
[user]
; When a video is deleted on the system, it will be marked as 'watched'
;MarkDeletedAsWatched=True
MarkDeletedAsWatched=True
; Videos marked as watched are automatically deleted
;DeleteWatched=True
DeleteWatched=True
; Enable automatic downloading
;AutoDownload=True
AutoDownload=True
; Limit the total number of videos downloaded (-1 or empty = no limit)
;DownloadGlobalLimit=
DownloadGlobalLimit=10
; Limit the numbers of videos per subscription (-1 or empty = no limit)
;DownloadSubscriptionLimit=5
DownloadSubscriptionLimit=5
; Number of download attempts
;DownloadMaxAttempts=3
DownloadMaxAttempts=3
; Download order
; Options: newest, oldest, playlist, playlist_reverse, popularity, rating
;DownloadOrder=playlist
DownloadOrder=playlist
; Path where downloaded videos are stored
DownloadPath=temp/download
DownloadPath=data/media/videos
; 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
@ -49,7 +49,7 @@ DownloadPath=temp/download
;DownloadFilePattern=${channel}/${playlist}/S01E${playlist_index} - ${title} [${id}]
; Download format that will be passed to youtube-dl. See the youtube-dl documentation for more details.
DownloadFormat=worstvideo+bestaudio
DownloadFormat=bestvideo+bestaudio
; Subtitles - these options match the youtube-dl options
;DownloadSubtitles=True