Skip to content

Commit

Permalink
fix: allow browsing by album year
Browse files Browse the repository at this point in the history
The listing was broken since commit 1e9ca37.
Now we enforce the string conversion for browse item names again.
  • Loading branch information
sumpfralle committed Jan 22, 2024
1 parent bbada91 commit 0df7756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mopidy_beets/browsers/albums.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def get_toplevel(self):
keys = self.api.get_sorted_unique_album_attributes(self.field)
return [
models.Ref.directory(
name=key, uri=assemble_uri(self.ref.uri, id_value=key)
name=str(key), uri=assemble_uri(self.ref.uri, id_value=key)
)
for key in keys
]
Expand Down

0 comments on commit 0df7756

Please sign in to comment.