mirror of
https://github.com/stashapp/stash.git
synced 2025-12-14 12:25:23 +01:00
* Add funscript route to scenes Adds a /scene/:id/funscript route which serves a funscript file, if present. Current convention is that these are files stored with the same path, but with the extension ".funscript". * Look for funscript during scan This is stored in the Scene record and used to drive UI changes for funscript support. Currently, that's limited to a funscript link in the Scene's file info. * Add filtering and sorting for interactive * Add Handy connection key to interface config * Add Handy client and placeholder component. Uses defucilis/thehandy, but not thehandy-react as I had difficulty integrating the context with the existing components. Instead, the expensive calculation for the server time offset is put in localStorage for reuse. A debounce was added when scrubbing the video, as otherwise it spammed the Handy API with updates to the current offset.
82 lines
768 B
GraphQL
82 lines
768 B
GraphQL
fragment SlimSceneData on Scene {
|
|
id
|
|
checksum
|
|
oshash
|
|
title
|
|
details
|
|
url
|
|
date
|
|
rating
|
|
o_counter
|
|
organized
|
|
path
|
|
phash
|
|
interactive
|
|
|
|
file {
|
|
size
|
|
duration
|
|
video_codec
|
|
audio_codec
|
|
width
|
|
height
|
|
framerate
|
|
bitrate
|
|
}
|
|
|
|
paths {
|
|
screenshot
|
|
preview
|
|
stream
|
|
webp
|
|
vtt
|
|
chapters_vtt
|
|
sprite
|
|
funscript
|
|
}
|
|
|
|
scene_markers {
|
|
id
|
|
title
|
|
seconds
|
|
}
|
|
|
|
galleries {
|
|
id
|
|
path
|
|
title
|
|
}
|
|
|
|
studio {
|
|
id
|
|
name
|
|
image_path
|
|
}
|
|
|
|
movies {
|
|
movie {
|
|
id
|
|
name
|
|
front_image_path
|
|
}
|
|
scene_index
|
|
}
|
|
|
|
tags {
|
|
id
|
|
name
|
|
}
|
|
|
|
performers {
|
|
id
|
|
name
|
|
gender
|
|
favorite
|
|
image_path
|
|
}
|
|
|
|
stash_ids {
|
|
endpoint
|
|
stash_id
|
|
}
|
|
}
|