Merge branch 'master' of skid/deemix into master

This commit is contained in:
RemixDev 2020-06-11 08:38:51 +00:00 committed by Gogs
commit f9334f50d3
1 changed files with 1 additions and 1 deletions

View File

@ -936,7 +936,7 @@ def after_download_single(track, settings, queueItem):
f.write(orig.encode('utf-8'))
chmod(os.path.join(track['extrasPath'], 'searched.txt'), 0o770)
if settings['executeCommand'] != "":
execute(settings['executeCommand'].replace("%folder%", track['extrasPath']))
execute(settings['executeCommand'].replace("%folder%", track['extrasPath']).replace("%filename%", track['playlistPosition']))
return track['extrasPath']