Verified Commit 93c57f08 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fixed broken youtube-dl import

parent 3950d0a2
......@@ -126,7 +126,8 @@ def _do_import(import_job, replace=False, use_acoustid=True):
# no downloading, we hotlink
elif import_job.audio_file:
elif not import_job.audio_file and not import_job.source.startswith('file://'):
# not an implace import, and we have a source, so let's download it
import_job.status = 'finished'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment