Custom YouTube search string (#261)

* Custom YouTube search string

* Fix sorting issues on < Python 3.6
This commit is contained in:
Ritiek Malhotra
2018-04-08 15:56:44 +05:30
committed by GitHub
parent 4d18224bb7
commit fc226442fe
7 changed files with 60 additions and 34 deletions

View File

@@ -132,7 +132,7 @@ def download_single(raw_song, number=None):
songname = content.title
if meta_tags is not None:
refined_songname = internals.generate_songname(const.args.file_format, meta_tags)
refined_songname = internals.format_string(const.args.file_format, meta_tags)
log.debug('Refining songname from "{0}" to "{1}"'.format(songname, refined_songname))
if not refined_songname == ' - ':
songname = refined_songname