This website works better with JavaScript.
Home
Explore
Help
Sign In
er1n
/
bandcamp-collection-downloader
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Add missing break in retry loop
master
Gwendal
6 years ago
parent
416c1e5bb0
commit
f237446d99
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/main/kotlin/bandcampcollectiondownloader/BandcampCollectionDownloader.kt
+ 1
- 0
src/main/kotlin/bandcampcollectiondownloader/BandcampCollectionDownloader.kt
View File
@ -101,6 +101,7 @@ fun downloadAll(cookiesFile: Path?, bandcampUser: String, downloadFormat: String
}
try
{
downloadAlbum
(
artistFolderPath
,
albumFolderPath
,
albumtitle
,
url
,
cookies
,
gson
,
isSingleTrack
,
artid
)
break
}
catch
(
e
:
Throwable
)
{
println
(
""
"Error while downloading: "
$
{
e
.
javaClass
.
name
}
:
$
{
e
.
message
}
"."
""
)
if
(
i
=
=
attempts
)
{
Write
Preview
Loading…
Cancel
Save