File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ func downloadPlaylist(
114114
115115 for id := range downloadCount {
116116 name := names [id ]
117- if canDownload (name ) {
117+ if canDownload (name ) && ! existInArchive ( archiveFileName , ids [ id ]) {
118118
119119 childTask , _ := tasklogTable .CreateChildTaskLog (parentTask )
120120
Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ cp selenium/* "$COOKIES_FOLDER"
3838echo " === Updating executable ==="
3939go build -trimpath -buildvcs=false -ldflags=" -s -w" -o " $RELEASE_FOLDER "
4040
41- # echo "=== Reducing executable size ==="
42- # cd "$RELEASE_FOLDER"
43- # upx --best --lzma musicboxapi
41+ echo " === Reducing executable size ==="
42+ cd " $RELEASE_FOLDER "
43+ upx --best --lzma musicboxapi
4444
4545echo " === Restarting mymusic service ==="
4646sudo systemctl stop mymusic || echo " Service 'mymusic' was not running."
You can’t perform that action at this time.
0 commit comments