frondeus / fvtt-syrin-control

Syrinscape Online Control plugin for FoundryVTT
MIT License
15 stars 5 forks source link

Playlist controls do not work #51

Closed eXaminator closed 1 year ago

eXaminator commented 1 year ago

Describe the bug

I just installed the latest 0.4.0-alpha-3 but the playlist feature does not seem to work for me. I can import soundsets, but pressing play does nothing. Foundry shows me that the sound is playing, but I don't get a notice and no sounds play (not in Foundry, and not in the online player). Starting moods via macros DOES work, and so do oneshots. If I delete a playlist, it will correctly show me the currently playing sound / mood in the playlist, but even there pressing the stop button does nothing for me.

To Reproduce

  1. Install Foundry 10.288 and SyrinControl 0.4.0-alpha-3
  2. Import a playlist
  3. Press play on an imported sound (mood)

Expected behavior

The mood should play.

Screenshots

Playlists, it shows the last mood I started via macro (Silence), even though I pressed play on "Cultist / Ante Chamber" (ignore the other playlists, they are not from Syrinscape). image

Details

Logs I have two sets of logs coming up:

The following logs came up when importing a playlist:

DEBUG | Calling preCreatePlaylist hook with args:
foundry.js:702 (4) [SyrinPlaylist, {…}, {…}, 'YCK8UdGmgtpiDMp3']
foundry.js:12648 Uncaught (in promise) Error: You must provide an _id for every object in the update data Array.
[No packages detected]
    at ClientDatabaseBackend._preUpdateDocumentArray (foundry.js:12648:32)
    at ClientDatabaseBackend._updateDocuments (foundry.js:12583:33)
    at ClientDatabaseBackend.update (commons.js:6771:24)
    at async SyrinPlaylist.updateDocuments (commons.js:6128:23)
    at async SyrinPlaylist.update (commons.js:6225:23)
_preUpdateDocumentArray @ foundry.js:12648
_updateDocuments @ foundry.js:12583
update @ commons.js:6771
await in update (async)
(anonymous) @ sounds.ts:111
subscribe @ index.mjs:50
SyrinPlaylist @ sounds.ts:109
construct @ sounds.ts:166
_preCreateDocumentArray @ foundry.js:12478
_createDocuments @ foundry.js:12414
create @ commons.js:6713
await in create (async)
createDocuments @ commons.js:6085
create @ commons.js:6208
createPlaylist @ game.ts:104
onCreatePlaylist @ MacroManager.svelte:179
foundry.js:676 DEBUG | Calling createPlaylist hook with args:
foundry.js:677 (3) [SyrinPlaylist, {…}, 'YCK8UdGmgtpiDMp3']
commons.js:6921 Foundry VTT | Created Playlist with id [YjVP4gtFFVT2j4MB]
foundry.js:701 DEBUG | Calling preCreatePlaylistSound hook with args:
foundry.js:702 (4) [SyrinPlaylistSound, {…}, {…}, 'YCK8UdGmgtpiDMp3']
foundry.js:701 DEBUG | Calling getPlaylistDirectoryFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarDirectoryFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarTabFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getPlaylistDirectoryEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarDirectoryEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarTabEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getPlaylistDirectorySoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:701 DEBUG | Calling getSidebarDirectorySoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:701 DEBUG | Calling getSidebarTabSoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:676 DEBUG | Calling renderPlaylistDirectory hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
playlist.ts:35 BUTTONS S.fn.init [div.header-actions.action-buttons.flexrow, prevObject: S.fn.init(1)]
onPlaylistTab @ playlist.ts:35
(anonymous) @ main.ts:33
#call @ foundry.js:724
callAll @ foundry.js:681
_render @ foundry.js:5112
await in _render (async)
_render @ foundry.js:59859
_render @ foundry.js:60209
render @ foundry.js:5026
render @ foundry.js:13930
_onCreateDocuments @ foundry.js:13985
_handleCreateDocuments @ foundry.js:12518
_createDocuments @ foundry.js:12423
await in _createDocuments (async)
create @ commons.js:6713
await in create (async)
createDocuments @ commons.js:6085
create @ commons.js:6208
createPlaylist @ game.ts:104
onCreatePlaylist @ MacroManager.svelte:179
foundry.js:676 DEBUG | Calling renderSidebarDirectory hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
foundry.js:676 DEBUG | Calling renderSidebarTab hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
foundry.js:12648 Uncaught (in promise) Error: You must provide an _id for every object in the update data Array.
[No packages detected]
    at ClientDatabaseBackend._preUpdateDocumentArray (foundry.js:12648:32)
    at ClientDatabaseBackend._updateEmbeddedDocuments (foundry.js:12614:33)
    at ClientDatabaseBackend.update (commons.js:6770:33)
    at async SyrinPlaylistSound.updateDocuments (commons.js:6128:23)
    at async SyrinPlaylistSound.update (commons.js:6225:23)
_preUpdateDocumentArray @ foundry.js:12648
_updateEmbeddedDocuments @ foundry.js:12614
update @ commons.js:6770
await in update (async)
(anonymous) @ sounds.ts:40
subscribe @ index.mjs:50
SyrinPlaylistSound @ sounds.ts:35
construct @ sounds.ts:166
_preCreateDocumentArray @ foundry.js:12478
_createEmbeddedDocuments @ foundry.js:12441
create @ commons.js:6712
await in create (async)
createDocuments @ commons.js:6085
create @ commons.js:6208
createPlaylistMoodSound @ game.ts:136
onCreatePlaylist @ MacroManager.svelte:179
foundry.js:676 DEBUG | Calling createPlaylistSound hook with args:
foundry.js:677 (3) [SyrinPlaylistSound, {…}, 'YCK8UdGmgtpiDMp3']
commons.js:6921 Foundry VTT | Created PlaylistSound with id [BpUgTKboHl0BK6PJ] in parent Playlist [YjVP4gtFFVT2j4MB]
foundry.js:701 DEBUG | Calling preCreatePlaylistSound hook with args:
foundry.js:702 (4) [SyrinPlaylistSound, {…}, {…}, 'YCK8UdGmgtpiDMp3']
foundry.js:701 DEBUG | Calling getPlaylistDirectoryFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarDirectoryFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarTabFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getPlaylistDirectoryEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarDirectoryEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarTabEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getPlaylistDirectorySoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:701 DEBUG | Calling getSidebarDirectorySoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:701 DEBUG | Calling getSidebarTabSoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:676 DEBUG | Calling renderPlaylistDirectory hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
playlist.ts:35 BUTTONS S.fn.init [div.header-actions.action-buttons.flexrow, prevObject: S.fn.init(1)]
onPlaylistTab @ playlist.ts:35
(anonymous) @ main.ts:33
#call @ foundry.js:724
callAll @ foundry.js:681
_render @ foundry.js:5112
await in _render (async)
_render @ foundry.js:59859
_render @ foundry.js:60209
render @ foundry.js:5026
render @ foundry.js:13930
_onCreateEmbeddedDocuments @ foundry.js:20626
_handleCreateEmbeddedDocuments @ foundry.js:12550
_createEmbeddedDocuments @ foundry.js:12452
await in _createEmbeddedDocuments (async)
create @ commons.js:6712
await in create (async)
createDocuments @ commons.js:6085
create @ commons.js:6208
createPlaylistMoodSound @ game.ts:136
onCreatePlaylist @ MacroManager.svelte:179
foundry.js:676 DEBUG | Calling renderSidebarDirectory hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
foundry.js:676 DEBUG | Calling renderSidebarTab hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
foundry.js:12648 Uncaught (in promise) Error: You must provide an _id for every object in the update data Array.
[No packages detected]
    at ClientDatabaseBackend._preUpdateDocumentArray (foundry.js:12648:32)
    at ClientDatabaseBackend._updateEmbeddedDocuments (foundry.js:12614:33)
    at ClientDatabaseBackend.update (commons.js:6770:33)
    at async SyrinPlaylistSound.updateDocuments (commons.js:6128:23)
    at async SyrinPlaylistSound.update (commons.js:6225:23)
