frondeus / fvtt-syrin-control

Syrinscape Online Control plugin for FoundryVTT
MIT License
13 stars 4 forks source link

Syrincontrol playlists no longer produce sound #91

Closed notrealdan closed 1 year ago

notrealdan commented 1 year ago

Describe the bug

Moods no longer play from the Playlists sidebar. This worked in 0.4.0 stable, but broke for me when I updated from that to 0.4.2. Moods can still be played manually from the Syrinscape Online Player web site and be heard through the Foundry browser tab (Syrinscape tab muted), but they cannot be triggered from inside Foundry anymore. Soundset Elements DO still work normally within Foundry, however. There's no change observed when maxing-out volume sliders.

To Reproduce

  1. Import a Syrinscape Soundset like normal.
  2. From the Playlists sidebar, open that Soundset's playlist.
  3. Choose a mood and click the Play button. Silence.
  4. Open the Syrinscape Online Player in another browser tab. Mute this tab to avoid confusion.
  5. Play any mood. The mood sound comes through the Foundry tab like normal, confirming there's no issue with volume levels, speakers, etc. and that Syrincontrol is able to produce sound properly.
  6. Stop the mood in the Online Player.
  7. Back in Foundry, trigger a mood again like in Step 3. Notice that the Online Player doesn't change. To me, that seems to indicate that the command to play isn't reaching Syrinscape at all.

Expected behavior

Sound should be heard in step 3, but there is none.

Screenshots

Foundry thinks it's playing the mood, but no sound is produced: image

Details

Logs

Executing DR script (add)...
VM17023:2 Executing DR script (add)...
VM17022:36 Added DR style using observer.
commons.js:12582 Foundry VTT | Foundry Commons Framework Loaded
foundry.js:610 Foundry VTT | Registered callback for init hook
foundry.js:610 Foundry VTT | Registered callback for init hook
foundry.js:610 Foundry VTT | Registered callback for babele.ready hook
foundry.js:610 Foundry VTT | Registered callback for canvasInit hook
foundry.js:610 Foundry VTT | Registered callback for canvasReady hook
foundry.js:610 Foundry VTT | Registered callback for canvasReady hook
foundry.js:610 Foundry VTT | Registered callback for closeCombatTrackerConfig hook
foundry.js:610 Foundry VTT | Registered callback for closeWorldClockSettings hook
foundry.js:610 Foundry VTT | Registered callback for diceSoNiceReady hook
foundry.js:610 Foundry VTT | Registered callback for dropCanvasData hook
foundry.js:610 Foundry VTT | Registered callback for getSceneControlButtons hook
foundry.js:610 Foundry VTT | Registered callback for init hook
foundry.js:610 Foundry VTT | Registered callback for lightingRefresh hook
foundry.js:610 Foundry VTT | Registered callback for ready hook
foundry.js:610 Foundry VTT | Registered callback for renderCombatTrackerConfig hook
foundry.js:610 Foundry VTT | Registered callback for renderDialog hook
foundry.js:610 Foundry VTT | Registered callback for renderJournalPageSheet hook
foundry.js:610 Foundry VTT | Registered callback for renderJournalTextPageSheet hook
foundry.js:610 Foundry VTT | Registered callback for renderSettings hook
foundry.js:610 Foundry VTT | Registered callback for renderTokenHUD hook
foundry.js:610 Foundry VTT | Registered callback for setup hook
foundry.js:610 Foundry VTT | Registered callback for targetToken hook
foundry.js:610 Foundry VTT | Registered callback for updateWorldTime hook
foundry.js:610 Foundry VTT | Registered callback for socketlib.ready hook
foundry.js:610 Foundry VTT | Registered callback for init hook
foundry.js:79678 _______________________________________________________________
 _____ ___  _   _ _   _ ____  ______   __ __     _______ _____ 
