hklages / node-red-contrib-sonos-plus

A set of Node-RED nodes to control SONOS player in your local network.
MIT License
75 stars 14 forks source link

Cannot play music from WD My Cloud Home service #236

Closed Mikee1234K closed 1 year ago

Mikee1234K commented 1 year ago

I use a Western Digital NAS drive to store my music. Unfortunately, the way I had to add my music there to Sonos (after hours on the phone with Sonos support) is as a music service. Thats ok, but that means none of the music is on my music library. I tried the sample flows, and I thought I should be able to just play music by changing some of the sample flows and replace the artist with one stored on my NAS . But it wont find anything. If I add a Album to favorites, I can play it via group.play.sonos. If it is not in favorites, I get this error in teh debug: group.play.mysonos: no title matching search string >>Dire Straits :: Details: none Most (have not tested all) functions work perfectly, like volume control, mute etc

hklages commented 1 year ago

Hi again.

It is much easier if you have it on your SONOS Music Library. Does the following forum post from user P3R https://forum.qnap.com/memberlist.php?mode=viewprofile&u=5117&sid=d19d62051e9386bcfbd3d3c334c04266 help: https://forum.qnap.com/viewtopic.php?t=135689

Otherwise: What kind of "Music Service" is it?

Can you access a mp3 file with group.play.uri? For me that works on my Synology NAS also: x-file-cifs://hhNas/Multimedia/Music/MyMusic/Rihanna/Diamonds/Rihanna%20-%20Diamonds.mp3

where hhNas is my NAS ip address and the rest is the path to the file with some character substituation for blanks etc. (see https://www.freeformatter.com/url-encoder.html#before-output) Not the easiest way.

cheers Henning

On Wed, Dec 21, 2022 at 1:23 PM Mikee1234K @.***> wrote:

I use a Western Digital NAS drive to store my music. Unfortunately, the way I had to add my music there to Sonos (after hours on the phone with Sonos support) is as a music service. Thats ok, but that means none of the music is on my music library. I tried the sample flows, and I thought I should be able to just play music by changing some of the sample flows and replace the artist with one stored on my NAS . But it wont find anything. If I add a Album to favorites, I can play it via group.play.sonos. If it is not in favorites, I get this error in teh debug: group.play.mysonos: no title matching search string >>Dire Straits :: Details: none

— Reply to this email directly, view it on GitHub https://github.com/hklages/node-red-contrib-sonos-plus/issues/236, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEDZCH4I5JWQAPNE4FPNKJ3WOLZERANCNFSM6AAAAAATFSDLDY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Mikee1234K commented 1 year ago

I cannot find group.play.url in the list of commands or in the examples.

Apparently the way to make music available to Sonos (according to Sonos support) is the click add music service. Then my cloud home shows. When you click it, it brings you to the WD cloud home login page, where you log in, then it links that to Sonos. Now under music sources, you can see my cloud home, when you click on it you can see all the music on that drive image

image

image

hklages commented 1 year ago

Sorry group.queue.uri

On Wed, Dec 21, 2022, 20:51 Mikee1234K @.***> wrote:

I cannot find group.play.url in the list of commands or in the examples.

Apparently the way to make music available to Sonos (according to Sonos support) is the click add music service. Then my cloud home shows. When you click it, it brings you to the WD cloud home login page, where you log in, then it links that to Sonos. Now under music sources, you can see my cloud home, when you click on it you can see all the music on that drive [image: image] https://user-images.githubusercontent.com/72687610/208991302-932c635a-6bce-40fc-b2bf-404f76466419.png

[image: image] https://user-images.githubusercontent.com/72687610/208991391-74a06038-b66b-4b6e-bf08-1e476ba1e366.png

— Reply to this email directly, view it on GitHub https://github.com/hklages/node-red-contrib-sonos-plus/issues/236#issuecomment-1362018540, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEDZCHY7DTMYP7BDIGGOJVTWONNV3ANCNFSM6AAAAAATFSDLDY . You are receiving this because you commented.Message ID: @.***>

hklages commented 1 year ago

Ok, that's another option to add the WD music to SONOS.

Unfortunately my package does not support to play album, tracks, playlist directly from this music service. It is only possible for Music Library, Spotify music service and My Favorites.

On Wed, Dec 21, 2022, 20:51 Mikee1234K @.***> wrote:

I cannot find group.play.url in the list of commands or in the examples.

Apparently the way to make music available to Sonos (according to Sonos support) is the click add music service. Then my cloud home shows. When you click it, it brings you to the WD cloud home login page, where you log in, then it links that to Sonos. Now under music sources, you can see my cloud home, when you click on it you can see all the music on that drive [image: image] https://user-images.githubusercontent.com/72687610/208991302-932c635a-6bce-40fc-b2bf-404f76466419.png

[image: image] https://user-images.githubusercontent.com/72687610/208991391-74a06038-b66b-4b6e-bf08-1e476ba1e366.png

— Reply to this email directly, view it on GitHub https://github.com/hklages/node-red-contrib-sonos-plus/issues/236#issuecomment-1362018540, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEDZCHY7DTMYP7BDIGGOJVTWONNV3ANCNFSM6AAAAAATFSDLDY . You are receiving this because you commented.Message ID: @.***>

Mikee1234K commented 1 year ago

Ok, that's another option to add the WD music to SONOS. Unfortunately my package does not support to play album, tracks, playlist directly from this music service. It is only possible for Music Library, Spotify music service and My Favorites. On Wed, Dec 21, 2022, 20:51 Mikee1234K @.> wrote: I cannot find group.play.url in the list of commands or in the examples. Apparently the way to make music available to Sonos (according to Sonos support) is the click add music service. Then my cloud home shows. When you click it, it brings you to the WD cloud home login page, where you log in, then it links that to Sonos. Now under music sources, you can see my cloud home, when you click on it you can see all the music on that drive [image: image] https://user-images.githubusercontent.com/72687610/208991302-932c635a-6bce-40fc-b2bf-404f76466419.png [image: image] https://user-images.githubusercontent.com/72687610/208991391-74a06038-b66b-4b6e-bf08-1e476ba1e366.png — Reply to this email directly, view it on GitHub <#236 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEDZCHY7DTMYP7BDIGGOJVTWONNV3ANCNFSM6AAAAAATFSDLDY . You are receiving this because you commented.Message ID: @.>

I thought that might be the case. I am hoping someone with a WD my cloud home has found a solution to add this to the music library. I tried adding the public section of the drive to the library but that failed. Hence my call to Sonos support... after 2 hours they passed me to a level 2 aganet. In 5 minutes I was able to add the WD as music service. Not ideal, but a start... If I could add my Synology NAS to the music library that would be another solution. But they did not manage to do that

Mikee1234K commented 1 year ago

I just had a brainwave. I had an idea of how to add the Synology. I managed to add my it to Sonos. Now I can shift all my music to the music library. Slowly getting there.... So I'll abandon the WD My Cloud. I dont know why Synology support did not manage that... never mind.

hklages commented 1 year ago

Good to hear! I like the Music Library functionality inside SONOS and have been using it in combination with my Synology NAS for more than a year - and it is support by sonos-plus :-) You can not only select the tracks, album, playlist but alos initate an update.

So I close this issue.