Fixed broken youtube-dl import
This commit is contained in:
parent
3950d0a2c1
commit
93c57f08f9
|
@ -126,7 +126,8 @@ def _do_import(import_job, replace=False, use_acoustid=True):
|
||||||
else:
|
else:
|
||||||
# no downloading, we hotlink
|
# no downloading, we hotlink
|
||||||
pass
|
pass
|
||||||
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
|
||||||
track_file.download_file()
|
track_file.download_file()
|
||||||
track_file.save()
|
track_file.save()
|
||||||
import_job.status = 'finished'
|
import_job.status = 'finished'
|
||||||
|
|
Loading…
Reference in New Issue