No audio from playStream

Discuss macro implementations, ask for macro help (to share your creations, see User Creations, probably either Campaign Frameworks or Drop-in Resources).

Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice

Post Reply
Vortex
Kobold
Posts: 3
Joined: Mon Sep 28, 2020 1:22 am

No audio from playStream

Post by Vortex »

I've been looking at the wiki for both playStream and execFunction and have not been successful in playing any audio on my desktop. The link I'm using works in my browser, here's the macro:

Code: Select all

[H: Mag ="https://dl.dropboxusercontent.com/s/4fuvrqduf6jle2w/16TheMandragora.mp3?dl=0")]
[H: execFunction("playStream",json.append("[]",Mag, 1,0.8),0,"all")]
Now Playing: The Mandragora
I'm using the maptool-bin from the AUR.

User avatar
wolph42
Winter Wolph
Posts: 9999
Joined: Fri Mar 20, 2009 5:40 am
Location: Netherlands
Contact:

Re: No audio from playStream

Post by wolph42 »

just tested this in maptool and it works perfectly! so link is good, code is good. perhaps some settings either in your OS or for mt specifically.

User avatar
aliasmask
RPTools Team
Posts: 9023
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: No audio from playStream

Post by aliasmask »

Maybe change link to "dl=1" for direct download.

Vortex
Kobold
Posts: 3
Joined: Mon Sep 28, 2020 1:22 am

Re: No audio from playStream

Post by Vortex »

Neither of these options have worked. I've enabled Audio Streams in map tools and have tried changing the value to 1 and have not gotten anything.

User avatar
aliasmask
RPTools Team
Posts: 9023
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: No audio from playStream

Post by aliasmask »

Yeah, I opened a new campaign in 1.7.0 and pasted your code in to chat and it ran fine. Of course, can't stop it without another macro or closing MT.

User avatar
wyrmwood_lives
Cave Troll
Posts: 25
Joined: Fri Nov 08, 2019 10:22 pm

Re: No audio from playStream

Post by wyrmwood_lives »

aliasmask wrote:
Thu Jan 28, 2021 7:25 pm
Yeah, I opened a new campaign in 1.7.0 and pasted your code in to chat and it ran fine. Of course, can't stop it without another macro or closing MT.

Code: Select all

{stopSound()}

Post Reply

Return to “Macros”