|  ___/ _ \| | | | \ | |  _ \|  _ \ \ / / \ \   / |_   _|_   _|
| |_ | | | | | | |  \| | | | | |_) \ V /   \ \ / /  | |   | |  
|  _|| |_| | |_| | |\  | |_| |  _ < | |     \ V /   | |   | |  
|_|   \___/ \___/|_| \_|____/|_| \_\|_|      \_/    |_|   |_|  
===============================================================
foundry.js:79688 Foundry VTT | Reestablishing existing session 3967a780e39b9eb9bb5ba9c1
VM17059:2 Executing DR script (add)...
foundry.js:7711 Foundry VTT | Connected to server socket using session 3967a780e39b9eb9bb5ba9c1
foundry.js:610 Foundry VTT | Registered callback for renderChatMessage hook
foundry.js:7807 Foundry VTT | Initializing Foundry Virtual Tabletop Game
2foundry.js:661 Foundry VTT | Unregistered callback for init hook
foundry.js:661 Foundry VTT | Unregistered callback for socketlib.ready hook
foundry.js:661 Foundry VTT | Unregistered callback for init hook
main.bundle.js:19 PF2e System | Initializing Pathfinder 2nd Edition System
foundry.js:661 Foundry VTT | Unregistered callback for init hook
main.ts:22 SyrinControl | Initializing...
foundry.js:610 Foundry VTT | Registered callback for ready hook
foundry.js:610 Foundry VTT | Registered callback for ready hook
foundry.js:610 Foundry VTT | Registered callback for ready hook
foundry.js:610 Foundry VTT | Registered callback for ready hook
foundry.js:610 Foundry VTT | Registered callback for ready hook
foundry.js:610 Foundry VTT | Registered callback for renderPlaylistDirectory hook
foundry.js:610 Foundry VTT | Registered callback for getSceneControlButtons hook
foundry.js:610 Foundry VTT | Registered callback for fvtt-syrin-controlmoodChange hook
foundry.js:610 Foundry VTT | Registered callback for renderSettingsConfig hook
foundry.js:610 Foundry VTT | Registered callback for renderPlaylistConfig hook
foundry.js:610 Foundry VTT | Registered callback for renderPlaylistSoundConfig hook
foundry.js:610 Foundry VTT | Registered callback for renderAmbientSoundConfig hook
foundry.js:610 Foundry VTT | Registered callback for closeSettingsConfig hook
foundry.js:610 Foundry VTT | Registered callback for ready hook
foundry.js:3133 Foundry VTT | Synchronized official game time in 15ms
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/chat/check/strike/attack-roll.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/chat/check/target-dc-result.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/chat/damage/damage-taken.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/dice/damage-roll.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/dice/damage-tooltip.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/partials/modifiers-tooltip.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/partials/traits.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/partials/background.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/partials/abilities.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/partials/header.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/partials/granted-feat.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/sidebar/armor-class.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/sidebar/class-dc.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/sidebar/health.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/sidebar/initiative.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/sidebar/iwr.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/sidebar/perception.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/sidebar/saves.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/sidebar/stamina.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/tabs/general.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/tabs/actions.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/tabs/biography.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/tabs/effects.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/tabs/feats.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/tabs/inventory.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/tabs/pfs.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/tabs/proficiencies.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/tabs/spellcasting.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/tabs/crafting.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/hazard/partials/header.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/hazard/partials/sidebar.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/partials/coinage.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/partials/inventory.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/partials/item-line.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/partials/carry-type.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/partials/conditions.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/partials/dying-pips.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/crafting-entry-alchemical.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/crafting-entry-list.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/spellcasting-spell-list.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/partials/proficiencylevels-dropdown.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/icons/d20.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/icons/pfs.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/character/icons/plus.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/partials/images/header_stroke.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/partials/images/header_stroke_large.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/npc/tabs/main.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/npc/tabs/inventory.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/npc/tabs/effects.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/npc/tabs/spells.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/npc/tabs/notes.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/npc/partials/header.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/npc/partials/sidebar.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/npc/partials/action.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/npc/partials/attack.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/rules-panel.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/action-details.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/affliction-details.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/affliction-sidebar.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/ancestry-details.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/ancestry-sidebar.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/armor-details.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/armor-sidebar.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/background-details.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/backpack-details.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/backpack-sidebar.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/book-details.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/book-sidebar.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/treasure-sidebar.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/class-details.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/consumable-details.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/consumable-sidebar.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/condition-details.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/condition-sidebar.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/deity-details.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/effect-sidebar.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/equipment-details.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/equipment-sidebar.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/feat-details.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/feat-sidebar.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/heritage-sidebar.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/kit-details.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/kit-sidebar.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/lore-details.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/lore-sidebar.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/mystify-panel.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/spell-details.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/spell-overlay.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/spell-sidebar.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/melee-details.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/weapon-details.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/weapon-sidebar.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/activation-panel.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/partials/ability-activation.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/items/partials/duration.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/loot/inventory.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/loot/sidebar.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/vehicle/vehicle-header.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/vehicle/sidebar/vehicle-health.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/vehicle/sidebar/vehicle-armorclass.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/vehicle/sidebar/vehicle-saves.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/vehicle/sidebar/iwr.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/vehicle/tabs/vehicle-details.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/vehicle/tabs/vehicle-actions.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/vehicle/tabs/vehicle-inventory.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/vehicle/tabs/vehicle-description.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/actors/vehicle/tabs/vehicle-effects.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/compendium-browser/browser-settings.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/compendium-browser/filters.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/chat/action/header.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/system/actions/repair/chat-button-partial.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/system/actions/repair/repair-result-partial.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/system/actions/repair/item-heading-partial.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/scene/token/partials/appearance.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/scene/token/partials/identity.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/scene/token/partials/lighting.hbs
foundry.js:6771 Foundry VTT | Loaded localization file lang/en.json
foundry.js:6771 Foundry VTT | Loaded localization file systems/pf2e/lang/en.json
foundry.js:6771 Foundry VTT | Loaded localization file systems/pf2e/lang/action-en.json
foundry.js:6771 Foundry VTT | Loaded localization file systems/pf2e/lang/re-en.json
foundry.js:6771 Foundry VTT | Loaded localization file modules/fvtt-syrin-control/languages/en.json
foundry.js:661 Foundry VTT | Unregistered callback for setup hook
foundry.js:8013 Foundry VTT | Prepared World Documents in 1ms
main.bundle.js:1 PF2e System | compiling search index
main.bundle.js:1 PF2e System | Finished compiling search index
foundry.js:5099 Foundry VTT | Rendering SceneNavigation
foundry.js:5099 Foundry VTT | Rendering Notifications
foundry.js:5099 Foundry VTT | Rendering Sidebar
foundry.js:5099 Foundry VTT | Rendering PlayerList
foundry.js:5099 Foundry VTT | Rendering HotbarPF2e
foundry.js:5099 Foundry VTT | Rendering Pause
foundry.js:5099 Foundry VTT | Rendering SceneControls
VM17079:2 Executing DR script (add)...
VM17080:2 Executing DR script (add)...
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/hud/navigation.html
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/sidebar/sidebar.html
foundry.js:5099 Foundry VTT | Rendering ActorDirectoryPF2e
foundry.js:5099 Foundry VTT | Rendering CardsDirectory
foundry.js:5099 Foundry VTT | Rendering ChatLogPF2e
foundry.js:5099 Foundry VTT | Rendering EncounterTrackerPF2e
foundry.js:5099 Foundry VTT | Rendering CompendiumDirectoryPF2e
foundry.js:5099 Foundry VTT | Rendering ItemDirectoryPF2e
foundry.js:5099 Foundry VTT | Rendering JournalDirectory
foundry.js:5099 Foundry VTT | Rendering PlaylistDirectory
foundry.js:5099 Foundry VTT | Rendering SceneDirectory
foundry.js:5099 Foundry VTT | Rendering Settings
foundry.js:5099 Foundry VTT | Rendering RollTableDirectory
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/user/players.html
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/hud/hotbar.html
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/hud/pause.html
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/hud/controls.html
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/sidebar/document-partial.html
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/sidebar/folder-partial.html
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/sidebar/chat-log.html
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/sidebar/combat-tracker.html
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/sidebar/document-partial.html
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/sidebar/folder-partial.html
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/sidebar/scene-partial.html
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/sidebar/folder-partial.html
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/sidebar/settings.html
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/sidebar/document-partial.html
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/sidebar/folder-partial.html
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/sidebar/actor-document-partial.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/sidebar/folder-partial.html
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/sidebar/compendium-directory.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template systems/pf2e/templates/sidebar/item-document-partial.hbs
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/sidebar/folder-partial.html
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/sidebar/playlist-partial.html
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/sidebar/folder-partial.html
6foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/sidebar/document-directory.html
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/sidebar/playlists-directory.html
foundry.js:63231 Foundry VTT | Fonts loaded and ready.
utils.min.mjs:8 
    PixiJS 6.5.2 - ✰ WebGL 2 ✰      http://www.pixijs.com/    ♥♥♥ 
foundry.js:23757 Foundry VTT | Skipping game canvas - no active scene.
foundry.js:661 Foundry VTT | Unregistered callback for ready hook
main.bundle.js:19 PF2e System | Starting Pathfinder 2nd Edition System
main.bundle.js:19 PF2e System | Build mode: production
foundry.js:661 Foundry VTT | Unregistered callback for ready hook
stores.ts:388 SyrinControl | Refreshing {name: 'elements', loaded: Array(0)}
refresh @ stores.ts:388
(anonymous) @ stores.ts:401
#call @ foundry.js:724
callAll @ foundry.js:681
setupGame @ foundry.js:7952
await in setupGame (async)
_initializeGameView @ foundry.js:8999
_initializeView @ foundry.js:8975
initialize @ foundry.js:7825
await in initialize (async)
window.addEventListener.once @ foundry.js:79693
foundry.js:661 Foundry VTT | Unregistered callback for ready hook
stores.ts:388 SyrinControl | Refreshing {name: 'soundsets', loaded: {…}}
refresh @ stores.ts:388
(anonymous) @ stores.ts:401
#call @ foundry.js:724
callAll @ foundry.js:681
setupGame @ foundry.js:7952
await in setupGame (async)
_initializeGameView @ foundry.js:8999
_initializeView @ foundry.js:8975
initialize @ foundry.js:7825
await in initialize (async)
window.addEventListener.once @ foundry.js:79693
foundry.js:661 Foundry VTT | Unregistered callback for ready hook
stores.ts:388 SyrinControl | Refreshing {name: 'playerVolume', loaded: 100}
refresh @ stores.ts:388
(anonymous) @ stores.ts:401
#call @ foundry.js:724
callAll @ foundry.js:681
setupGame @ foundry.js:7952
await in setupGame (async)
_initializeGameView @ foundry.js:8999
_initializeView @ foundry.js:8975
initialize @ foundry.js:7825
await in initialize (async)
window.addEventListener.once @ foundry.js:79693
foundry.js:661 Foundry VTT | Unregistered callback for ready hook
stores.ts:388 SyrinControl | Refreshing {name: 'globalVolume', loaded: 50}
refresh @ stores.ts:388
(anonymous) @ stores.ts:401
#call @ foundry.js:724
callAll @ foundry.js:681
setupGame @ foundry.js:7952
await in setupGame (async)
_initializeGameView @ foundry.js:8999
_initializeView @ foundry.js:8975
initialize @ foundry.js:7825
await in initialize (async)
window.addEventListener.once @ foundry.js:79693
foundry.js:661 Foundry VTT | Unregistered callback for ready hook
stores.ts:388 SyrinControl | Refreshing {name: 'oneshotsVolume', loaded: 50}
refresh @ stores.ts:388
(anonymous) @ stores.ts:401
#call @ foundry.js:724
callAll @ foundry.js:681
setupGame @ foundry.js:7952
await in setupGame (async)
_initializeGameView @ foundry.js:8999
_initializeView @ foundry.js:8975
initialize @ foundry.js:7825
await in initialize (async)
window.addEventListener.once @ foundry.js:79693
foundry.js:661 Foundry VTT | Unregistered callback for ready hook
foundry.js:280 Foundry VTT | Document indexing complete in 78ms.
utils.ts:28 SyrinControl | SocketLib registered | GM
trace @ utils.ts:28
(anonymous) @ socket.ts:50
setInterval (async)
(anonymous) @ socket.ts:22
setupSocket @ socket.ts:21
(anonymous) @ main.ts:121
#call @ foundry.js:724
callAll @ foundry.js:681
setupGame @ foundry.js:7952
await in setupGame (async)
_initializeGameView @ foundry.js:8999
_initializeView @ foundry.js:8975
initialize @ foundry.js:7825
await in initialize (async)
window.addEventListener.once @ foundry.js:79693
utils.ts:28 SyrinControl | Subscribe | next mood:  undefined
trace @ utils.ts:28
(anonymous) @ main.ts:150
(anonymous) @ stores.ts:342
subscribe @ index.mjs:50
subscribe @ stores.ts:335
(anonymous) @ main.ts:149
await in (anonymous) (async)
#call @ foundry.js:724
callAll @ foundry.js:681
setupGame @ foundry.js:7952
await in setupGame (async)
_initializeGameView @ foundry.js:8999
_initializeView @ foundry.js:8975
initialize @ foundry.js:7825
await in initialize (async)
window.addEventListener.once @ foundry.js:79693
utils.ts:35 SyrinControl | Connecting to the session  7f69da8263304dfb8b850b056f79a9e6
utils.ts:35 SyrinControl | Migrating...
utils.ts:35 SyrinControl | Ready...
foundry.js:5099 Foundry VTT | Rendering SvelteDialogImpl
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/hud/dialog.html
foundry.js:6887 Foundry VTT | Retrieved and compiled template templates/app-window.html
utils.ts:28 SyrinControl | expand {hydrated: {…}}
trace @ utils.ts:28
(anonymous) @ Importer.svelte:88
await in (anonymous) (async)
(anonymous) @ Importer.svelte:201
(anonymous) @ index.mjs:1051
(anonymous) @ index.mjs:1050
onSelectSoundset @ Soundset.svelte:77
utils.ts:45 SyrinControl | Context was undefined. Fixing it!
warn @ utils.ts:45
populateContext @ proxies.ts:15
SyrinPlaylist @ proxies.ts:94
construct @ proxies.ts:136
_preCreateDocumentArray @ foundry.js:12525
_createDocuments @ foundry.js:12459
create @ commons.js:6738
await in create (async)
createDocuments @ commons.js:6110
create @ commons.js:6233
createPlaylist @ game.ts:186
onCreatePlaylist @ Importer.svelte:126
utils.ts:45 SyrinControl | Context was undefined. Fixing it!
warn @ utils.ts:45
populateContext @ proxies.ts:15
SyrinPlaylist @ proxies.ts:94
construct @ proxies.ts:136
(anonymous) @ foundry.js:12617
_postCreateDocumentCallbacks @ foundry.js:12616
_handleCreateDocuments @ foundry.js:12561
_createDocuments @ foundry.js:12468
await in _createDocuments (async)
create @ commons.js:6738
await in create (async)
createDocuments @ commons.js:6110
create @ commons.js:6233
createPlaylist @ game.ts:186
onCreatePlaylist @ Importer.svelte:126
commons.js:6946 Foundry VTT | Created Playlist with id [f1bYszXvygllLmDA]
utils.ts:45 SyrinControl | Context was undefined. Fixing it!
warn @ utils.ts:45
populateContext @ proxies.ts:15
SyrinPlaylistSound @ proxies.ts:59
construct @ proxies.ts:136
_preCreateDocumentArray @ foundry.js:12525
_createEmbeddedDocuments @ foundry.js:12488
create @ commons.js:6737
await in create (async)
createDocuments @ commons.js:6110
create @ commons.js:6233
createPlaylistMoodSound @ game.ts:229
onCreatePlaylist @ Importer.svelte:130
utils.ts:28 SyrinControl | Item {item: li.directory-item.document.playlist.flexrow.collapsed, playlist: SyrinPlaylist}
trace @ utils.ts:28
onPlaylistTab @ playlist.ts:51
(anonymous) @ main.ts:62
#call @ foundry.js:724
callAll @ foundry.js:681
_render @ foundry.js:5153
await in _render (async)
_render @ foundry.js:60343
_render @ foundry.js:60693
render @ foundry.js:5067
render @ foundry.js:13987
_onCreateDocuments @ foundry.js:14042
_handleCreateDocuments @ foundry.js:12565
_createDocuments @ foundry.js:12468
await in _createDocuments (async)
create @ commons.js:6738
await in create (async)
createDocuments @ commons.js:6110
create @ commons.js:6233
createPlaylist @ game.ts:186
onCreatePlaylist @ Importer.svelte:126
utils.ts:45 SyrinControl | Context was undefined. Fixing it!
warn @ utils.ts:45
populateContext @ proxies.ts:15
SyrinPlaylistSound @ proxies.ts:59
construct @ proxies.ts:136
(anonymous) @ foundry.js:12617
_postCreateDocumentCallbacks @ foundry.js:12616
_handleCreateEmbeddedDocuments @ foundry.js:12592
_createEmbeddedDocuments @ foundry.js:12499
await in _createEmbeddedDocuments (async)
create @ commons.js:6737
await in create (async)
createDocuments @ commons.js:6110
create @ commons.js:6233
createPlaylistMoodSound @ game.ts:229
onCreatePlaylist @ Importer.svelte:130
commons.js:6946 Foundry VTT | Created PlaylistSound with id [4CkmxvMuj7BBmMx4] in parent Playlist [f1bYszXvygllLmDA]
utils.ts:45 SyrinControl | Context was undefined. Fixing it!
warn @ utils.ts:45
populateContext @ proxies.ts:15
SyrinPlaylistSound @ proxies.ts:59
construct @ proxies.ts:136
_preCreateDocumentArray @ foundry.js:12525
_createEmbeddedDocuments @ foundry.js:12488
create @ commons.js:6737
await in create (async)
createDocuments @ commons.js:6110
create @ commons.js:6233
createPlaylistMoodSound @ game.ts:229
onCreatePlaylist @ Importer.svelte:130
utils.ts:28 SyrinControl | Item {item: li.directory-item.document.playlist.flexrow.collapsed, playlist: SyrinPlaylist}
trace @ utils.ts:28
onPlaylistTab @ playlist.ts:51
(anonymous) @ main.ts:62
#call @ foundry.js:724
callAll @ foundry.js:681
_render @ foundry.js:5153
await in _render (async)
_render @ foundry.js:60343
_render @ foundry.js:60693
render @ foundry.js:5067
render @ foundry.js:13987
_onCreateEmbeddedDocuments @ foundry.js:20712
_handleCreateEmbeddedDocuments @ foundry.js:12597
_createEmbeddedDocuments @ foundry.js:12499
await in _createEmbeddedDocuments (async)
create @ commons.js:6737
await in create (async)
createDocuments @ commons.js:6110
create @ commons.js:6233
createPlaylistMoodSound @ game.ts:229
onCreatePlaylist @ Importer.svelte:130
utils.ts:45 SyrinControl | Context was undefined. Fixing it!
warn @ utils.ts:45
populateContext @ proxies.ts:15
SyrinPlaylistSound @ proxies.ts:59
construct @ proxies.ts:136
(anonymous) @ foundry.js:12617
_postCreateDocumentCallbacks @ foundry.js:12616
_handleCreateEmbeddedDocuments @ foundry.js:12592
_createEmbeddedDocuments @ foundry.js:12499
await in _createEmbeddedDocuments (async)
create @ commons.js:6737
await in create (async)
createDocuments @ commons.js:6110
create @ commons.js:6233
createPlaylistMoodSound @ game.ts:229
onCreatePlaylist @ Importer.svelte:130
commons.js:6946 Foundry VTT | Created PlaylistSound with id [2A7dmMNgUhiZs4Hz] in parent Playlist [f1bYszXvygllLmDA]
utils.ts:45 SyrinControl | Context was undefined. Fixing it!
warn @ utils.ts:45
populateContext @ proxies.ts:15
SyrinPlaylistSound @ proxies.ts:59
construct @ proxies.ts:136
_preCreateDocumentArray @ foundry.js:12525
_createEmbeddedDocuments @ foundry.js:12488
create @ commons.js:6737
await in create (async)
createDocuments @ commons.js:6110
create @ commons.js:6233
createPlaylistMoodSound @ game.ts:229
onCreatePlaylist @ Importer.svelte:130
utils.ts:28 SyrinControl | Item {item: li.directory-item.document.playlist.flexrow.collapsed, playlist: SyrinPlaylist}
trace @ utils.ts:28
onPlaylistTab @ playlist.ts:51
(anonymous) @ main.ts:62
#call @ foundry.js:724
callAll @ foundry.js:681
_render @ foundry.js:5153
await in _render (async)
_render @ foundry.js:60343
_render @ foundry.js:60693
render @ foundry.js:5067
render @ foundry.js:13987
_onCreateEmbeddedDocuments @ foundry.js:20712
_handleCreateEmbeddedDocuments @ foundry.js:12597
_createEmbeddedDocuments @ foundry.js:12499
await in _createEmbeddedDocuments (async)
create @ commons.js:6737
await in create (async)
createDocuments @ commons.js:6110
create @ commons.js:6233
createPlaylistMoodSound @ game.ts:229
onCreatePlaylist @ Importer.svelte:130
utils.ts:45 SyrinControl | Context was undefined. Fixing it!
warn @ utils.ts:45
populateContext @ proxies.ts:15
SyrinPlaylistSound @ proxies.ts:59
construct @ proxies.ts:136
(anonymous) @ foundry.js:12617
_postCreateDocumentCallbacks @ foundry.js:12616
_handleCreateEmbeddedDocuments @ foundry.js:12592
_createEmbeddedDocuments @ foundry.js:12499
await in _createEmbeddedDocuments (async)
create @ commons.js:6737
await in create (async)
createDocuments @ commons.js:6110
create @ commons.js:6233
createPlaylistMoodSound @ game.ts:229
onCreatePlaylist @ Importer.svelte:130
commons.js:6946 Foundry VTT | Created PlaylistSound with id [OW6a9K7w6j9ZoH1E] in parent Playlist [f1bYszXvygllLmDA]
utils.ts:45 SyrinControl | Context was undefined. Fixing it!
warn @ utils.ts:45
populateContext @ proxies.ts:15
SyrinPlaylistSound @ proxies.ts:59
construct @ proxies.ts:136
_preCreateDocumentArray @ foundry.js:12525
_createEmbeddedDocuments @ foundry.js:12488
create @ commons.js:6737
await in create (async)
createDocuments @ commons.js:6110
create @ commons.js:6233
createPlaylistMoodSound @ game.ts:229
onCreatePlaylist @ Importer.svelte:130
utils.ts:28 SyrinControl | Item {item: li.directory-item.document.playlist.flexrow.collapsed, playlist: SyrinPlaylist}
trace @ utils.ts:28
onPlaylistTab @ playlist.ts:51
(anonymous) @ main.ts:62
#call @ foundry.js:724
callAll @ foundry.js:681
_render @ foundry.js:5153
await in _render (async)
_render @ foundry.js:60343
_render @ foundry.js:60693
render @ foundry.js:5067
render @ foundry.js:13987
_onCreateEmbeddedDocuments @ foundry.js:20712
_handleCreateEmbeddedDocuments @ foundry.js:12597
_createEmbeddedDocuments @ foundry.js:12499
await in _createEmbeddedDocuments (async)
create @ commons.js:6737
await in create (async)
createDocuments @ commons.js:6110
create @ commons.js:6233
createPlaylistMoodSound @ game.ts:229
onCreatePlaylist @ Importer.svelte:130
utils.ts:45 SyrinControl | Context was undefined. Fixing it!
warn @ utils.ts:45
populateContext @ proxies.ts:15
SyrinPlaylistSound @ proxies.ts:59
construct @ proxies.ts:136
(anonymous) @ foundry.js:12617
_postCreateDocumentCallbacks @ foundry.js:12616
_handleCreateEmbeddedDocuments @ foundry.js:12592
_createEmbeddedDocuments @ foundry.js:12499
await in _createEmbeddedDocuments (async)
create @ commons.js:6737
await in create (async)
createDocuments @ commons.js:6110
create @ commons.js:6233
createPlaylistMoodSound @ game.ts:229
onCreatePlaylist @ Importer.svelte:130
commons.js:6946 Foundry VTT | Created PlaylistSound with id [feXpN0ftD27UBCZo] in parent Playlist [f1bYszXvygllLmDA]
foundry.js:59187 SyrinControl | Created playlist "Brindol Town"
utils.ts:28 SyrinControl | Item {item: li.directory-item.document.playlist.flexrow.collapsed, playlist: SyrinPlaylist}
trace @ utils.ts:28
onPlaylistTab @ playlist.ts:51
(anonymous) @ main.ts:62
#call @ foundry.js:724
callAll @ foundry.js:681
_render @ foundry.js:5153
await in _render (async)
_render @ foundry.js:60343
_render @ foundry.js:60693
render @ foundry.js:5067
render @ foundry.js:13987
_onCreateEmbeddedDocuments @ foundry.js:20712
_handleCreateEmbeddedDocuments @ foundry.js:12597
_createEmbeddedDocuments @ foundry.js:12499
await in _createEmbeddedDocuments (async)
create @ commons.js:6737
await in create (async)
createDocuments @ commons.js:6110
create @ commons.js:6233
createPlaylistMoodSound @ game.ts:229
onCreatePlaylist @ Importer.svelte:130
utils.ts:28 SyrinControl | Item {item: li.directory-item.document.playlist.flexrow.playing, playlist: SyrinPlaylist}
trace @ utils.ts:28
onPlaylistTab @ playlist.ts:51
(anonymous) @ main.ts:62
#call @ foundry.js:724
callAll @ foundry.js:681
_render @ foundry.js:5153
await in _render (async)
_render @ foundry.js:60343
_render @ foundry.js:60693
render @ foundry.js:5067
render @ foundry.js:13987
_onUpdateDocuments @ foundry.js:14067
_handleUpdateDocuments @ foundry.js:12769
_updateDocuments @ foundry.js:12639
await in _updateDocuments (async)
update @ commons.js:6796
await in update (async)
updateDocuments @ commons.js:6153
update @ commons.js:6250
playSound @ foundry.js:20571
_onSoundPlay @ foundry.js:76180
(anonymous) @ foundry.js:76021
dispatch @ jquery.min.js:2
y.handle @ jquery.min.js:2

Additional context

n/a

frondeus commented 1 year ago

Yep, I can confirm. Does not work. What's interesting - it is working from the search dialog. So only the integration between the foundry's playlist and my code needs to be fixed. Of course, this is one of the rare cases where I cannot make a unit test on it since its well... integrated with 3rd party 🙈

Fortunately fix was simple, and now tested manually it should work: https://github.com/frondeus/fvtt-syrin-control/commit/882465f0e6f2c083cbf27b4ea067310812eda969

I will release it ASAP.

frondeus commented 1 year ago

Released https://github.com/frondeus/fvtt-syrin-control/releases/tag/0.4.3 Please close if it works for you.