Skip to content

Commit 17fa26e

Browse files
committed
Fix plugin to work with latest Beets API changes
1 parent 84b37dc commit 17fa26e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beetsplug/mpdqueue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def import_task_files(self, task, session):
134134
tracks = []
135135
items = sorted(task.imported_items(), key=lambda x: x.track)
136136
for item in items:
137-
destination = item.destination(fragment=True)
137+
destination = item.destination(relative_to_libdir=True).decode()
138138
self._log.debug(u'{0} will be added to queue', destination)
139139
tracks.append(destination)
140140
self.files += tracks

0 commit comments

Comments
 (0)