File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 191191 this . processStudios ( evt . detail ) ;
192192 this . processPerformers ( evt . detail ) ;
193193 this . processGalleries ( evt . detail ) ;
194+ this . processMarkers ( evt . detail ) ;
194195 this . processApiKey ( evt . detail ) ;
195196 this . dispatchEvent ( new CustomEvent ( 'stash:response' , { 'detail' : evt . detail } ) ) ;
196197 } ) ;
212213 this . studios = { } ;
213214 this . galleries = { } ;
214215 this . performers = { } ;
216+ this . scene_markers = { } ;
215217 this . userscripts = [ ] ;
216218 }
217219 async getVersion ( ) {
862864 }
863865 }
864866 }
867+ processMarkers ( data ) {
868+ if ( data . data . findSceneMarkers ?. scene_markers ) {
869+ for ( const scene_marker of data . data . findSceneMarkers . scene_markers ) {
870+ this . scene_markers [ scene_marker . id ] = scene_marker ;
871+ }
872+ }
873+ }
865874 processApiKey ( data ) {
866875 if ( data . data . generateAPIKey != null && this . pluginVersion ) {
867876 this . updateConfigValueTask ( 'STASH' , 'api_key' , data . data . generateAPIKey ) ;
You can’t perform that action at this time.
0 commit comments