mirror of
https://github.com/beetbox/beets.git
synced 2026-02-08 16:34:12 +01:00
Fix Additonal Options- Smartplaylist
This commit is contained in:
parent
a929970761
commit
10adecb6f8
1 changed files with 4 additions and 4 deletions
|
|
@ -332,12 +332,12 @@ class SmartPlaylistPlugin(BeetsPlugin):
|
|||
item.path, os.path.dirname(m3u_path)
|
||||
)
|
||||
if self.config["forward_slash"].get():
|
||||
item_uri = path_as_posix(item_uri)
|
||||
entry.uri = path_as_posix(entry.uri)
|
||||
if self.config["urlencode"]:
|
||||
item_uri = bytestring_path(
|
||||
pathname2url(item_uri)
|
||||
entry.uri = bytestring_path(
|
||||
pathname2url(entry.uri)
|
||||
)
|
||||
item_uri = prefix + item_uri
|
||||
entry.uri = prefix + entry.uri
|
||||
comment = ""
|
||||
if extm3u:
|
||||
attr = [(k, entry.item[k]) for k in keys]
|
||||
|
|
|
|||
Loading…
Reference in a new issue