hass-music-assistant icon indicating copy to clipboard operation
hass-music-assistant copied to clipboard

Frontend: Add album to playlist

Open OzGav opened this issue 1 year ago • 2 comments

Discussed in https://github.com/orgs/music-assistant/discussions/1767

Originally posted by maste9 January 6, 2024 When I yet wanted to summarize two albums into one playlist I had to notice that there's no way to that except of choosing one track at a time and add it to playlist.

  • It would be nice, if there was an Add to playlist button in the play button's context menu of an album.

OzGav avatar Jan 06 '24 09:01 OzGav

@jozefKruszynski Just tried this but it didn't work properly. I have my test playlist which had one track in it. I then added an album and it became this:

filesystem_smb://track/The Beatles/1/Disc 1/02. From Me To You - Beatles.flac
filesystem_smb://track/Oasis/(What's the Story) Morning Glory/03. Wonderwall - Oasis.flac
filesystem_smb://track/Oasis/(What's the Story) Morning Glory/10. Morning Glory - Oasis.flac
filesystem_smb://track/Oasis/(What's the Story) Morning Glory/09. She's Electric - Oasis.flacOasis.flac
filesystem_smb://track/Oasis/(What's the Story) Morning Glory/11. [Untitled Track] - Oasis.flac
filesystem_smb://track/Oasis/(What's the Story) Morning Glory/12. Champagne Supernova - Oasis.flac
filesystem_smb://track/Oasis/(What's the Story) Morning Glory/06. [Untitled Track] - Oasis.flac

Tried to create a new playlist with a different album and you can see there is corruption in the file:

filesystem_smb://track/Simon & Garfunkel/20 Greatest Hits/05. The 59th Street Bridge Song - Simon & Garfunkel.flacflac
filesystem_smb://track/Simon & Garfunkel/20 Greatest Hits/07. At The Zoo - Simon & Garfunkel.flac
filesystem_smb://track/Simon & Garfunkel/20 Greatest Hits/20. Song For The Asking - Simon & Garfunkel.flac- Simon & Garfunkel.flac
filesystem_smb://track/Simon & Garfunkel/20 Greatest Hits/10. We've Got A Groovy Thing Goin' - Simon & Garfunkel.flac 

OzGav avatar Feb 16 '24 02:02 OzGav

File provider still has issues with multiple tracks being added to a playlist right. I'll try to look at that one and this today.

jozefKruszynski avatar Feb 16 '24 05:02 jozefKruszynski

@jozefKruszynski any progress on this one?

OzGav avatar Apr 06 '24 14:04 OzGav

this one should be fixed - can you confirm @OzGav ?

marcelveldt avatar Apr 18 '24 08:04 marcelveldt

Yes. There are some other issues with what playlists are available to be added to but the option is there in the menu and it works when a playlist is selected.

OzGav avatar Apr 18 '24 09:04 OzGav