Documentation
¶
Index ¶
- func PathToGalleries(name string, paths []string, galleryReader models.GalleryReader) ([]*models.Gallery, error)
- func PathToImages(name string, paths []string, imageReader models.ImageReader) ([]*models.Image, error)
- func PathToPerformers(path string, reader models.PerformerReader, cache *Cache) ([]*models.Performer, error)
- func PathToScenes(name string, paths []string, sceneReader models.SceneReader) ([]*models.Scene, error)
- func PathToStudio(path string, reader models.StudioReader, cache *Cache) (*models.Studio, error)
- func PathToTags(path string, reader models.TagReader, cache *Cache) ([]*models.Tag, error)
- func ScrapedMovie(qb models.MovieReader, m *models.ScrapedMovie) error
- func ScrapedPerformer(qb models.PerformerReader, p *models.ScrapedPerformer, ...) error
- func ScrapedStudio(qb models.StudioReader, s *models.ScrapedStudio, stashBoxEndpoint *string) error
- func ScrapedTag(qb models.TagReader, s *models.ScrapedTag) error
- type Cache
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PathToGalleries ¶
func PathToImages ¶
func PathToPerformers ¶
func PathToScenes ¶
func PathToStudio ¶ added in v0.12.0
PathToStudio returns the Studio that matches the given path. Where multiple matching studios are found, the one that matches the latest position in the path is returned.
func PathToTags ¶
func ScrapedMovie ¶
func ScrapedMovie(qb models.MovieReader, m *models.ScrapedMovie) error
ScrapedMovie matches the provided movie with the movies in the database and sets the ID field if one is found.
func ScrapedPerformer ¶
func ScrapedPerformer(qb models.PerformerReader, p *models.ScrapedPerformer, stashBoxEndpoint *string) error
ScrapedPerformer matches the provided performer with the performers in the database and sets the ID field if one is found.
func ScrapedStudio ¶
func ScrapedStudio(qb models.StudioReader, s *models.ScrapedStudio, stashBoxEndpoint *string) error
ScrapedStudio matches the provided studio with the studios in the database and sets the ID field if one is found.
func ScrapedTag ¶
func ScrapedTag(qb models.TagReader, s *models.ScrapedTag) error
ScrapedTag matches the provided tag with the tags in the database and sets the ID field if one is found.
Types ¶
Click to show internal directories.
Click to hide internal directories.