Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c193dae95a | ||
|
|
0c47510785 |
No files matched your search
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user