Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

API Roll20AM Help

After the new update I get no sound using the API. I was using it in a powercard and was told I had to change the format too soundfx|audio,play|track Well i did that and still no sound. I can play the sound from the jukebox so I know that is working. I then tried just from chat !Roll20AM --audio,play|Arrowmiss and no sound. I ran the !Roll20AM config and its blank I can't seem to findout how to access the help card either. !rol20AM --help doen't work. anyone have the older version so I can go back to it. I have spent more then 4 hrs trying to get this to work.
1531591291

Edited 1531593738
vÍnce
Pro
Sheet Author
Craven  said: !rol20AM --help doen't work. Could just be a typo... You're missing an "l" in your example.  Is there a help option?  Can you get to the config menu? !roll20AM --config Not sure if this is related;  but  I think it was mentioned somewhere that you have to "remove all" and re-import jukebox using the config menu.  
1531595379
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
That remove all and re-import is critical. It builds a database of sounds that Roll20 uses to work its magic.
1531599453
Victor B.
Pro
Sheet Author
API Scripter
In game help has been disabled for the moment.&nbsp; Use this version of roll20AM as I have a major fix awaiting commit to Github.&nbsp;&nbsp; <a href="https://gist.github.com/vicberg/6635c77f7f730529ccf83f64819297c0" rel="nofollow">https://gist.github.com/vicberg/6635c77f7f730529ccf83f64819297c0</a> The wiki was updated with new commands.&nbsp; You can use the menus to set volume, playlist or track mode, etc.&nbsp; <a href="https://wiki.roll20.net/Script:Roll20_Audio_Master" rel="nofollow">https://wiki.roll20.net/Script:Roll20_Audio_Master</a>
1531599525
Victor B.
Pro
Sheet Author
API Scripter
And yes, I'll update Wiki to make it clear,&nbsp; YOU MUST remove all and then import Jukebox.&nbsp;&nbsp; And if you have a ton of macros that need updating, you can go back to older version of roll20AM.&nbsp;&nbsp;
Victor B. said: In game help has been disabled for the moment.&nbsp; Use this version of roll20AM as I have a major fix awaiting commit to Github.&nbsp;&nbsp; <a href="https://gist.github.com/vicberg/6635c77f7f730529ccf83f64819297c0" rel="nofollow">https://gist.github.com/vicberg/6635c77f7f730529ccf83f64819297c0</a> The wiki was updated with new commands.&nbsp; You can use the menus to set volume, playlist or track mode, etc.&nbsp; <a href="https://wiki.roll20.net/Script:Roll20_Audio_Master" rel="nofollow">https://wiki.roll20.net/Script:Roll20_Audio_Master</a> &nbsp;I’m assuming you use config to remove all and import . However when I type config I get the box you see above and it’s empty
1531606759
Victor B.
Pro
Sheet Author
API Scripter
!roll20AM --config&nbsp;&nbsp;
1531606862
Victor B.
Pro
Sheet Author
API Scripter
If that's returning an empty box, then I'd suggest inviting me to your game and promoting me to GM so I can see what's going on.&nbsp; I'm running across all sorts of oddities with jukebox and setups.&nbsp; There's probably something unique going on with your setup.&nbsp;&nbsp;
1531611213

Edited 1531611273
when can you take a look? the config is working now&nbsp;
1531611388
Victor B.
Pro
Sheet Author
API Scripter
Well most likely tonight or tomorrow at the latest.&nbsp; Send an invite and I'll figure out what's happening
1531611785

Edited 1531612176
Craven said: when can you take a look? the config is working now&nbsp; Thanks. Got it working but when it plays the sound the config window show up how do i fix that.
1531612203
Victor B.
Pro
Sheet Author
API Scripter
!roll20AM --audio,play,nomenu|&lt;whatever&gt;
1531612967

Edited 1531613076
Victor B. said: !roll20AM --audio,play,nomenu|&lt;whatever&gt; That works my new powercard command is --?? $Atk &lt; @{target||npc_ac} ?? soundfx|_audio,play,nomenu|ArrowMiss I can't thank you enough. Now the task to update some macros. Edit I am current running your 2.10 from git.
1531613193
Victor B.
Pro
Sheet Author
API Scripter
Good and if you have multiple sounds of the same type, create a playlist in Jukebox for them, import into Roll20AM.&nbsp; Set the playlist mode to single.&nbsp; Every time you play the playlist it will cycle through your tracks in that playlist so you can get different sounds related to the same thing
Very cool. Victor B. said: Good and if you have multiple sounds of the same type, create a playlist in Jukebox for them, import into Roll20AM.&nbsp; Set the playlist mode to single.&nbsp; Every time you play the playlist it will cycle through your tracks in that playlist so you can get different sounds related to the same thing