Jump to content

Backup / Restore Actors - Beta with local or web based restore.


mickle026
Go to solution Solved by GrimReaper,

Recommended Posts

leihao

Thank you. It works perfectly! All my missing Actor photos is showing now. Your work save my time. 

  • Thanks 1
Link to comment
Share on other sites

  • 3 weeks later...
tr0nllam

Have you made any progress on preventing the plug-in from auto-fetching the person metadata even if the setting is off?

Because of the slowdown that causes, I had to re-install the Custom Person Provider plug-in to use in tandem with this one, but having both plug-ins installed messes with the settings page of the Custom Person Provider plug-in.

Link to comment
Share on other sites

mickle026
9 hours ago, tr0nllam said:

Have you made any progress on preventing the plug-in from auto-fetching the person metadata even if the setting is off?

Because of the slowdown that causes, I had to re-install the Custom Person Provider plug-in to use in tandem with this one, but having both plug-ins installed messes with the settings page of the Custom Person Provider plug-in.

Im not uderstanding which other plugin you have installed.  The Custom Person Provider replaces my other plugins totally.

Link to comment
Share on other sites

tr0nllam
3 hours ago, mickle026 said:

Im not uderstanding which other plugin you have installed.  The Custom Person Provider replaces my other plugins totally.

I'm using the old Custom Person Provider in addition to the new Custom Provider, since the old Custom Person Provider doesn't have the slowdown associated with the attempted metadata retrieval of the new plugin. I just turned off the Custom Provider search in the new one.

Ideally, I would only use the new one, but with the Fetchers enabled, theres around a 5-second delay when opening an actor page w/o metadata and then an additional 5-second delay just to open the image search page. This all happens before an image search even occurs.

Edited by tr0nllam
Link to comment
Share on other sites

mickle026
20 hours ago, tr0nllam said:

I'm using the old Custom Person Provider in addition to the new Custom Provider, since the old Custom Person Provider doesn't have the slowdown associated with the attempted metadata retrieval of the new plugin. I just turned off the Custom Provider search in the new one.

Ideally, I would only use the new one, but with the Fetchers enabled, theres around a 5-second delay when opening an actor page w/o metadata and then an additional 5-second delay just to open the image search page. This all happens before an image search even occurs.

I don't see that in my system any more but ill try to replicate it and see whats going on.

Link to comment
Share on other sites

hotlattle

Thank you very much. This plug-in has helped me a lot. Although I haven't fully understood it yet.

Link to comment
Share on other sites

  • 3 weeks later...
TallBoiDez

This might just be on Linux but, under repair tab the function to use the .actor folder to import actor pictures has no end point it just keeps running continuously with stopping point @mickle026

Link to comment
Share on other sites

GrimReaper
3 minutes ago, Abobader said:

@mickle026 What the latest build file to download? Thanks

AFAIK Apr 21st, that's the one I'm using. 

 

  • Thanks 1
Link to comment
Share on other sites

warrentc3
On 4/21/2022 at 12:37 AM, mickle026 said:

Latest build.  Zip contains build for stable server (CustomProviderStable.dll), and beta server (CustomProviderbeta.dll).

 

Any chance you could maintain releases, versioning, and change notes in the original post?

Link to comment
Share on other sites

mickle026
1 minute ago, GrimReaper said:

AFAIK Apr 21st, that's the one I'm using. 

 

Yes thats the latest on here,

I cannot post the one on my server at the moment because of a few issues, but I have figured out what causes the slow down with pages with missing metadata, and done a lot more "behind the scenes" since that build as I have figured out quite a bit more and how it works.  It will come, its just not ready yet.

As for maintaining build notes on here, I ought to split off to a dedicated plugin page as this is not even the same plugin as post 1.

  • Like 1
Link to comment
Share on other sites

mickle026

I'll post this for now.  Consider it just a preview...

Please keep the one you are currently using backed up somewhere and don't treat this as the latest version.

In the QuickLinks there is a new entry "movie metadata settings" page, nothing here works so ignore it for now.

Whats different? - Quite a lot but not much visibly to see, the main thing is TXT imports for now

Matadata slow downs shouldn't happen in movie pages. (no guarantees!)

Importing from TXT files with certain data should work from the local movie directory.

Enable this at the bottom of Fetchers page

159077474_Screenshot2022-06-16at15-49-22Emby.png.4d854081a19a61c71439756a0762a4d1.png

It will look for any of these files in the movie directory

Cast.txt or cast.txt
About.txt or about.txt
Info.txt or info.txt
Rating.txt or rating.txt
Studio.txt or Studios.txt
Genre.txt or Genres.txt
Category.txt categories.txt

and search them for stings that start with these words

To add People, use csv values

featuring:
Cast:
Starring:
Actors:
Casting:
Pornstars:
Director:
Writer:
Producer:

To add Studios use csv values

Studio:
Studios:
Production House:
Production Company:
Label:

To add Ratings use csv values
  
Rating:
BBFC:
Certification:

To Add Genres use csv values
  
Categories:
Categorie:
Category:
Genres:
Genre:
Tags:

To Add Collections values to Movie Data
  
Collection:
Group:
Series:

An Example is this (Adult), Must be Comma seperated!

About.txt in \Movies\R18\My Friend's Hot Mom Vol. 13 (2008)

Starring:  Brenda James, Nicole Moore, Kelly Leigh, Crystal Court, Bridgette Lee , Georgina Smith
Categories:  Mature, MILF
Rating: XXX
Studio: Naughty America
Collection: My Friend's Hot Mom

Resulting in

450396408_Screenshot2022-06-16at15-52-03Emby.png.327eacd30bf7e7f08ec2a6ca90db1c92.png

1664864250_Screenshot2022-06-16at15-51-55Emby.thumb.png.532679ac0d47bc2e5050353a7d309cf3.png

 

You only need to metadata refresh for this to work, however Collections do not add to the collections on screen, but the data is there (added to the movie internally) for a boxset lookup, which seems to only be triggered on adding new movies but not metadata refreshes - hopefully i'll find out why....

I now have a boxset lookup adapter in the code but its not looking for anything yet .....

 

As I said this is just a preview it will be better than this when its finally released

 

Almost forgot

Overview.txt file in the same location containing th overview/plot only.  No keyword at the front.  The whole file is added to the overview.

CustomProvider.zip

Edited by mickle026
Link to comment
Share on other sites

tr0nllam

Unfortunately, the missing metadata slowdown is still happening. It actually seems a bit worse because there's now a slight pause when right-clicking on an actor without metadata even when the custom image scraper is disabled, which was not the case in the old version. The extreme slowdown is still there when they are enabled as well.

Link to comment
Share on other sites

  • 3 weeks later...
mickle026

Anyone willing to test an Adult Movie plugin for me?  (Currently fetches movie poster, plot, genres , actors (but no actor images) etc )  This is for movies , ie DVD titles and not for scenes.

I want to know how accurate it is or if it miss-identifies titles.  So best not to test on production server, only a test server?

Its seperate from Custom Provider at the moment, but the intention is to add it in eventually.

Oh and its not a scraper, its fetching from one of my own databases.

Link to comment
Share on other sites

  • 1 month later...
paddy75

you wrote:
 

Quote
To Add Genres use csv values
  
Categories:
Categorie:
Category:
Genres:
Genre:
Tags:

but "tags" are not a Genre. All what is in the csv with "Tags:" should go into the "Tags" in emby right?

Link to comment
Share on other sites

mickle026
6 hours ago, paddy75 said:

you wrote:
 

but "tags" are not a Genre. All what is in the csv with "Tags:" should go into the "Tags" in emby right?

I agree, but when using other peoples nfo files, txt, info files etc, the word Tags in them refers to Genres.  So if it were an import of my own generated files then I would have imported them to the Emby Tags, but as this is meant to be helpful to import from txt files in the directory they are imported to genres. (I may remove that from genres later on and add as tags)

Link to comment
Share on other sites

mickle026
6 hours ago, paddy75 said:

sounds good. any idea when you will release the next version?
have a lot of old movies with missing actors pictures 😢

Do you not use my server in the providers,  there are lots on there?

325554698_Screenshot2022-08-21at14-31-05Emby.png.8d34d64663a2dc5e3e335e5fcb7df20a.png

with this config (disable) scrapers if you dont want to use them)

1851589114_Screenshot2022-08-21at14-31-39Emby.png.a6662396f1ebe60e7aac4c2fd333c1b7.png

Link to comment
Share on other sites

paddy75

i tried it but was not successfull.
 

21.Aug.2022  -  19.07.49 Request Made By: Dorothy Patten ,Type: MediaBrowser.Controller.Entities.Person from CP.CS (IEnumerable<RemoteImageInfo>> GetImages)
21.Aug.2022  -  19.07.57 Emby Custom Provider Call to retrieve Movie Metadata
21.Aug.2022  -  19.07.57 Name: Das Schiff der Verurteilten, Year: 1952, IMDB: tt0045574, TMDB: 168330, TVDB: , Custom: 
21.Aug.2022  -  19.07.57 Task<MetadataResult<Movie>> IRemoteMetadataProvider<Movie, MovieInfo>.GetMetadata(MovieInfo info, CancellationToken cancellationToken)
21.Aug.2022  -  19.07.57 Caller: Das Schiff der Verurteilten (1952)
21.Aug.2022  -  19.07.57 Checking for local TXT file data
21.Aug.2022  -  19.07.57 Checking for Backup XML file data
21.Aug.2022  -  19.07.57 FG_XmlReader Cannot Find File: /MovieDB/MovieName/Das Schiff der Verurteilten (1952)/Info.xml
21.Aug.2022  -  19.07.57 FG_XmlReader Cannot Find File: /AdultDB/MovieName/Das Schiff der Verurteilten (1952)/Info.xml

 

I see that the fetcher search for the german title and can't found it. Maybe it makes more sense to search for the original title??

Link to comment
Share on other sites

mickle026

There are 2 separate calls there.

I don't have Dorothy Patten in my backup. (Person call)  So she won't be found.

And the  movie Das Schiff der Verurteilten (English title botany bay) not be found in my data either. (Movie call)

Media and meta contains all of the info that I have it's not as big as tmdb, but has a good number that they don't have.  Also a lot of people they don't have.

Did you have any success with others?

Link to comment
Share on other sites

paddy75

sure, a newer one is "Alexander from 2004"
Missing is:
Jessie Kamm
Patrick Carroll
Peter Williamson
Morgan Christopher Ferris
Robert Earley

Quote
Quote
21.Aug.2022  -  20.15.57 Request Made By: Robert Earley ,Type: MediaBrowser.Controller.Entities.Person from CP.CS (IEnumerable<RemoteImageInfo>> GetImages)
21.Aug.2022  -  20.18.31 Emby Custom Provider Call to retrieve Movie Metadata
21.Aug.2022  -  20.18.31 Name: Alexander, Year: 2004, IMDB: tt0346491, TMDB: 1966, TVDB: , Custom: 
21.Aug.2022  -  20.18.31 Task<MetadataResult<Movie>> IRemoteMetadataProvider<Movie, MovieInfo>.GetMetadata(MovieInfo info, CancellationToken cancellationToken)
21.Aug.2022  -  20.18.31 Caller: Alexander (2004)
21.Aug.2022  -  20.18.31 Checking for local TXT file data
21.Aug.2022  -  20.18.31 Checking for Backup XML file data
21.Aug.2022  -  20.18.31 FG_XmlReader Cannot Find File: /MovieDB/MovieName/Alexander (2004)/Info.xml
21.Aug.2022  -  20.18.31 FG_XmlReader Cannot Find File: /AdultDB/MovieName/Alexander (2004)/Info.xml

 

 

 

Link to comment
Share on other sites

mickle026
9 hours ago, paddy75 said:

Any idea when you can change that "tags" goes into "tags" and release this? So i could go ahead to test my worklow

This is the stable build (not built for the beta server) with 4.60.50 server core nuget.

This has Tags split off to add tags instead of genres, I dont think anything else is changed since the last release (Although im not entirely sure)

I have not tested it, so you will have to let me know if it works or not.

 

My advice is keep the one your using backed up somewhere, incase I built the wrong version, so you can revert back.

CustomProviderStable.zip

Edited by mickle026
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...