Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lbry
ytsync
Commits
1b55033b
Commit
1b55033b
authored
Jul 13, 2019
by
ci
Browse files
don't retry big videos
parent
1331e576
Changes
1
Hide whitespace changes
Inline
Side-by-side
sources/youtubeVideo.go
View file @
1b55033b
...
...
@@ -273,6 +273,10 @@ func (v *YoutubeVideo) download(useIPv6 bool) error {
_
=
v
.
delete
()
return
errors
.
Err
(
"video is too long to process"
)
}
if
strings
.
Contains
(
string
(
outLog
),
"File is larger than max-filesize"
)
{
_
=
v
.
delete
()
return
errors
.
Err
(
"the video is too big to sync, skipping for now"
)
}
if
string
(
errorLog
)
!=
""
{
log
.
Printf
(
"Command finished with error: %v"
,
errors
.
Err
(
string
(
errorLog
)))
_
=
v
.
delete
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment