adultmm / AdultMediaManager

Adult Media Manager is the ultimate media manager for your adult movies and videos. Organize your content for Kodi, Plex, and other media centers.
192 stars 30 forks source link

Feature Request: Make Video Scraper Available in TV Shows instead of just Movies #63

Open PrSinister opened 2 years ago

PrSinister commented 2 years ago

After struggling for years trying to get Adult series into Kodi & Plex, i perfected my system a few years back. It makes perfect sense, to me anyway.

I manually create a tvshow.nfo and that contains info about the site. Here is an example of one:

image

My folder structure is like so:

image

Inside each season folder, i have this:

image

And finally, this is what a typical episode nfo looks like:

image

I am currently generating the nfo files via a batch file i made. It gets all the info for the nfo from the filenames except for the runtime and plot. Once the nfo files are created, i then load the site folder into Ember's TV Shows and copy/paste the plot and the thumbnail from the site. Manually. Extremely time consuming.

This makes way more sense to me than having 500 "Movies" for a specific site. It clean, organized, and you can watch things "in order", etc...

So the ask is to have the "video" part of the scraper ported to the TV Shows section so that it creates episode nfos instead of movie nfos. It will use the season # and episode # from the filename and the rest is all scraped.

I am in the process of scraping all of Pure Taboo with your great scraper and once i am done, i will have to figure out a way of adding the season and episode nodes into the nfo without messing up the existing data and also rename the premiered node to aired. The -fanart.jpg will be renamed to -thumb.jpg too.

Having the video scraper on the TV Shows side will make everything so much easier.

P.S. To get EMM to properly parse the filenames for what to search for on the movies side, i had to add the following regex:

File: Pure Taboo - 2018-02-27 - Ashley Adams - Daddy Diddler.mp4 EMM: (?i)\s-\s[0-9]{4}-[0-9]{2}-[0-9]{2}\s-\s.*\s-(?i)

File: Nuru Massage - 2022-01-07 - 2022x01 - Gizelle Blanco - Confidence Boost.mp4 EMM: (?i)\s-\s[0-9]{4}-[0-9]{2}-[0-9]{2}\s-\s[0-9]{4}x[0-9]{2}\s-\s.*\s-(?i)

File: Fuck or Fired - 1x02 - She Wants a Job and Likes It Up Her Ass.mp4 EMM: (?i)\s-\s[0-9]x[0-9]{2}\s-.*(?i)

adultmm commented 2 years ago

I investigated the possibility of this request earlier, and there are some tricky points: more videos on the same day, videos without a date, etc. But it's possible to implement. The biggest problem, it's quite a big task, and my time is very limited. I contribute to some other projects for money, and you know, getting money for your work is not a bad thing. :)

So, guys, I'd like to help you, and this is interesting to solve, but I can't promise you anything.

PrSinister commented 2 years ago

Videos on the same day or videos without a date is not an issue as the scraper will search for the Title. That is what it is doing now. The regex i added only takes the site name and the video title. You can continue doing that and EMM can get the episode numbers from the filename. Same thing for the date if the date is not available on the site.

I do understand money is a priority... it's the same for me! :)

Like i said, i have to run some scripts to convert the nfo files but it is working well right now. Take your time. I will definitely donate as this has made my job a lot easier than before

myxtrastufff commented 2 years ago

Yes, please implement this!

adultmm commented 2 years ago

You can found PrSinister's script with a nice description here: https://forum.kodi.tv/showthread.php?tid=370157

Thank you, @PrSinister

sharpordie commented 1 year ago

@PrSinister It would be nice if you could host your scripts on GitHub considering the Kodi forum has been pwned and seems to take a long time to recover.