mirror of
https://github.com/beetbox/beets.git
synced 2026-02-09 00:41:57 +01:00
Changelog Update for Smartplaylist, and formatting fixing
This commit is contained in:
parent
13c3d064cf
commit
a929970761
2 changed files with 8 additions and 3 deletions
|
|
@ -328,12 +328,16 @@ class SmartPlaylistPlugin(BeetsPlugin):
|
|||
for entry in m3us[m3u]:
|
||||
item = entry.item
|
||||
if entry.uri == "m3u":
|
||||
entry.uri = os.path.relpath(item.path, os.path.dirname(m3u_path))
|
||||
entry.uri = os.path.relpath(
|
||||
item.path, os.path.dirname(m3u_path)
|
||||
)
|
||||
if self.config["forward_slash"].get():
|
||||
item_uri = path_as_posix(item_uri)
|
||||
if self.config["urlencode"]:
|
||||
item_uri = bytestring_path(pathname2url(item_uri))
|
||||
item_uri = prefix + item_uri
|
||||
item_uri = bytestring_path(
|
||||
pathname2url(item_uri)
|
||||
)
|
||||
item_uri = prefix + item_uri
|
||||
comment = ""
|
||||
if extm3u:
|
||||
attr = [(k, entry.item[k]) for k in keys]
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ New features:
|
|||
album queries involving `path` field have been sped up, like `beet list -a
|
||||
path:/path/`.
|
||||
|
||||
* Ability to use relative_to as "m3u" to set playlist files as relative to where each playlist is at, including subdirectories.
|
||||
Bug fixes:
|
||||
|
||||
* Improved naming of temporary files by separating the random part with the file extension.
|
||||
|
|
|
|||
Loading…
Reference in a new issue