Replies: 5 comments 3 replies
-
Hi.
Nice use case.
You can try group.seek and move to any position in your track.
See
https://github.com/hklages/node-red-contrib-sonos-plus/wiki/A.1-Universal-Node#groupseek
Best regards Henning
…On Sat, Jul 13, 2024, 21:12 fdecourt ***@***.***> wrote:
Hi,
One of my use of the plugin is to fake presence when I am not at home.
I have a 12 minutes MP3, simulating life at home (people eating, walking,
playing music, chatting....)
It is working well, but I would like to randomly start the sounds at
different moment of my file (starting at 93 seconds for example and not
from the begining of the file). Generating random numbers are easy, but how
to inject it to the node ?
Thanks,
regards,
F.
—
Reply to this email directly, view it on GitHub
<#303>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEDZCH6FP7CX2SXCBVHSHTDZMF3ZJAVCNFSM6AAAAABK2QAFWGVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWHEZTAMRWGE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi, My local MP3 is hosted on my nas, so I am using group.play.streamhttp. When I check group.get.actions, it shows only set, stop, play. Thanks Regards |
Beta Was this translation helpful? Give feedback.
-
Right - a stream can not be repositioned. You have to clear the SONOS Queue, add the mp3 to the SONOS Queue and then you should be able to use group.seek |
Beta Was this translation helpful? Give feedback.
-
...please put the group play.group before the seek command.
Does that work?
Grüße Henning Klages
…On Fri, Sep 13, 2024, 09:14 fdecourt ***@***.***> wrote:
Hi,
Thanks for your advices.
I am able to manage and play the queue, but group.seek does not work,
without error, just pleying the track from the begining.
With group.get.actions, it shows me that X_DLNA_SeekTime is available
(payload: "Set, Stop, Pause, Play, X_DLNA_SeekTime, X_DLNA_SeekTrackNr")
Is it because I am using group.queue.uri, with the URL of my MP3 (
http://192.XX.XX.XX:XXXX/local/sounds/simu.mp3)?
image.png (view on web)
<https://github.com/user-attachments/assets/d16d7d04-bd97-40cd-8365-5e5804b8fe58>
image.png (view on web)
<https://github.com/user-attachments/assets/e73fc0bb-c4de-47ec-aa90-9febe1fe168d>
Thanks for your help.
Regards
—
Reply to this email directly, view it on GitHub
<#303 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEDZCH6H6RJQLFKDKQ6NL5LZWKNGLAVCNFSM6AAAAABK2QAFWGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANRTGQ4DMNY>
.
You are receiving this because you commented.Message ID:
<hklages/node-red-contrib-sonos-plus/repo-discussions/303/comments/10634867
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
Good to hear. Thanks for the feedback. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I love this plugin, thanks for your work.
One of my use of the plugin is to fake presence when I am not at home.
I have a 12 minutes MP3, simulating life at home (people eating, walking, playing music, chatting....)
It is working well, but I would like to randomly start the sounds at different moment of my file (starting at 93 seconds for example and not from the begining of the file). Generating random numbers are easy, but how to inject it to the node ?
Thanks,
regards,
F.
Beta Was this translation helpful? Give feedback.
All reactions