stash/pkg/utils
UnluckyChemical765 547f6d79ad
Add Handy / Funscript support (#1377)
* 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.
2021-05-24 13:34:28 +10:00
..
boolean.go Add rescan option to overflow dropdown (#1119) 2021-02-23 12:56:01 +11:00
byterange.go Transcode stream refactor (#609) 2020-07-23 11:56:08 +10:00
crypto.go Images section (#813) 2020-10-13 10:12:46 +11:00
date.go Fix json time when unmarshalling 2019-03-09 10:14:55 -08:00
file.go Add Handy / Funscript support (#1377) 2021-05-24 13:34:28 +10:00
file_test.go fix DirExists (#1388) 2021-05-17 15:05:29 +10:00
float.go Configuration 2019-04-11 10:55:58 -07:00
image.go Add User Agent to image download reqs (#1222) 2021-03-24 08:12:11 +11:00
int_collections.go Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
oshash.go Add oshash support (#667) 2020-08-06 11:21:14 +10:00
phash.go Add phash generation and dupe checking (#1158) 2021-04-12 09:04:40 +10:00
resources.go Change thumbnail default size and resize algorithm (#336) 2020-01-31 17:19:15 -05:00
string_collections.go Discard null values from scraper results (#1374) 2021-05-16 16:40:54 +10:00
strings.go Random strings for cookie values (#1122) 2021-02-23 13:40:43 +11:00
symwalk.go Fix scan issue when encountering invalid symlinks (#871) 2020-10-20 17:00:23 +11:00
time.go Fix various generate issues (#1322) 2021-04-22 13:51:51 +10:00
user_agent.go Add User Agent to image download reqs (#1222) 2021-03-24 08:12:11 +11:00
vtt.go Fix vtt for chapter display in scene players (#263) 2019-12-13 15:41:46 -05:00
windows.go Reorg 2019-02-14 15:42:52 -08:00