_preUpdateDocumentArray @ foundry.js:12648
_updateEmbeddedDocuments @ foundry.js:12614
update @ commons.js:6770
await in update (async)
(anonymous) @ sounds.ts:40
subscribe @ index.mjs:50
SyrinPlaylistSound @ sounds.ts:35
construct @ sounds.ts:166
_preCreateDocumentArray @ foundry.js:12478
_createEmbeddedDocuments @ foundry.js:12441
create @ commons.js:6712
await in create (async)
createDocuments @ commons.js:6085
create @ commons.js:6208
createPlaylistMoodSound @ game.ts:136
onCreatePlaylist @ MacroManager.svelte:179
foundry.js:676 DEBUG | Calling createPlaylistSound hook with args:
foundry.js:677 (3) [SyrinPlaylistSound, {…}, 'YCK8UdGmgtpiDMp3']
commons.js:6921 Foundry VTT | Created PlaylistSound with id [l8Ypfo0cVAwCyQCf] in parent Playlist [YjVP4gtFFVT2j4MB]
foundry.js:701 DEBUG | Calling preCreatePlaylistSound hook with args:
foundry.js:702 (4) [SyrinPlaylistSound, {…}, {…}, 'YCK8UdGmgtpiDMp3']
foundry.js:701 DEBUG | Calling getPlaylistDirectoryFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarDirectoryFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarTabFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getPlaylistDirectoryEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarDirectoryEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarTabEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getPlaylistDirectorySoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:701 DEBUG | Calling getSidebarDirectorySoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:701 DEBUG | Calling getSidebarTabSoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:676 DEBUG | Calling renderPlaylistDirectory hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
playlist.ts:35 BUTTONS S.fn.init [div.header-actions.action-buttons.flexrow, prevObject: S.fn.init(1)]
onPlaylistTab @ playlist.ts:35
(anonymous) @ main.ts:33
#call @ foundry.js:724
callAll @ foundry.js:681
_render @ foundry.js:5112
await in _render (async)
_render @ foundry.js:59859
_render @ foundry.js:60209
render @ foundry.js:5026
render @ foundry.js:13930
_onCreateEmbeddedDocuments @ foundry.js:20626
_handleCreateEmbeddedDocuments @ foundry.js:12550
_createEmbeddedDocuments @ foundry.js:12452
await in _createEmbeddedDocuments (async)
create @ commons.js:6712
await in create (async)
createDocuments @ commons.js:6085
create @ commons.js:6208
createPlaylistMoodSound @ game.ts:136
onCreatePlaylist @ MacroManager.svelte:179
foundry.js:676 DEBUG | Calling renderSidebarDirectory hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
foundry.js:676 DEBUG | Calling renderSidebarTab hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
foundry.js:12648 Uncaught (in promise) Error: You must provide an _id for every object in the update data Array.
[No packages detected]
    at ClientDatabaseBackend._preUpdateDocumentArray (foundry.js:12648:32)
    at ClientDatabaseBackend._updateEmbeddedDocuments (foundry.js:12614:33)
    at ClientDatabaseBackend.update (commons.js:6770:33)
    at async SyrinPlaylistSound.updateDocuments (commons.js:6128:23)
    at async SyrinPlaylistSound.update (commons.js:6225:23)
_preUpdateDocumentArray @ foundry.js:12648
_updateEmbeddedDocuments @ foundry.js:12614
update @ commons.js:6770
await in update (async)
(anonymous) @ sounds.ts:40
subscribe @ index.mjs:50
SyrinPlaylistSound @ sounds.ts:35
construct @ sounds.ts:166
_preCreateDocumentArray @ foundry.js:12478
_createEmbeddedDocuments @ foundry.js:12441
create @ commons.js:6712
await in create (async)
createDocuments @ commons.js:6085
create @ commons.js:6208
createPlaylistMoodSound @ game.ts:136
onCreatePlaylist @ MacroManager.svelte:179
foundry.js:676 DEBUG | Calling createPlaylistSound hook with args:
foundry.js:677 (3) [SyrinPlaylistSound, {…}, 'YCK8UdGmgtpiDMp3']
commons.js:6921 Foundry VTT | Created PlaylistSound with id [hV31Zg6pmqR7HaJg] in parent Playlist [YjVP4gtFFVT2j4MB]
foundry.js:701 DEBUG | Calling preCreatePlaylistSound hook with args:
foundry.js:702 (4) [SyrinPlaylistSound, {…}, {…}, 'YCK8UdGmgtpiDMp3']
foundry.js:701 DEBUG | Calling getPlaylistDirectoryFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarDirectoryFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarTabFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getPlaylistDirectoryEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarDirectoryEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarTabEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getPlaylistDirectorySoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:701 DEBUG | Calling getSidebarDirectorySoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:701 DEBUG | Calling getSidebarTabSoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:676 DEBUG | Calling renderPlaylistDirectory hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
playlist.ts:35 BUTTONS S.fn.init [div.header-actions.action-buttons.flexrow, prevObject: S.fn.init(1)]
onPlaylistTab @ playlist.ts:35
(anonymous) @ main.ts:33
#call @ foundry.js:724
callAll @ foundry.js:681
_render @ foundry.js:5112
await in _render (async)
_render @ foundry.js:59859
_render @ foundry.js:60209
render @ foundry.js:5026
render @ foundry.js:13930
_onCreateEmbeddedDocuments @ foundry.js:20626
_handleCreateEmbeddedDocuments @ foundry.js:12550
_createEmbeddedDocuments @ foundry.js:12452
await in _createEmbeddedDocuments (async)
create @ commons.js:6712
await in create (async)
createDocuments @ commons.js:6085
create @ commons.js:6208
createPlaylistMoodSound @ game.ts:136
onCreatePlaylist @ MacroManager.svelte:179
foundry.js:676 DEBUG | Calling renderSidebarDirectory hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
foundry.js:676 DEBUG | Calling renderSidebarTab hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
foundry.js:12648 Uncaught (in promise) Error: You must provide an _id for every object in the update data Array.
[No packages detected]
    at ClientDatabaseBackend._preUpdateDocumentArray (foundry.js:12648:32)
    at ClientDatabaseBackend._updateEmbeddedDocuments (foundry.js:12614:33)
    at ClientDatabaseBackend.update (commons.js:6770:33)
    at async SyrinPlaylistSound.updateDocuments (commons.js:6128:23)
    at async SyrinPlaylistSound.update (commons.js:6225:23)
_preUpdateDocumentArray @ foundry.js:12648
_updateEmbeddedDocuments @ foundry.js:12614
update @ commons.js:6770
await in update (async)
(anonymous) @ sounds.ts:40
subscribe @ index.mjs:50
SyrinPlaylistSound @ sounds.ts:35
construct @ sounds.ts:166
_preCreateDocumentArray @ foundry.js:12478
_createEmbeddedDocuments @ foundry.js:12441
create @ commons.js:6712
await in create (async)
createDocuments @ commons.js:6085
create @ commons.js:6208
createPlaylistMoodSound @ game.ts:136
onCreatePlaylist @ MacroManager.svelte:179
foundry.js:676 DEBUG | Calling createPlaylistSound hook with args:
foundry.js:677 (3) [SyrinPlaylistSound, {…}, 'YCK8UdGmgtpiDMp3']
commons.js:6921 Foundry VTT | Created PlaylistSound with id [xVzdlzkP27XiLjg7] in parent Playlist [YjVP4gtFFVT2j4MB]
foundry.js:701 DEBUG | Calling preCreatePlaylistSound hook with args:
foundry.js:702 (4) [SyrinPlaylistSound, {…}, {…}, 'YCK8UdGmgtpiDMp3']
foundry.js:701 DEBUG | Calling getPlaylistDirectoryFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarDirectoryFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarTabFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getPlaylistDirectoryEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarDirectoryEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarTabEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getPlaylistDirectorySoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:701 DEBUG | Calling getSidebarDirectorySoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:701 DEBUG | Calling getSidebarTabSoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:676 DEBUG | Calling renderPlaylistDirectory hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
playlist.ts:35 BUTTONS S.fn.init [div.header-actions.action-buttons.flexrow, prevObject: S.fn.init(1)]
onPlaylistTab @ playlist.ts:35
(anonymous) @ main.ts:33
#call @ foundry.js:724
callAll @ foundry.js:681
_render @ foundry.js:5112
await in _render (async)
_render @ foundry.js:59859
_render @ foundry.js:60209
render @ foundry.js:5026
render @ foundry.js:13930
_onCreateEmbeddedDocuments @ foundry.js:20626
_handleCreateEmbeddedDocuments @ foundry.js:12550
_createEmbeddedDocuments @ foundry.js:12452
await in _createEmbeddedDocuments (async)
create @ commons.js:6712
await in create (async)
createDocuments @ commons.js:6085
create @ commons.js:6208
createPlaylistMoodSound @ game.ts:136
onCreatePlaylist @ MacroManager.svelte:179
foundry.js:676 DEBUG | Calling renderSidebarDirectory hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
foundry.js:676 DEBUG | Calling renderSidebarTab hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
foundry.js:12648 Uncaught (in promise) Error: You must provide an _id for every object in the update data Array.
[No packages detected]
    at ClientDatabaseBackend._preUpdateDocumentArray (foundry.js:12648:32)
    at ClientDatabaseBackend._updateEmbeddedDocuments (foundry.js:12614:33)
    at ClientDatabaseBackend.update (commons.js:6770:33)
    at async SyrinPlaylistSound.updateDocuments (commons.js:6128:23)
    at async SyrinPlaylistSound.update (commons.js:6225:23)
_preUpdateDocumentArray @ foundry.js:12648
_updateEmbeddedDocuments @ foundry.js:12614
update @ commons.js:6770
await in update (async)
(anonymous) @ sounds.ts:40
subscribe @ index.mjs:50
SyrinPlaylistSound @ sounds.ts:35
construct @ sounds.ts:166
_preCreateDocumentArray @ foundry.js:12478
_createEmbeddedDocuments @ foundry.js:12441
create @ commons.js:6712
await in create (async)
createDocuments @ commons.js:6085
create @ commons.js:6208
createPlaylistMoodSound @ game.ts:136
onCreatePlaylist @ MacroManager.svelte:179
foundry.js:676 DEBUG | Calling createPlaylistSound hook with args:
foundry.js:677 (3) [SyrinPlaylistSound, {…}, 'YCK8UdGmgtpiDMp3']
commons.js:6921 Foundry VTT | Created PlaylistSound with id [5kMT4l52ys3AZ7mN] in parent Playlist [YjVP4gtFFVT2j4MB]
foundry.js:701 DEBUG | Calling preCreatePlaylistSound hook with args:
foundry.js:702 (4) [SyrinPlaylistSound, {…}, {…}, 'YCK8UdGmgtpiDMp3']
foundry.js:701 DEBUG | Calling getPlaylistDirectoryFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarDirectoryFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarTabFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getPlaylistDirectoryEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarDirectoryEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarTabEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getPlaylistDirectorySoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:701 DEBUG | Calling getSidebarDirectorySoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:701 DEBUG | Calling getSidebarTabSoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:676 DEBUG | Calling renderPlaylistDirectory hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
playlist.ts:35 BUTTONS S.fn.init [div.header-actions.action-buttons.flexrow, prevObject: S.fn.init(1)]
onPlaylistTab @ playlist.ts:35
(anonymous) @ main.ts:33
#call @ foundry.js:724
callAll @ foundry.js:681
_render @ foundry.js:5112
await in _render (async)
_render @ foundry.js:59859
_render @ foundry.js:60209
render @ foundry.js:5026
render @ foundry.js:13930
_onCreateEmbeddedDocuments @ foundry.js:20626
_handleCreateEmbeddedDocuments @ foundry.js:12550
_createEmbeddedDocuments @ foundry.js:12452
await in _createEmbeddedDocuments (async)
create @ commons.js:6712
await in create (async)
createDocuments @ commons.js:6085
create @ commons.js:6208
createPlaylistMoodSound @ game.ts:136
onCreatePlaylist @ MacroManager.svelte:179
foundry.js:676 DEBUG | Calling renderSidebarDirectory hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
foundry.js:676 DEBUG | Calling renderSidebarTab hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
foundry.js:12648 Uncaught (in promise) Error: You must provide an _id for every object in the update data Array.
[No packages detected]
    at ClientDatabaseBackend._preUpdateDocumentArray (foundry.js:12648:32)
    at ClientDatabaseBackend._updateEmbeddedDocuments (foundry.js:12614:33)
    at ClientDatabaseBackend.update (commons.js:6770:33)
    at async SyrinPlaylistSound.updateDocuments (commons.js:6128:23)
    at async SyrinPlaylistSound.update (commons.js:6225:23)
_preUpdateDocumentArray @ foundry.js:12648
_updateEmbeddedDocuments @ foundry.js:12614
update @ commons.js:6770
await in update (async)
(anonymous) @ sounds.ts:40
subscribe @ index.mjs:50
SyrinPlaylistSound @ sounds.ts:35
construct @ sounds.ts:166
_preCreateDocumentArray @ foundry.js:12478
_createEmbeddedDocuments @ foundry.js:12441
create @ commons.js:6712
await in create (async)
createDocuments @ commons.js:6085
create @ commons.js:6208
createPlaylistMoodSound @ game.ts:136
onCreatePlaylist @ MacroManager.svelte:179
foundry.js:676 DEBUG | Calling createPlaylistSound hook with args:
foundry.js:677 (3) [SyrinPlaylistSound, {…}, 'YCK8UdGmgtpiDMp3']
commons.js:6921 Foundry VTT | Created PlaylistSound with id [zYrLyGIPCHRBmlUy] in parent Playlist [YjVP4gtFFVT2j4MB]
foundry.js:701 DEBUG | Calling preCreatePlaylistSound hook with args:
foundry.js:702 (4) [SyrinPlaylistSound, {…}, {…}, 'YCK8UdGmgtpiDMp3']
foundry.js:701 DEBUG | Calling getPlaylistDirectoryFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarDirectoryFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarTabFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getPlaylistDirectoryEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarDirectoryEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarTabEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getPlaylistDirectorySoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:701 DEBUG | Calling getSidebarDirectorySoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:701 DEBUG | Calling getSidebarTabSoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:676 DEBUG | Calling renderPlaylistDirectory hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
playlist.ts:35 BUTTONS S.fn.init [div.header-actions.action-buttons.flexrow, prevObject: S.fn.init(1)]
onPlaylistTab @ playlist.ts:35
(anonymous) @ main.ts:33
#call @ foundry.js:724
callAll @ foundry.js:681
_render @ foundry.js:5112
await in _render (async)
_render @ foundry.js:59859
_render @ foundry.js:60209
render @ foundry.js:5026
render @ foundry.js:13930
_onCreateEmbeddedDocuments @ foundry.js:20626
_handleCreateEmbeddedDocuments @ foundry.js:12550
_createEmbeddedDocuments @ foundry.js:12452
await in _createEmbeddedDocuments (async)
create @ commons.js:6712
await in create (async)
createDocuments @ commons.js:6085
create @ commons.js:6208
createPlaylistMoodSound @ game.ts:136
onCreatePlaylist @ MacroManager.svelte:179
foundry.js:676 DEBUG | Calling renderSidebarDirectory hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
foundry.js:676 DEBUG | Calling renderSidebarTab hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
foundry.js:12648 Uncaught (in promise) Error: You must provide an _id for every object in the update data Array.
[No packages detected]
    at ClientDatabaseBackend._preUpdateDocumentArray (foundry.js:12648:32)
    at ClientDatabaseBackend._updateEmbeddedDocuments (foundry.js:12614:33)
    at ClientDatabaseBackend.update (commons.js:6770:33)
    at async SyrinPlaylistSound.updateDocuments (commons.js:6128:23)
    at async SyrinPlaylistSound.update (commons.js:6225:23)
_preUpdateDocumentArray @ foundry.js:12648
_updateEmbeddedDocuments @ foundry.js:12614
update @ commons.js:6770
await in update (async)
(anonymous) @ sounds.ts:40
subscribe @ index.mjs:50
SyrinPlaylistSound @ sounds.ts:35
construct @ sounds.ts:166
_preCreateDocumentArray @ foundry.js:12478
_createEmbeddedDocuments @ foundry.js:12441
create @ commons.js:6712
await in create (async)
createDocuments @ commons.js:6085
create @ commons.js:6208
createPlaylistMoodSound @ game.ts:136
onCreatePlaylist @ MacroManager.svelte:179
foundry.js:676 DEBUG | Calling createPlaylistSound hook with args:
foundry.js:677 (3) [SyrinPlaylistSound, {…}, 'YCK8UdGmgtpiDMp3']
commons.js:6921 Foundry VTT | Created PlaylistSound with id [vC1cklIdrR5WjlPi] in parent Playlist [YjVP4gtFFVT2j4MB]
foundry.js:701 DEBUG | Calling preCreatePlaylistSound hook with args:
foundry.js:702 (4) [SyrinPlaylistSound, {…}, {…}, 'YCK8UdGmgtpiDMp3']
foundry.js:701 DEBUG | Calling getPlaylistDirectoryFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarDirectoryFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarTabFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getPlaylistDirectoryEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarDirectoryEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarTabEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getPlaylistDirectorySoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:701 DEBUG | Calling getSidebarDirectorySoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:701 DEBUG | Calling getSidebarTabSoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:676 DEBUG | Calling renderPlaylistDirectory hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
playlist.ts:35 BUTTONS S.fn.init [div.header-actions.action-buttons.flexrow, prevObject: S.fn.init(1)]
onPlaylistTab @ playlist.ts:35
(anonymous) @ main.ts:33
#call @ foundry.js:724
callAll @ foundry.js:681
_render @ foundry.js:5112
await in _render (async)
_render @ foundry.js:59859
_render @ foundry.js:60209
render @ foundry.js:5026
render @ foundry.js:13930
_onCreateEmbeddedDocuments @ foundry.js:20626
_handleCreateEmbeddedDocuments @ foundry.js:12550
_createEmbeddedDocuments @ foundry.js:12452
await in _createEmbeddedDocuments (async)
create @ commons.js:6712
await in create (async)
createDocuments @ commons.js:6085
create @ commons.js:6208
createPlaylistMoodSound @ game.ts:136
onCreatePlaylist @ MacroManager.svelte:179
foundry.js:676 DEBUG | Calling renderSidebarDirectory hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
foundry.js:676 DEBUG | Calling renderSidebarTab hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
foundry.js:12648 Uncaught (in promise) Error: You must provide an _id for every object in the update data Array.
[No packages detected]
    at ClientDatabaseBackend._preUpdateDocumentArray (foundry.js:12648:32)
    at ClientDatabaseBackend._updateEmbeddedDocuments (foundry.js:12614:33)
    at ClientDatabaseBackend.update (commons.js:6770:33)
    at async SyrinPlaylistSound.updateDocuments (commons.js:6128:23)
    at async SyrinPlaylistSound.update (commons.js:6225:23)
_preUpdateDocumentArray @ foundry.js:12648
_updateEmbeddedDocuments @ foundry.js:12614
update @ commons.js:6770
await in update (async)
(anonymous) @ sounds.ts:40
subscribe @ index.mjs:50
SyrinPlaylistSound @ sounds.ts:35
construct @ sounds.ts:166
_preCreateDocumentArray @ foundry.js:12478
_createEmbeddedDocuments @ foundry.js:12441
create @ commons.js:6712
await in create (async)
createDocuments @ commons.js:6085
create @ commons.js:6208
createPlaylistMoodSound @ game.ts:136
onCreatePlaylist @ MacroManager.svelte:179
foundry.js:676 DEBUG | Calling createPlaylistSound hook with args:
foundry.js:677 (3) [SyrinPlaylistSound, {…}, 'YCK8UdGmgtpiDMp3']
commons.js:6921 Foundry VTT | Created PlaylistSound with id [6OV1DpgZaBX8XeLb] in parent Playlist [YjVP4gtFFVT2j4MB]
foundry.js:701 DEBUG | Calling preCreatePlaylistSound hook with args:
foundry.js:702 (4) [SyrinPlaylistSound, {…}, {…}, 'YCK8UdGmgtpiDMp3']
foundry.js:701 DEBUG | Calling getPlaylistDirectoryFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarDirectoryFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarTabFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getPlaylistDirectoryEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarDirectoryEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarTabEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getPlaylistDirectorySoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:701 DEBUG | Calling getSidebarDirectorySoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:701 DEBUG | Calling getSidebarTabSoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:676 DEBUG | Calling renderPlaylistDirectory hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
playlist.ts:35 BUTTONS S.fn.init [div.header-actions.action-buttons.flexrow, prevObject: S.fn.init(1)]
onPlaylistTab @ playlist.ts:35
(anonymous) @ main.ts:33
#call @ foundry.js:724
callAll @ foundry.js:681
_render @ foundry.js:5112
await in _render (async)
_render @ foundry.js:59859
_render @ foundry.js:60209
render @ foundry.js:5026
render @ foundry.js:13930
_onCreateEmbeddedDocuments @ foundry.js:20626
_handleCreateEmbeddedDocuments @ foundry.js:12550
_createEmbeddedDocuments @ foundry.js:12452
await in _createEmbeddedDocuments (async)
create @ commons.js:6712
await in create (async)
createDocuments @ commons.js:6085
create @ commons.js:6208
createPlaylistMoodSound @ game.ts:136
onCreatePlaylist @ MacroManager.svelte:179
foundry.js:676 DEBUG | Calling renderSidebarDirectory hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
foundry.js:676 DEBUG | Calling renderSidebarTab hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
foundry.js:12648 Uncaught (in promise) Error: You must provide an _id for every object in the update data Array.
[No packages detected]
    at ClientDatabaseBackend._preUpdateDocumentArray (foundry.js:12648:32)
    at ClientDatabaseBackend._updateEmbeddedDocuments (foundry.js:12614:33)
    at ClientDatabaseBackend.update (commons.js:6770:33)
    at async SyrinPlaylistSound.updateDocuments (commons.js:6128:23)
    at async SyrinPlaylistSound.update (commons.js:6225:23)
_preUpdateDocumentArray @ foundry.js:12648
_updateEmbeddedDocuments @ foundry.js:12614
update @ commons.js:6770
await in update (async)
(anonymous) @ sounds.ts:40
subscribe @ index.mjs:50
SyrinPlaylistSound @ sounds.ts:35
construct @ sounds.ts:166
_preCreateDocumentArray @ foundry.js:12478
_createEmbeddedDocuments @ foundry.js:12441
create @ commons.js:6712
await in create (async)
createDocuments @ commons.js:6085
create @ commons.js:6208
createPlaylistMoodSound @ game.ts:136
onCreatePlaylist @ MacroManager.svelte:179
foundry.js:676 DEBUG | Calling createPlaylistSound hook with args:
foundry.js:677 (3) [SyrinPlaylistSound, {…}, 'YCK8UdGmgtpiDMp3']
commons.js:6921 Foundry VTT | Created PlaylistSound with id [FEGOD1CTNSomsNh8] in parent Playlist [YjVP4gtFFVT2j4MB]
foundry.js:58721 SyrinControl | Created playlist "Cultists"
foundry.js:701 DEBUG | Calling getPlaylistDirectoryFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarDirectoryFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarTabFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getPlaylistDirectoryEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarDirectoryEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarTabEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getPlaylistDirectorySoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:701 DEBUG | Calling getSidebarDirectorySoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:701 DEBUG | Calling getSidebarTabSoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:676 DEBUG | Calling renderPlaylistDirectory hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
playlist.ts:35 BUTTONS S.fn.init [div.header-actions.action-buttons.flexrow, prevObject: S.fn.init(1)]
onPlaylistTab @ playlist.ts:35
(anonymous) @ main.ts:33
#call @ foundry.js:724
callAll @ foundry.js:681
_render @ foundry.js:5112
await in _render (async)
_render @ foundry.js:59859
_render @ foundry.js:60209
render @ foundry.js:5026
render @ foundry.js:13930
_onCreateEmbeddedDocuments @ foundry.js:20626
_handleCreateEmbeddedDocuments @ foundry.js:12550
_createEmbeddedDocuments @ foundry.js:12452
await in _createEmbeddedDocuments (async)
create @ commons.js:6712
await in create (async)
createDocuments @ commons.js:6085
create @ commons.js:6208
createPlaylistMoodSound @ game.ts:136
onCreatePlaylist @ MacroManager.svelte:179
foundry.js:676 DEBUG | Calling renderSidebarDirectory hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
foundry.js:676 DEBUG | Calling renderSidebarTab hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]

These came up when pressing play on a mood:

DEBUG | Calling preUpdatePlaylist hook with args:
foundry.js:702 (4) [SyrinPlaylist, {…}, {…}, 'YCK8UdGmgtpiDMp3']
foundry.js:676 DEBUG | Calling updatePlaylist hook with args:
foundry.js:677 (4) [SyrinPlaylist, {…}, {…}, 'YCK8UdGmgtpiDMp3']
foundry.js:701 DEBUG | Calling getPlaylistDirectoryFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarDirectoryFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarTabFolderContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getPlaylistDirectoryEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarDirectoryEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getSidebarTabEntryContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(6)]
foundry.js:701 DEBUG | Calling getPlaylistDirectorySoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:701 DEBUG | Calling getSidebarDirectorySoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:701 DEBUG | Calling getSidebarTabSoundContext hook with args:
foundry.js:702 (2) [S.fn.init(1), Array(3)]
foundry.js:676 DEBUG | Calling renderPlaylistDirectory hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
playlist.ts:35 BUTTONS S.fn.init [div.header-actions.action-buttons.flexrow, prevObject: S.fn.init(1)]
onPlaylistTab @ playlist.ts:35
(anonymous) @ main.ts:33
#call @ foundry.js:724
callAll @ foundry.js:681
_render @ foundry.js:5112
await in _render (async)
_render @ foundry.js:59859
_render @ foundry.js:60209
render @ foundry.js:5026
render @ foundry.js:13930
_onUpdateDocuments @ foundry.js:14010
_handleUpdateDocuments @ foundry.js:12718
_updateDocuments @ foundry.js:12592
await in _updateDocuments (async)
update @ commons.js:6771
await in update (async)
updateDocuments @ commons.js:6128
update @ commons.js:6225
playSound @ foundry.js:20485
_onSoundPlay @ foundry.js:75592
(anonymous) @ foundry.js:75433
dispatch @ jquery.min.js:2
y.handle @ jquery.min.js:2
foundry.js:676 DEBUG | Calling renderSidebarDirectory hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]
foundry.js:676 DEBUG | Calling renderSidebarTab hook with args:
foundry.js:677 (3) [PlaylistDirectory, S.fn.init(1), {…}]