Skip to content

Commit 797b88f

Browse files
authored
Merge pull request #27 from bushvin/feature/tidal
FIX: Tidal playlists not expanding correctly
2 parents afde8b5 + 59eef98 commit 797b88f

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

custom_components/mopidy/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"requirements": [
1010
"mopidyapi>=1.0.0"
1111
],
12-
"version": "1.4.7",
12+
"version": "1.4.8",
1313
"zeroconf": [
1414
{
1515
"type": "_mopidy-http._tcp.local."

custom_components/mopidy/media_player.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,9 @@ def play_media(self, media_type, media_id, **kwargs):
663663
if media_id.partition(":")[0] == "m3u":
664664
media_uris = [t.uri for t in playlist.tracks]
665665
else:
666-
media_uris = [media_id]
666+
media_uris = []
667+
for track in self.client.library.browse(uri=media_id):
668+
media_uris.append(track.uri)
667669
elif media_type == MEDIA_CLASS_DIRECTORY:
668670
media_uris = [ el.uri for el in self.client.library.browse(media_id) ]
669671
else:

mopidy-CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.4.8] - 2023-05-31
8+
9+
### Changed
10+
11+
- Modified the way playlists are handled in the play queue
12+
13+
### Fixed
14+
15+
- FIX Issue #26: Tidal playlists not expanding correctly
16+
717
## [1.4.7] - 2022-09-24
818

919
### Fixed

0 commit comments

Comments
 (0)