mirror of
https://github.com/beetbox/beets.git
synced 2025-12-27 02:52:33 +01:00
Merge pull request #1492 from Kraymer/1490-importfeeds
importfeeds: fix #1490 don't overwrite basename argument
This commit is contained in:
commit
fa72800dcf
2 changed files with 5 additions and 4 deletions
|
|
@ -118,10 +118,9 @@ class ImportFeedsPlugin(BeetsPlugin):
|
|||
paths.append(relpath)
|
||||
|
||||
if 'm3u' in formats:
|
||||
basename = bytestring_path(
|
||||
self.config['m3u_name'].get(unicode)
|
||||
)
|
||||
m3u_path = os.path.join(feedsdir, basename)
|
||||
m3u_basename = bytestring_path(
|
||||
self.config['m3u_name'].get(unicode))
|
||||
m3u_path = os.path.join(feedsdir, m3u_basename)
|
||||
_write_m3u(m3u_path, paths)
|
||||
|
||||
if 'm3u_multi' in formats:
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@ New features:
|
|||
|
||||
Fixes:
|
||||
|
||||
* :doc:`/plugins/importfeeds`: Avoid generating incorrect m3u filename when
|
||||
both `m3u` and `m3u_multi` options are `True`. :bug:`1490`
|
||||
* :doc:`/plugins/duplicates`: Avoid a crash when misconfigured. :bug:`1457`
|
||||
* :doc:`/plugins/mpdstats`: Avoid a crash when the music played is not in the
|
||||
beets library. Thanks to :user:`CodyReichert`. :bug:`1443`
|
||||
|
|
|
|||
Loading…
Reference in a new issue