mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 16:42:42 +01:00
convert: Playlist feature linting fixes
This commit is contained in:
parent
d448e0c4de
commit
fd8fe69738
1 changed files with 4 additions and 4 deletions
|
|
@ -490,8 +490,8 @@ class ConvertPlugin(BeetsPlugin):
|
||||||
with open(os.path.join(dest, playlist), "w") as playlist_file:
|
with open(os.path.join(dest, playlist), "w") as playlist_file:
|
||||||
playlist_file.write("#EXTM3U" + "\n")
|
playlist_file.write("#EXTM3U" + "\n")
|
||||||
|
|
||||||
self._parallel_convert(dest, opts.keep_new, path_formats, fmt,
|
self._parallel_convert(dest, opts.keep_new, path_formats, fmt, pretend,
|
||||||
pretend, link, hardlink, threads, items, playlist)
|
link, hardlink, threads, items, playlist)
|
||||||
|
|
||||||
def convert_on_import(self, lib, item):
|
def convert_on_import(self, lib, item):
|
||||||
"""Transcode a file automatically after it is imported into the
|
"""Transcode a file automatically after it is imported into the
|
||||||
|
|
@ -592,8 +592,8 @@ class ConvertPlugin(BeetsPlugin):
|
||||||
hardlink = self.config['hardlink'].get(bool)
|
hardlink = self.config['hardlink'].get(bool)
|
||||||
link = self.config['link'].get(bool)
|
link = self.config['link'].get(bool)
|
||||||
|
|
||||||
|
return (dest, threads, path_formats, fmt, pretend, hardlink, link,
|
||||||
return dest, threads, path_formats, fmt, pretend, hardlink, link, playlist
|
playlist)
|
||||||
|
|
||||||
def _parallel_convert(self, dest, keep_new, path_formats, fmt,
|
def _parallel_convert(self, dest, keep_new, path_formats, fmt,
|
||||||
pretend, link, hardlink, threads, items, playlist):
|
pretend, link, hardlink, threads, items, playlist):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue