Jump to content

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


mickle026
Go to solution Solved by GrimReaper,

Recommended Posts

TallBoiDez
Just now, mickle026 said:

So you dont have the path building error?

well as far as backing up to a custom path that's still not working but restoring from the .actors folders in the media folder seems to be working its not gerating a log like shows in the picture, but it did import pictures for my actors.

Link to comment
Share on other sites

TallBoiDez
1 minute ago, mickle026 said:

@TallBoiDez

I want to share the ubuntu plugins directory on my network with write permissions, how do i do that it doesn't allow me permission?

I'm running Through Docker on my NAS the issue you're with Ubuntu permission was one i was never able to overcome because when you look at emby in user it looks like it already has the permission it needs, but idk. I recommend I stalling a NAS OS (Linux base one) or something like that and running it through docker it a lot more easy give permission that way

Link to comment
Share on other sites

mickle026
2 hours ago, TallBoiDez said:

I'm running Through Docker on my NAS the issue you're with Ubuntu permission was one i was never able to overcome because when you look at emby in user it looks like it already has the permission it needs, but idk. I recommend I stalling a NAS OS (Linux base one) or something like that and running it through docker it a lot more easy give permission that way

I don't even know what docker is!

Anyway on linux I have it creating a most of the logs

I have found the error with the backup paths, but there seems to be a permissions issue creating directories with the backup function.  stuck at the moment, doing some googling....

 

The create directory, and therefore cannot write files is definately failing on linux with a permission error - i just have no idea why at the moment.

 

Edited by mickle026
  • Like 1
Link to comment
Share on other sites

mickle026

Figured out whats wrong with linux in the backup part of the plugin, but now totally broke that on both systems, lol.

Linux permissions is a / directory seperator issue.  Linux cannot handle a trailing / on .net create directory.  Going to have to re-write the backup functions for this to be supported in both OS just because of the way i did it for windows.

no worries, i'll do it but It'll be at least a week or so...

45 minutes ago, TallBoiDez said:

@mickle026 the restore from .actors is definitely working for me. thanks for adding that to the plugin 😃

No problem.  I fixed the logging but as above broke the backup.  It is backing up the images on both systems, just not the rest of it for the restore or fetcher to work yet.

The ones you have do work online from my website still for people, album covers, music artists, and song track covers.

  • Like 1
Link to comment
Share on other sites

tr0nllam
22 hours ago, Commerzpunk said:

Thank you very much!

I will try this in a moment.

Just to make more clear whats the basic problem here, i did a few more invenstigations on my system.

Still the movie Vidocq, still the actor Jean-Pierre Gos.

It is scraped by Tiny Media Manager freshly a few days ago, the actor is identfied, has a tmdb ID and a scraped image:

grafik.png.20067bb80ca4e3fa06c6007d0f5340c5.png

 

Even in my filesystem, in the .actor directory, there is the correct picture:

grafik.thumb.png.fc7165c0c69534cfd0743f14d7013c15.png

 

 

Just Emby simply does not show it, it just the grey card:

grafik.thumb.png.6f157c23352d3fc853f5304f952b8045.png

 

As soon as you click the actor, it shows the correct picture and from this moment on in the movie overview too. But its a thing you haev to to actor by actor and no refresh or rescrape inside emby can do it. This is an issue since many years, for many users, and i simply cant understand why its not fixed.

Therefore i ended up to meet you here ;) because thats a chance to fight it!

And thats why i try to explain again and again, and for years, that this is a a problem of wrong or incomplete scraping, its just Emby not showing things that are alreaddy there!

 

Now, i try your new plugin option.

 

Read this thread (https://emby.media/community/index.php?/topic/104833-episode-actor-images-not-downloaded-from-tmdb-when-using-nfos/#comment-1104216), as I identified this issue. It's happens because Tiny Media Manager adds <lockdata>true</lockdata> to NFOs, which tells Emby not to allow a refresh of metadata because it's reading it from the NFO. However, when you import a show or movie using these NFOs, Emby will not download the actor images despite the presence of a TMDBID.

They said they're going to fix the issue.

Edited by tr0nllam
  • Like 1
Link to comment
Share on other sites

tr0nllam

I've noticed in using the new beta plugin that it takes a very long time to load certain actor pages. In the previous version of the Custom Person Provider plugin, that could happen if you had a lot of scrapers selected and the actor had no primary image, but in this version, it happens with certain actors even when they already have an image.

The more scrapers I turn on, the longer it takes, even though it shouldn't be searching for an actor image in this scenario.

Also, the People Web Scrapers function doesn't seem to work unless you either turn on the Developer Server or add a Custom Server URL.

Edited by tr0nllam
Link to comment
Share on other sites

Commerzpunk
2 hours ago, tr0nllam said:

Read this thread (https://emby.media/community/index.php?/topic/104833-episode-actor-images-not-downloaded-from-tmdb-when-using-nfos/#comment-1104216), as I identified this issue. It's happens because Tiny Media Manager adds <lockdata>true</lockdata> to NFOs, which tells Emby not to allow a refresh of metadata because it's reading it from the NFO. However, when you import a show or movie using these NFOs, Emby will not download the actor images despite the presence of a TMDBID.

They said they're going to fix the issue.

Thats a very good information, thank!

It does not completly explain the behavior, because all the basic information from the NFO and, posters, backdrops, description, rating, and maybe half or more of the actor pictures is shown after importing (=copy into to library location) correctly. So Emby "scrapes" the information from the local data, but stops somewhere in the middle (of the actors pictures?).

Link to comment
Share on other sites

Commerzpunk
12 hours ago, mickle026 said:

Now appears to be working correctly on my win10 server (not sure about linux yet)

*Fix to ensure Image type is only the Primary Image
*Fix to not link the file on your drive but copy it to the metadata (Thus not allow Emby to delete the original)

Two options Now,

1/ Replace ALL images with those found in your folders
2/ Replace only those that are MISSING with those found in your folders

As with everything I do, test it on a test server first.  Its working on mine but as proved before plugins may misbehave on others systems.

751843306_Screenshot2022-02-11at18-42-42Emby.png.d1efce17941e16c41e962d90f2801969.png1990619269_Screenshot2022-02-11at18-42-23Emby.png.51c2ebaa21ea623741b70b8acb47f5e4.png

 

Custom Provider.zip 2.99 MB · 6 downloads

That did somethjing! Most ot the movies I picked as random samples, including Vidocq, have a lot more actor images now.

I will do further investigation if the now still gray cards simply have no actor images in the .actor dir, or what else is going on here.

 

An other question: The GUI shows "Running" for the  ".actor missing only" since hours, but the log stopped to fill up long ago.

The logfile ends with some lines from one of my recordings:

11.Feb.2022  -  23.02.00 ================================================================
11.Feb.2022  -  23.02.00 Movie/Person: Wer stiehlt mir die Show? & Riccardo Simonetti
11.Feb.2022  -  23.02.00 Checking for File: /mnt/user/recordings/.actors/Riccardo_Simonetti.jpg
11.Feb.2022  -  23.02.00 Checking for File: /mnt/user/recordings/.actors/Riccardo Simonetti.jpg
11.Feb.2022  -  23.02.00 Checking for File: /mnt/user/recordings/Riccardo_Simonetti.jpg
11.Feb.2022  -  23.02.00 Checking for File: /mnt/user/recordings/Riccardo Simonetti.jpg
11.Feb.2022  -  23.02.00 No File was found mathcing the Actor in Media folder

 

I cant tell, if it just finished working or crashed or something. Would you mind to check if you correctly end the routing by setting the "Running" to "Done" in the GUI and maybe think about to add a "all done" message to the logfile?

Link to comment
Share on other sites

mickle026
4 hours ago, Commerzpunk said:

That did somethjing! Most ot the movies I picked as random samples, including Vidocq, have a lot more actor images now.

I will do further investigation if the now still gray cards simply have no actor images in the .actor dir, or what else is going on here.

 

An other question: The GUI shows "Running" for the  ".actor missing only" since hours, but the log stopped to fill up long ago.

The logfile ends with some lines from one of my recordings:

11.Feb.2022  -  23.02.00 ================================================================
11.Feb.2022  -  23.02.00 Movie/Person: Wer stiehlt mir die Show? & Riccardo Simonetti
11.Feb.2022  -  23.02.00 Checking for File: /mnt/user/recordings/.actors/Riccardo_Simonetti.jpg
11.Feb.2022  -  23.02.00 Checking for File: /mnt/user/recordings/.actors/Riccardo Simonetti.jpg
11.Feb.2022  -  23.02.00 Checking for File: /mnt/user/recordings/Riccardo_Simonetti.jpg
11.Feb.2022  -  23.02.00 Checking for File: /mnt/user/recordings/Riccardo Simonetti.jpg
11.Feb.2022  -  23.02.00 No File was found mathcing the Actor in Media folder

 

I cant tell, if it just finished working or crashed or something. Would you mind to check if you correctly end the routing by setting the "Running" to "Done" in the GUI and maybe think about to add a "all done" message to the logfile?

It does say finished on the webpage (if you keep the page open and dont navigate away while its running), but I'll add that to the log when its finished/done.

Look at the time of the last entry and check the embyserver log, and see if something crashed it at that time and date.

Link to comment
Share on other sites

mickle026
3 hours ago, tr0nllam said:

I love the new .actor import.

Would it be possible to add it for TV Shows as well?

It should already do them aswell.  The coding incorporates "Series" types , ie tv shows.

Unless i need to know a different structure such as if the .actors folder is in a season folder. ie where to look for the actors.

At Episode level it would be a new import button because that would need a different approach. (ie if the .actors folder is where the episode files are)

Edited by mickle026
Link to comment
Share on other sites

GrimReaper
15 minutes ago, mickle026 said:

Unless i need to know a different structure such as if the .actors folder is in a season folder. ie where to look for the actors.

At Episode level it would be a new import button because that would need a different approach. (ie if the .actors folder is where the episode files are)

Nope, both Series regulars and Episode cast are contained in .actors subfolder in TV series root folder.

Link to comment
Share on other sites

mickle026
9 minutes ago, GrimReaper said:

Nope, both Series regulars and Episode cast are contained in .actors subfolder in TV series root folder.

Can anyone give me an example where the plugin is looking from the log?  with where it should be looking (best if you check a TV only actor)

 

Edited by mickle026
Link to comment
Share on other sites

GrimReaper
31 minutes ago, mickle026 said:

Can anyone give me an example where the plugin is looking from the log?  with where it should be looking (best if you check a TV only actor)

 

Here's one on blank portable 4.6.7.0 instance with 1 TV show only, run both ALL followed by MISSING actors task, UI was showing Running... Finished - none observed in logs nor images applied.

embyserver.txt

Edit: Note that it is NFO-only driven instance, all EMBY internal meta-scrapers/fetchers are disabled. Actors are obviously read from NFO, however no \metadata\people subfolder is created yet.

Edited by GrimReaper
Link to comment
Share on other sites

mickle026

Thanks for that but I wanted the log Info generated by my plugin
With info which were TV shows (not the movies)

Just where it was looking for those actors.
1052752237_Screenshot2022-02-12at12-25-24Emby.png.3ab238f83010b88d25e3960a324af287.png

Thanks.

 

Im at work now all weekend (just going), it'll be monday before I get time to look at this properly.

Link to comment
Share on other sites

GrimReaper
32 minutes ago, mickle026 said:

Thanks for that but I wanted the log Info generated by my plugin
With info which were TV shows (not the movies)

Just where it was looking for those actors.
1052752237_Screenshot2022-02-12at12-25-24Emby.png.3ab238f83010b88d25e3960a324af287.png

Thanks.

 

Im at work now all weekend (just going), it'll be monday before I get time to look at this properly.

That is complete log upon running plugin twice - first all Actors then missing actors. Nothing shows in the log, as stated above, it is as tasks were not run at all.

Edit: And again, UI shows Running... Finished but log shows nothing.

embyserver (1).txt

 

Edit: Gotcha, didn't even see those logs.

12.Feb.2022-13.26.09CustomProvider-MEDIAFOLDER.actors(ALL)_Repair_Report.txt

12.Feb.2022-13.26.12CustomProvider-MEDIAFOLDER.actors(MISSING)_Repair_Report.txt

947315431_Screenshot2022-02-12133339.png.ab2c5ed265304115f036671ff3969770.png

1742428833_Screenshot2022-02-12133401.png.b10753ca996c8121f6185e9e96ada8c9.png

The path plugin is looking for is missing TV SHOW folder, i.e. 

C:\Test\Test Series\SUSPICION (2022)\.actors

instead of

C:\Test\Test Series\.actors

as it is currently looking for (and naturally not finding) images.

12.Feb.2022  -  13.26.09 ================================================================
12.Feb.2022  -  13.26.09 Movie/Person: Suspicion & Uma Thurman
12.Feb.2022  -  13.26.09 Checking for File: C:\Test\Test Series\.actors\Uma_Thurman.jpg
12.Feb.2022  -  13.26.09 Checking for File: C:\Test\Test Series\.actors\Uma Thurman.jpg
12.Feb.2022  -  13.26.09 Checking for File: C:\Test\Test Series\Uma_Thurman.jpg
12.Feb.2022  -  13.26.09 Checking for File: C:\Test\Test Series\Uma Thurman.jpg
12.Feb.2022  -  13.26.09 No File was found mathcing the Actor in Media folder
12.Feb.2022  -  13.26.09 ================================================================

 

Edited by GrimReaper
Link to comment
Share on other sites

mickle026

Thanks for that @GrimReaper, thats what i needed.

Just got in from work and had 20 mins spare so looked at this.

12.Feb.2022  -  22.02.26 Movie/Person: Zoolander & David Duchovny
12.Feb.2022  -  22.02.26 Checking for File: \\NASSERVER1\Videos\Test\Zoolander (2001)\.actors\David_Duchovny.jpg
12.Feb.2022  -  22.02.26 Checking for File: \\NASSERVER1\Videos\Test\Zoolander (2001)\.actors\David Duchovny.jpg
12.Feb.2022  -  22.02.26 Checking for File: \\NASSERVER1\Videos\Test\Zoolander (2001)\David_Duchovny.jpg
12.Feb.2022  -  22.02.26 Checking for File: \\NASSERVER1\Videos\Test\Zoolander (2001)\David Duchovny.jpg
12.Feb.2022  -  22.02.26 Movie/Person: Zoolander & David Duchovny
12.Feb.2022  -  22.02.26 Using File: \\NASSERVER1\Videos\Test\Zoolander (2001)\.actors\David_Duchovny.jpg
12.Feb.2022  -  22.02.26 Copied To: C:\Users\mike\AppData\Roaming\Emby-Server\programdata\metadata\library\79\792c1aa210714ae79cb4e79e50d58b63\folder.jpg
12.Feb.2022  -  22.02.26 ~~
12.Feb.2022  -  22.02.28 Movie/Person: Zoolander & Klara Landrat
12.Feb.2022  -  22.02.28 Checking for File: \\NASSERVER1\Videos\Test\Zoolander (2001)\.actors\Klara_Landrat.jpg
12.Feb.2022  -  22.02.28 Checking for File: \\NASSERVER1\Videos\Test\Zoolander (2001)\.actors\Klara Landrat.jpg
12.Feb.2022  -  22.02.28 Checking for File: \\NASSERVER1\Videos\Test\Zoolander (2001)\Klara_Landrat.jpg
12.Feb.2022  -  22.02.28 Checking for File: \\NASSERVER1\Videos\Test\Zoolander (2001)\Klara Landrat.jpg
12.Feb.2022  -  22.02.28 No File was found mathcing the Actor in Media folder
12.Feb.2022  -  22.02.28 ================================================================
12.Feb.2022  -  22.02.28 Completed This Item, found & used 1 Images
12.Feb.2022  -  22.02.28 ================================================================
12.Feb.2022  -  22.02.28 ~~
12.Feb.2022  -  22.02.28 TV Series/Person: 72 Dangerous Animals: Asia & Bob Brisbane
12.Feb.2022  -  22.02.28 Checking for File: \\NASSERVER1\Music\Test Library\TV\72 Dangerous Animals - Asia\.actors\Bob_Brisbane.jpg
12.Feb.2022  -  22.02.28 Checking for File: \\NASSERVER1\Music\Test Library\TV\72 Dangerous Animals - Asia\.actors\Bob Brisbane.jpg
12.Feb.2022  -  22.02.28 Checking for File: \\NASSERVER1\Music\Test Library\TV\72 Dangerous Animals - Asia\Bob_Brisbane.jpg
12.Feb.2022  -  22.02.28 Checking for File: \\NASSERVER1\Music\Test Library\TV\72 Dangerous Animals - Asia\Bob Brisbane.jpg
12.Feb.2022  -  22.02.28 No File was found mathcing the Actor in Media folder
12.Feb.2022  -  22.02.28 ================================================================
12.Feb.2022  -  22.02.28 Completed This Item, found & used 0 Images
12.Feb.2022  -  22.02.28 ================================================================
12.Feb.2022  -  22.02.28 Totally Completed, found & used 1 Images

 

So Emby treats both PATH for Series and Movies differently !  There are 2 options within emby, ask for its path or ask for its containing folder.  For TV Series you definately have to use containing folder.

The typo "mathcing" will be fixed in the next build.

Let me know if its ok

 

 

 

 

 

Edited by mickle026
Link to comment
Share on other sites

tr0nllam
2 hours ago, mickle026 said:

Thanks for that @GrimReaper, thats what i needed.

Just got in from work and had 20 mins spare so looked at this.

12.Feb.2022  -  22.02.26 Movie/Person: Zoolander & David Duchovny
12.Feb.2022  -  22.02.26 Checking for File: \\NASSERVER1\Videos\Test\Zoolander (2001)\.actors\David_Duchovny.jpg
12.Feb.2022  -  22.02.26 Checking for File: \\NASSERVER1\Videos\Test\Zoolander (2001)\.actors\David Duchovny.jpg
12.Feb.2022  -  22.02.26 Checking for File: \\NASSERVER1\Videos\Test\Zoolander (2001)\David_Duchovny.jpg
12.Feb.2022  -  22.02.26 Checking for File: \\NASSERVER1\Videos\Test\Zoolander (2001)\David Duchovny.jpg
12.Feb.2022  -  22.02.26 Movie/Person: Zoolander & David Duchovny
12.Feb.2022  -  22.02.26 Using File: \\NASSERVER1\Videos\Test\Zoolander (2001)\.actors\David_Duchovny.jpg
12.Feb.2022  -  22.02.26 Copied To: C:\Users\mike\AppData\Roaming\Emby-Server\programdata\metadata\library\79\792c1aa210714ae79cb4e79e50d58b63\folder.jpg
12.Feb.2022  -  22.02.26 ~~
12.Feb.2022  -  22.02.28 Movie/Person: Zoolander & Klara Landrat
12.Feb.2022  -  22.02.28 Checking for File: \\NASSERVER1\Videos\Test\Zoolander (2001)\.actors\Klara_Landrat.jpg
12.Feb.2022  -  22.02.28 Checking for File: \\NASSERVER1\Videos\Test\Zoolander (2001)\.actors\Klara Landrat.jpg
12.Feb.2022  -  22.02.28 Checking for File: \\NASSERVER1\Videos\Test\Zoolander (2001)\Klara_Landrat.jpg
12.Feb.2022  -  22.02.28 Checking for File: \\NASSERVER1\Videos\Test\Zoolander (2001)\Klara Landrat.jpg
12.Feb.2022  -  22.02.28 No File was found mathcing the Actor in Media folder
12.Feb.2022  -  22.02.28 ================================================================
12.Feb.2022  -  22.02.28 Completed This Item, found & used 1 Images
12.Feb.2022  -  22.02.28 ================================================================
12.Feb.2022  -  22.02.28 ~~
12.Feb.2022  -  22.02.28 TV Series/Person: 72 Dangerous Animals: Asia & Bob Brisbane
12.Feb.2022  -  22.02.28 Checking for File: \\NASSERVER1\Music\Test Library\TV\72 Dangerous Animals - Asia\.actors\Bob_Brisbane.jpg
12.Feb.2022  -  22.02.28 Checking for File: \\NASSERVER1\Music\Test Library\TV\72 Dangerous Animals - Asia\.actors\Bob Brisbane.jpg
12.Feb.2022  -  22.02.28 Checking for File: \\NASSERVER1\Music\Test Library\TV\72 Dangerous Animals - Asia\Bob_Brisbane.jpg
12.Feb.2022  -  22.02.28 Checking for File: \\NASSERVER1\Music\Test Library\TV\72 Dangerous Animals - Asia\Bob Brisbane.jpg
12.Feb.2022  -  22.02.28 No File was found mathcing the Actor in Media folder
12.Feb.2022  -  22.02.28 ================================================================
12.Feb.2022  -  22.02.28 Completed This Item, found & used 0 Images
12.Feb.2022  -  22.02.28 ================================================================
12.Feb.2022  -  22.02.28 Totally Completed, found & used 1 Images

 

So Emby treats both PATH for Series and Movies differently !  There are 2 options within emby, ask for its path or ask for its containing folder.  For TV Series you definately have to use containing folder.

The typo "mathcing" will be fixed in the next build.

Let me know if its ok

 

 

 

 

CustomProvider.zip 2.99 MB · 0 downloads

It appears to be looking in the correct spot for TV actors now, but is still only looking for series actors and not the individual episode actors.

Link to comment
Share on other sites

mickle026
On 13/02/2022 at 00:29, tr0nllam said:

It appears to be looking in the correct spot for TV actors now, but is still only looking for series actors and not the individual episode actors.

OK added looking in subfolders that may or may not contain an " .actors " folder, so I don't know where else to look "on the storage media" for episode actors if they are not in these folders.

 

749694819_Screenshot2022-02-13at02-28-35Emby.png.e3dac7abb02e4f6bc7838fc159272e02.png

Movies

You can put actors in the Movie Folder path "\<MovieName>\" , or in "\<MovieName>\.actors\" folder
\<MovieName>\Uma_Thurman.jpg
\<MovieName>\Uma Thurman.jpg
\<MovieName>\.actors\Uma_Thurman.jpg
\<MovieName>\.actors\Uma Thurman.jpg

These are all supported


TV Shows

You can put actors in the Folder path, or in any .actors folder contained within any subfolders such as "series 1\.actors\" or "Season1\.actors\".

Actornames should be the same as Emby library entry (same case) but can contain _ underscores.

\<TVShow>\Uma_Thurman.jpg
\<TVShow>\Uma Thurman.jpg
\<TVShow>\.actors\Uma_Thurman.jpg
\<TVShow>\.actors\Uma Thurman.jpg
\<TVShow>\<Folder>\Uma Thurman.jpg
\<TVShow>\<Folder>\Uma_Thurman.jpg
\<TVShow>\<Folder>\.actors\Uma Thurman.jpg
\<TVShow>\<Folder>\.actors\Uma_Thurman.jpg

These are all supported

 

I hope this fixes what you require :)

 

Is there any thing similar for music artists?

 

 

 

 

Edited by mickle026
Link to comment
Share on other sites

tr0nllam
6 minutes ago, mickle026 said:

OK added looking in subfolders that may or may not contain an " .actors " folder, so I don't know where else to look "on the storage media" for episode actors if they are not in these folders.

 

749694819_Screenshot2022-02-13at02-28-35Emby.png.e3dac7abb02e4f6bc7838fc159272e02.png

Movies

You can put actors in the Movie Folder path "\<MovieName>\" , or in "\<MovieName>\.actors\" folder
\<MovieName>\Uma_Thurman.jpg
\<MovieName>\Uma Thurman.jpg
\<MovieName>\.actors\Uma_Thurman.jpg
\<MovieName>\.actors\Uma Thurman.jpg

These are all supported


TV Shows

You can put actors in the Folder path, or in any .actors folder contained within any subfolders such as "series 1\.actors\" or "Season1\.actors\".

Actornames should be the same as Emby library entry (same case) but can contain _ underscores.

\<TVShow>\Uma_Thurman.jpg
\<TVShow>\Uma Thurman.jpg
\<TVShow>\.actors\Uma_Thurman.jpg
\<TVShow>\.actors\Uma Thurman.jpg
\<TVShow>\<Folder>\Uma Thurman.jpg
\<TVShow>\<Folder>\Uma_Thurman.jpg
\<TVShow>\<Folder>\.actors\Uma Thurman.jpg
\<TVShow>\<Folder>\.actors\Uma_Thurman.jpg

These are all supported

 

I hope this fixes what you require :)

 

Is there any thing similar for music artists?

 

CustomProvider.zip 2.99 MB · 0 downloads

 

 

The issue isn't where the .actors folder is located, the issue is that the plugin doesn't look for actor images that only appear in individual episodes. Tiny Media Manager puts all TV Show actor images in the same .actors folder, so the plugin is looking in the right spot, it just doesn't appear to search for actors that only appear in the episodes and aren't listed as series regulars.

Link to comment
Share on other sites

mickle026
6 minutes ago, tr0nllam said:

The issue isn't where the .actors folder is located, the issue is that the plugin doesn't look for actor images that only appear in individual episodes. Tiny Media Manager puts all TV Show actor images in the same .actors folder, so the plugin is looking in the right spot, it just doesn't appear to search for actors that only appear in the episodes and aren't listed as series regulars.

OK, sorry for misunderstanding, so I have to query Emby on episode level then because asking for the series actors is not giving me them.

This is easy , but are the actors in the root folder/.actors of the series or in series x/.actors folders?

Link to comment
Share on other sites

tr0nllam
1 minute ago, mickle026 said:

OK, sorry for misunderstanding, so I have to query Emby on episode level then because asking for the series actors is not giving me them.

This is easy , but are the actors in the root folder/.actors of the series or in series x/.actors folders?

They're all in "TV Shows\<TV Show Name>\.actors," so not separated by individual season.

Edited by tr0nllam
Link to comment
Share on other sites

mickle026

So hopefully I got it right this time

Took out the code for checking season folders as written above as its not needed and probably a waste of time.

Added code to query episodes.  First check the main folder then the episodes.  It might do all the TV Shows main folders then all the episodes (not checked the order)

1518014009_Screenshot2022-02-13at03-40-53Emby.png.e731a8f40b68f5a1e9d1f0a7e15e95d0.png

 

1950465706_Screenshot2022-02-13at03-39-19Emby.png.1fb35c8ec1d25e25fc477b1915e323f2.png

Movies

You can put actors in the Movie Folder path "\<MovieName>\" , or in "\<MovieName>\.actors\" folder
\<MovieName>\Uma_Thurman.jpg
\<MovieName>\Uma Thurman.jpg
\<MovieName>\.actors\Uma_Thurman.jpg
\<MovieName>\.actors\Uma Thurman.jpg

These are all supported

TV Shows Main Cover & Episodes

You can put actors in the TV Show path in an .actors folder.

Actornames should be the same as Emby library entry (same case) but can contain _ underscores.

\<TVShow>\Uma_Thurman.jpg
\<TVShow>\Uma Thurman.jpg
\<TVShow>\.actors\Uma_Thurman.jpg
\<TVShow>\.actors\Uma Thurman.jpg

