Compare commits

...
2 Commits
Author SHA1 Message Date
Niko Storni c193dae95a temporary throttling of channels to sync for tom to review them 2019-07-22 16:16:23 -04:00
Niko Storni 0c47510785 revert quoting paths 2019-07-22 02:51:13 +02:00
2 changed files with 3 additions and 1 deletions

No files matched your search

+2
View File
@@ -153,6 +153,8 @@ func (s *SyncManager) Start() error {
queuesToSync = append(queuesToSync, StatusSyncing, StatusQueued)
}
for _, q := range queuesToSync {
//temporary override for sync-until to give tom the time to review the channels
s.syncProperties.SyncUntil = time.Now().AddDate(0, 0, -1).Unix()
channels, err := s.apiConfig.FetchChannels(q, s.syncProperties)
if err != nil {
return err
+1 -1
View File
@@ -203,7 +203,7 @@ func (v *YoutubeVideo) download(useIPv6 bool) error {
fmt.Sprintf("%dM", v.maxVideoSize),
"--match-filter",
fmt.Sprintf("duration <= %d", int(math.Round(v.maxVideoLength*3600))),
"-o\"" + strings.TrimSuffix(v.getFullPath(), ".mp4") + "\"",
"-o" + strings.TrimSuffix(v.getFullPath(), ".mp4"),
"--merge-output-format",
"mp4",
"--abort-on-unavailable-fragment",