Skip to content

Commit

Permalink
Merge pull request #608 from rdiaz738/master
Browse files Browse the repository at this point in the history
Fixed MAX_CONCURRENT_DOWNLOADS and button styling
  • Loading branch information
alexta69 authored Mar 7, 2025
2 parents 071bb30 + 8ea3359 commit cc5f22a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/ytdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def __init__(self, config, notifier):
if self.config.DOWNLOAD_MODE == 'sequential':
self.seq_lock = asyncio.Lock()
elif self.config.DOWNLOAD_MODE == 'limited':
self.semaphore = asyncio.Semaphore(self.config.MAX_CONCURRENT_DOWNLOADS)
self.semaphore = asyncio.Semaphore(int(self.config.MAX_CONCURRENT_DOWNLOADS))

self.done.load()

Expand Down
10 changes: 9 additions & 1 deletion ui/src/app/app.component.sass
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,15 @@ td

.modal-header
border-bottom: 1px solid #eee

.modal-body
textarea.form-control
resize: vertical


.add-url
display: inline-flex
align-items: center
justify-content: center

.spinner-border
margin-right: 0.5rem

0 comments on commit cc5f22a

Please # to comment.