-
January 6th, 2022, 00:00 #751
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,566
It allows you to still run from any URL that is not file:// or data://.
Regards,
JPG
-
January 6th, 2022, 00:46 #752
Anyone tried setting up a local ftp- or webserver and using that?
Should work, though a bit more setup.GitHub
Ruleset: FFd20
Extensions: Advanced Charsheet - Attack Modifiers - Big Portraits - Enhanced Skills - Legacy Items - Spell Action Info - Spell Record Actions - Tooltips
-
January 6th, 2022, 01:46 #753
-
January 6th, 2022, 01:59 #754
- Join Date
- May 2016
- Posts
- 522
This may help as well. There is no restriction on custom handlers.
https://stackoverflow.com/questions/...col-in-windows
Jason
-
January 6th, 2022, 02:34 #755
There is a way to trigger VLC to playback, even with the new URL limitations. Its not a particularly good solution however, as it will open a browser tab for each sound played. The functionality is already built into VLC, it just takes some understanding on how to set it up.
VLC documentation on the feature
https://wiki.videolan.org/Documentat....0.0_and_later
https://wiki.videolan.org/Control_VLC_via_a_browser/
https://wiki.videolan.org/VLC_HTTP_requests/
VLC has a browser interface built into it but it is turned off by default. You can turn it on by going to Preferences, select All to show all settings. and look for Interface->Main interfaces. Enable web. then click on Lua and put something in the password field. it doesnt matter what you use for the password, but it has to be set. once you do that, restart VLC.
After restarting vlc, you should be able to access the web interface using the default url https://127.0.0.1:8080 you will be prompted for the password you selected. leave the username blank.
you wont be using the web interface, but at least you will know its working. It looks something like this on my browser.
To actually playback a sound, you need to create a playlist in VLC. You will want to use the same playlist each time so create one and add/remove files from the playlist as needed. The URL to being playing a sound looks like:
Code:https://127.0.0.1:8080/requests/status.xml?command=pl_play&id=3
If you have trouble finding the correct id, you can use this URL
Code:https://127.0.0.1:8080/requests/playlist.xml
So with the IDs you can use the URL above to trigger playback of the files and add them to audiooverseer. I tested it and was successful in triggering playback, but as I said above, it will create a new browser window each time.Last edited by mattekure; January 6th, 2022 at 02:39.
For support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/rob2e
-
January 6th, 2022, 16:55 #756
- Join Date
- Feb 2016
- Posts
- 576
You can circumvent the new tab issue (partially) via about:config in firefox, type in browser.link and set the external window option to 1. This will stop new tabs from opening but it won't stop the browser from opening/taking focus.
Having a play around imo the best option is to create playlist files (I used mediaplayerclassic) and then manually enter the file as a content type that always opens without prompt (I did this in firefox). Using a playlist results in instantaneous results and allows you to easy set up shuffled lists when necessary while not forcing you to disable html5 playback in the browser.
I recommend using loudness normalisation in whatever media player you use.
As it does kick up the browser even if it doesn't open a new tab, I recommend putting the browser window on a secondary screen and or making it smaller and setting it behind where your media player will be playing.
As for webservers, the easiest route is probably something like node.js for most folks. Especially if they want to have a server that changes root folders between games and don't want it to be constantly running.Last edited by lostsanityreturned; January 6th, 2022 at 17:18.
-
January 6th, 2022, 17:07 #757
After some thought, googling and tinkering, I have found a solution that seems to work. It allows you to playback local files using VLC without creating tabs in the browser. To do this, it requires that you set up a protocol handler, and then make sure you format your path correctly.
For the Protocol Handler, I found this on github. https://github.com/stefansundin/vlc-protocol
I did my testing on windows using the supplied bat files. download the 3 bat files and copy them to the vlc install directory. on my machine with 64bit vlc, it was installed to C:\Program Files\VideoLAN\VLC if you install the 32bit version it may be different.
run the vlc-protocol-register.bat file as administrator to register the protocol handler. when you do this, it will send all calls with vlc:// to be handled by the vlc-protocol.bat file. that file just opens vlc to playback the file.
The second key part is to format your file paths correctly.
the link should looks something like this:
Code:vlc://file:///C:/Users/John/Downloads/Sound%20Effects/Halloween_Sounds_Pack_2/6_Eerie_Flutes/Data/Eerie%20Flutes.mp3
next add file:///
make sure that all \ are converted to /
convert any spaces " " to "%20"
if you leave any spaces in it, FG will refuse to run it.For support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/rob2e
-
January 6th, 2022, 19:54 #758
-
January 6th, 2022, 20:31 #759
- Join Date
- Aug 2012
- Posts
- 51
-
January 7th, 2022, 16:52 #760
Based on some suggestions from Arnagus I've put together multi-line Trigger support. If you'd like to try out this version you can try it out switching to the Test channel in FGU. Let me know if it works for you or if you find any problems. Based on feedback I'll determine when to turn the out to the Live channel.
My local testing seemed to show it working as expected.
AO will now (on all triggers) be able to match across lines of chat text, not just single lines.
Notes:
- Triggers should generally assume that the matches will be in close proximity in chat lines.
- Once a trigger is fired, the previous match tracking will be reset.
- It will not cross match multiple triggers because of the previous note.
- Repeat matches within a trigger will reset tracking of a trigger.
- Single line matching still works.
A sample chat output:
Code:[Bob] Swings with a Longsword at Orc [Bob] Hits Orc [Bob] Does 25 damage to Orc [Bob] Slays Orc!
- Longsword
- Hit
- Slays
And when all 3 of those are found in near proximity it will trigger the configured sound.
I'd like to thank Arnagus for giving me a working idea for this. Sometimes my brain doesn't see all possible optionsLast edited by celestian; January 7th, 2022 at 18:50.
---
Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
Documentation for AD&D 2E ruleset.
Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.
Thread Information
Users Browsing this Thread
There are currently 4 users browsing this thread. (0 members and 4 guests)
Bookmarks