stash/pkg/api
woodgen 4045ddf3e9
Implement scraping movies by URL (#709)
* api/urlbuilders/movie: Auto format.

* graphql+pkg+ui: Implement scraping movies by URL.

This patch implements the missing required boilerplate for scraping
movies by URL, using performers and scenes as a reference.

Although this patch contains a big chunck of ground work for enabling
scraping movies by fragment, the feature would require additional
changes to be completely implemented and was not tested.

* graphql+pkg+ui: Scrape movie studio.

Extends and corrects the movie model for the ability to store and
dereference studio IDs with received studio string from the scraper.
This was done with Scenes as a reference. For simplicity the duplication
of having `ScrapedMovieStudio` and `ScrapedSceneStudio` was kept, which
should probably be refactored to be the same type in the model in the
future.

* ui/movies: Add movie scrape dialog.

Adds possibility to update existing movie entries with the URL scraper.

For this the MovieScrapeDialog.tsx was implemented with Performers and
Scenes as a reference. In addition DurationUtils needs to be called one
time for converting seconds from the model to the string that is
displayed in the component. This seemed the least intrusive to me as it
kept a ScrapeResult<string> type compatible with ScrapedInputGroupRow.
2020-08-10 15:34:15 +10:00
..
urlbuilders Implement scraping movies by URL (#709) 2020-08-10 15:34:15 +10:00
cache_thumbs.go Add a cache for gallery thumbnails (#496) 2020-05-11 17:20:08 +10:00
check_version.go Refactor build (#493) 2020-04-29 12:13:08 +10:00
context_keys.go Add grid view, image to tag (#641) 2020-07-07 10:35:43 +10:00
images.go Add random male performer image (#491) 2020-04-25 09:54:42 +10:00
migrate.go Add oshash support (#667) 2020-08-06 11:21:14 +10:00
resolver.go Add library size to main stats page (#427) 2020-04-03 13:44:17 +11:00
resolver_model_gallery.go Gallery list improvement (#622) 2020-06-21 21:43:57 +10:00
resolver_model_movie.go Add Studio to movie and fix movie schema (#458) 2020-04-22 11:22:14 +10:00
resolver_model_performer.go Add gender support for performer (#371) 2020-04-01 09:36:38 +11:00
resolver_model_scene.go Add oshash support (#667) 2020-08-06 11:21:14 +10:00
resolver_model_scene_marker.go Dependency updates 2019-05-27 12:34:26 -07:00
resolver_model_studio.go Parent studios (#595) 2020-06-15 21:34:39 +10:00
resolver_model_tag.go Add grid view, image to tag (#641) 2020-07-07 10:35:43 +10:00
resolver_mutation_configure.go Add oshash support (#667) 2020-08-06 11:21:14 +10:00
resolver_mutation_metadata.go Add oshash support (#667) 2020-08-06 11:21:14 +10:00
resolver_mutation_movie.go Move image blobs into separate tables (#618) 2020-06-23 09:19:19 +10:00
resolver_mutation_performer.go Move image blobs into separate tables (#618) 2020-06-23 09:19:19 +10:00
resolver_mutation_plugin.go Add plugin tasks (#651) 2020-08-08 12:05:35 +10:00
resolver_mutation_scene.go Add oshash support (#667) 2020-08-06 11:21:14 +10:00
resolver_mutation_scraper.go Refactor xpath scraper code. Add fixed and map (#616) 2020-07-21 14:06:25 +10:00
resolver_mutation_studio.go Move image blobs into separate tables (#618) 2020-06-23 09:19:19 +10:00
resolver_mutation_tag.go Add grid view, image to tag (#641) 2020-07-07 10:35:43 +10:00
resolver_query_configuration.go Add oshash support (#667) 2020-08-06 11:21:14 +10:00
resolver_query_find_gallery.go Gallery list improvement (#622) 2020-06-21 21:43:57 +10:00
resolver_query_find_movie.go Add Studio to movie and fix movie schema (#458) 2020-04-22 11:22:14 +10:00
resolver_query_find_performer.go Add slim endpoints for entities to speed up filters (#460) 2020-04-19 12:03:51 +10:00
resolver_query_find_scene.go Add oshash support (#667) 2020-08-06 11:21:14 +10:00
resolver_query_find_scene_marker.go Update GQLGen and break up the schema.graphql file 2019-03-27 12:47:43 -07:00
resolver_query_find_studio.go Parent studios (#595) 2020-06-15 21:34:39 +10:00
resolver_query_find_tag.go Add grid view, image to tag (#641) 2020-07-07 10:35:43 +10:00
resolver_query_logs.go Change thumbnail default size and resize algorithm (#336) 2020-01-31 17:19:15 -05:00
resolver_query_metadata.go Generate cover image (#376) 2020-03-12 08:34:04 +11:00
resolver_query_plugin.go Add plugin tasks (#651) 2020-08-08 12:05:35 +10:00
resolver_query_scene.go Transcode stream refactor (#609) 2020-07-23 11:56:08 +10:00
resolver_query_scraper.go Implement scraping movies by URL (#709) 2020-08-10 15:34:15 +10:00
resolver_subscription_logging.go Add logs to Logs page (#151) 2019-10-24 19:07:07 -04:00
resolver_subscription_metadata.go Stop tasks and show task progress (#181) 2019-11-06 23:35:04 -05:00
routes_gallery.go Add a cache for gallery thumbnails (#496) 2020-05-11 17:20:08 +10:00
routes_movie.go Move image blobs into separate tables (#618) 2020-06-23 09:19:19 +10:00
routes_performer.go Move image blobs into separate tables (#618) 2020-06-23 09:19:19 +10:00
routes_scene.go Fix sprite vtt panic (#718) 2020-08-10 09:20:04 +10:00
routes_studio.go Add grid view, image to tag (#641) 2020-07-07 10:35:43 +10:00
routes_tag.go Add grid view, image to tag (#641) 2020-07-07 10:35:43 +10:00
server.go Add plugin tasks (#651) 2020-08-08 12:05:35 +10:00
session.go Add plugin tasks (#651) 2020-08-08 12:05:35 +10:00
types.go Configuration 2019-04-11 10:55:58 -07:00