These are all supported

 

Let me know if this works, thanks

 

 

Edited by mickle026
  • Like 1
Link to comment
Share on other sites

GrimReaper
1 minute ago, mickle026 said:

So hopefully I got it right this time

Took out the code for checking season folders as written above as its not needed and probably a waste of time.

Added code to query episodes.  First check the main folder then the episodes.  It might do all the TV Shows main folders then all the episodes (not checked the order)

1518014009_Screenshot2022-02-13at03-40-53Emby.png.e731a8f40b68f5a1e9d1f0a7e15e95d0.png

 

1950465706_Screenshot2022-02-13at03-39-19Emby.png.1fb35c8ec1d25e25fc477b1915e323f2.png

Movies

You can put actors in the Movie Folder path "\<MovieName>\" , or in "\<MovieName>\.actors\" folder
\<MovieName>\Uma_Thurman.jpg
\<MovieName>\Uma Thurman.jpg
\<MovieName>\.actors\Uma_Thurman.jpg
\<MovieName>\.actors\Uma Thurman.jpg

These are all supported

TV Shows Main Cover & Episodes

You can put actors in the TV Show path in an .actors folder.

Actornames should be the same as Emby library entry (same case) but can contain _ underscores.

\<TVShow>\Uma_Thurman.jpg
\<TVShow>\Uma Thurman.jpg
\<TVShow>\.actors\Uma_Thurman.jpg
\<TVShow>\.actors\Uma Thurman.jpg

These are all supported

 

CustomProvider.zip 2.99 MB · 0 downloads

Great stuff, @mickle026. I reckon you can also dump search inside movie/TV show root folder - images will either be in .actors subfolder or not at all, spare some time.

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...