Giter Site home page Giter Site logo

codyberenson / pgma-modernized Goto Github PK

View Code? Open in Web Editor NEW
119.0 29.0 42.0 76.76 MB

An updated approach for Plex Gay Media Adult Agents for both Full Feature Films and Scenes

License: MIT License

Python 100.00% VBScript 0.01% PowerShell 0.01%
plex plex-media-server plexmediaserver gay-adult-scenes gay-adult-films gay gay-agents gay-adult-agents plex-gay-adult plex-gay-adult-agents

pgma-modernized's People

Contributors

acvigue avatar codeanator avatar codyberenson avatar minielim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pgma-modernized's Issues

Suggested new Agent

gay-torrents.net would be great to get the "tags" as well. bareback, group, condom, solo, etc.

Default regex for filenames

Id suggest switching default regex from:
^\((?P<studio>.+)\) - (?P<title>.+) \((?P<year>\d{4})\)
to:
^\((?P<studio>.+)\) *- *(?P<title>.+) \((?P<year>\d{4})\)

it would allow for "(Active Duty) - Phoenix River and Ryan Jordan (2018).mp4" to still be found in case there is a space typo. GitHub removes spaces so you cant see the example

also trim the whitespaces before and after the variables in the matchFilename functions of the init.py files

Can't get the Scenes agent to return any matches

Not having any problems with the Films agent, but I've tried any number of combinations in naming scenes but nothing seems to work. Doesn't seem to matter what studio I try. I've even gone so far as to go directly to the waybig site and copy what they have, and that doesn't work either. I'm probably missing something but can't seem to figure it out.

For example, here are three different websites for the scene:
https://www.gayeroticvideoindex.com/E/23393.html
https://www.waybig.com/video/american-in-prague-2019-blake-mitchell-scene-one-bel-ami-online-433595.html
https://fagalicious.com/belami-blake-mitchell-is-an-american-in-prague-eluan-jeunet-andrei-karenin-bareback/

What would be a way to name this file to get it to find something.

The above is just one example. As I mentioned I can't get any scenes to work.

Thanks!

First Time User, Unable to Match Scenes

HI
Thanks for making this great tool!
I am struggling to get "Gay Adult Scenes" to match my videos. I have all 4 options selected, except Local Media Assets.
I am mostly at the testing level of setup. I was able to get a match to a movie using "Gay Adult Films" (although I actually need to match specific scenes), so it appears that info, photos, etc. are pulling down.
However, I cannot get the scenes to match. I have been working with a Sean Cody scene with Jayce & Jaymus. I have located it on three of the sites: https://www.waybig.com/blog/2019/04/05/sean-cody-jaymus-fucks-jayce/; https://fagalicious.com/sean-cody-jaymus-jayce-bareback-gay-porn/; and https://www.queerclick.com/qc/2019/04/sean-cody-jayce-and-jaymus.php.
I am using the naming format "(Studio) - Name (year)". I have tried both seancody & Sean Cody for the studio. I have tried naming my file to match each title (Jaymus f's Jayce; Jaymus f's Jayce bareback; and Jacyce and Jaymus). And am using the year 2019.
It also appears that the console shows Plex is calling out to each site to request information, but am not experienced enough to be able to debug the console messages.

Do you have any suggestions for what I should check or try to troubleshoot this? THANKS!

Update Agents to allow for Local Media Assets

There are studios that pretty much don't match anywhere other than IAFD (e.g., scenes from blake mason). There are also studios that have about a 50% match on the three blogs but the remaining all match on IAFD (Pride Studios and Kristen Bjorn and GayRoom). So for those four, to name a few, I put the IAFD named file in its own folder with artwork from either the sites themselves or from google titled "poster.jpg". The combination of our IAFD agent and Plex's native Local media agent matches to IAFD and retrieves all the metada and pulls in the poster artwork from the folder.

image

image

Request: Please enable Local Media Assets in the GayAdult agents.

Backing up Plex

Hi friends,

Any best practices for backing up your Plex libraries and settings? I backup all my video files but wondering if there's another step I should do to make sure my metadata and album artwork is backed up in case of a drive failure. What do you guys do?

Plex Movie Scanner, Plex Video Files, Plex Video Files Scanner

Hello, can you help me? When choosing the agent in the library setup window, when it asks for scanner, which scanner option should I choose? Plex Movie Scanner, Plex Video Files, or Plex Video Files Scanner.

I'm not sure which one works/works best with this. Thank you!

FG and WB Won't match this file

Trying to match the latest Pop-Up video from Sean Cody but neither Waybig or Fagalicious will match. Other files will match fine.

FG: Sean Cody: Tanner, Bryce, Coleman, David, Andy and Noel’s hot bareback orgy in “Mountain Getaway – Day 4” (‘Pop‑Up’ Edition)

https://fagalicious.com/sean-cody-mountain-getaway-day-4-pop%e2%80%91up-edition-tanner-bryce-coleman-david-andy-noel-bareback-orgy/

I named the file "(Sean Cody) - Tanner, Bryce, Coleman, David, Andy and Noel’s hot bareback orgy in “Mountain Getaway – Day 4” (‘Pop‑Up’ Edition) (2020).mp4"

Recommended programs for renaming movie files and directories automatically

Are there any recommended programs that can do the heavy lifting of renaming the movie files and creating directories etc. instead of having to do that manually? ie; MediaCompanion or Media Center Master or something similar that can do the manual labor-intensive stuff that the plugin's don't do that many of us that have TB's of porn don't want to undertake. So to use the great work you and others have done, we need to rename the files and folders so the agents will pick them up. That task, unless automated, will prevent a lot of people from using and gaining the benefit of the agents. We need a program that will automate that process.

GEVI Update

@CodyBerenson
I have made a number of changes to GEVI's search string.
These were the issues for a number of files...
if the title had a digit in it - it split the search string at the point of the digit...
for example
(All Worlds Video) - Thr3 The Hard Way (2010).avi
the search title after processing returned th instead of thr as intended.. this th was passed to GEVI as the search string...
In addtion to this GEVI searched for all files containing the search string, in this case all words containin th would be picked up and searched through.... in this case it got to 165 pages before i cancelled...

I have changed the search so that if the first word of a movie is numerical it will search on this number,
If the first word contains mixed alpha and numeric it will search on this
if there is a standalone digit for example hard cocks 2 - ouch.... it will take hard cocks as the search and thr3 the hard way will be processed as Thr3 The Hard Way

lastly GEVI now searchs on strings starting with the search string rather than containing the search string, this means fewer results are returned and processing is faster.

if the search returns no titles it quits immediately, this did not allows happen as there was an error in the code, in relation to the newly enhanced multiple page processing.

Error starting framework core for AEBNii.bundle.

Here is the output from the logfile:

2020-07-09 21:26:28,410 (7f86e10baf40) : INFO (core:349) - Starting framework core - Version: 2.6.3, Build: 864bbcb (Fri Jul 03 18:05:35 UTC 2020)
2020-07-09 21:26:28,410 (7f86e10baf40) : DEBUG (core:361) - Using the standard policy
2020-07-09 21:26:28,410 (7f86e10baf40) : DEBUG (core:450) - Starting runtime component.
2020-07-09 21:26:28,412 (7f86e10baf40) : DEBUG (core:450) - Starting caching component.
2020-07-09 21:26:28,412 (7f86e10baf40) : DEBUG (core:450) - Starting data component.
2020-07-09 21:26:28,412 (7f86e10baf40) : DEBUG (core:450) - Starting networking component.
2020-07-09 21:26:28,452 (7f86e10baf40) : DEBUG (networking:261) - Loaded HTTP cookies
2020-07-09 21:26:28,472 (7f86e10baf40) : DEBUG (networking:428) - Setting the default network timeout to 20.0
2020-07-09 21:26:28,472 (7f86e10baf40) : DEBUG (core:450) - Starting localization component.
2020-07-09 21:26:28,472 (7f86e10baf40) : INFO (localization:409) - Setting the default locale to en-us
2020-07-09 21:26:28,473 (7f86e10baf40) : DEBUG (core:450) - Starting messaging component.
2020-07-09 21:26:28,473 (7f86e10baf40) : DEBUG (core:450) - Starting debugging component.
2020-07-09 21:26:28,473 (7f86e10baf40) : DEBUG (core:450) - Starting services component.
2020-07-09 21:26:28,473 (7f86e10baf40) : DEBUG (core:450) - Starting myplex component.
2020-07-09 21:26:28,474 (7f86e10baf40) : DEBUG (core:450) - Starting notifications component.
2020-07-09 21:26:28,494 (7f86c4ff9700) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.aebnii'
2020-07-09 21:26:28,623 (7f86e10baf40) : DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.agents.aebnii in namespace 'metadata'
2020-07-09 21:26:28,660 (7f86e10baf40) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2020-07-09 21:26:29,525 (7f86c4ff9700) : DEBUG (services:265) - Plug-in is not daemonized - loading services from system
2020-07-09 21:26:29,525 (7f86e10baf40) : DEBUG (runtime:1117) - Created a thread named 'load_all_services'
2020-07-09 21:26:29,526 (7f86c4ff9700) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/:/plugins
2020-07-09 21:26:29,527 (7f86e10baf40) : DEBUG (runtime:1117) - Created a thread named 'get_server_info'
2020-07-09 21:26:29,527 (7f86a37fe700) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400'
2020-07-09 21:26:29,527 (7f86e10baf40) : DEBUG (core:150) - Finished starting framework core
2020-07-09 21:26:29,528 (7f86e10baf40) : DEBUG (core:560) - Loading plug-in code
2020-07-09 21:26:29,531 (7f86a37fe700) : DEBUG (core:539) - Server version is 1.19.5.3035-864bbcbb7
2020-07-09 21:26:29,799 (7f86c4ff9700) : DEBUG (services:362) - Loaded services
2020-07-09 21:26:29,827 (7f86e10baf40) : DEBUG (core:566) - Finished loading plug-in code
2020-07-09 21:26:29,831 (7f86a3fff700) : DEBUG (services:438) - No shared code to load
2020-07-09 21:26:29,854 (7f86e10baf40) : DEBUG (preferences:258) - Loaded preferences from DefaultPrefs.json
2020-07-09 21:26:29,854 (7f86e10baf40) : INFO (preferences:161) - No user preferences file exists
2020-07-09 21:26:29,855 (7f86e10baf40) : CRITICAL (core:615) - Exception starting plug-in (most recent call last):
File "/usr/lib/plexmediaserver/Resources/Plug-ins-864bbcbb7/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/core.py", line 608, in start
self.sandbox.execute(self.init_code)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-864bbcbb7/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 256, in execute
exec(code) in self.environment
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/AEBNii.bundle/Contents/Code/init.py", line 10, in
FILEPATTERN = Prefs['regex']
File "/usr/lib/plexmediaserver/Resources/Plug-ins-864bbcbb7/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 108, in
getitem = lambda x, y: x.getitem(y),
File "/usr/lib/plexmediaserver/Resources/Plug-ins-864bbcbb7/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/runtimekit.py", line 432, in getitem
return self._sandbox.preferences.get()[name]
File "/usr/lib/plexmediaserver/Resources/Plug-ins-864bbcbb7/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/preferences.py", line 327, in getitem
if found == False and self._user_values and not self._core.config.daemonized:
File "/usr/lib/plexmediaserver/Resources/Plug-ins-864bbcbb7/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/preferences.py", line 206, in _user_values
self._load_user_file()
File "/usr/lib/plexmediaserver/Resources/Plug-ins-864bbcbb7/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/preferences.py", line 162, in _load_user_file
self._save_user_file()
File "/usr/lib/plexmediaserver/Resources/Plug-ins-864bbcbb7/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/preferences.py", line 193, in _save_user_file
el.append(self._core.data.xml.element(name, self._user_values_dict.get(name, pref.encode_value(pref.default_value))))
File "/usr/lib/plexmediaserver/Resources/Plug-ins-864bbcbb7/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 130, in element
return self._construct_el(etree.Element(name), text, kwargs)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-864bbcbb7/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 124, in _construct_el
el.text = text
File "lxml.etree.pyx", line 916, in lxml.etree._Element.text.set (lxml-2.3/src/lxml/lxml.etree.c:36134)
File "apihelpers.pxi", line 721, in lxml.etree._setNodeText (lxml-2.3/src/lxml/lxml.etree.c:17141)
File "apihelpers.pxi", line 1366, in lxml.etree._utf8 (lxml-2.3/src/lxml/lxml.etree.c:22211)
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters

Match issue with Dr. Jerkoff & Mr. Hard

Hey Guys... I've tried different combinations with this to no avail.

I have the title as: (Big Video) - Dr. Jerkoff & Mr. Hard (1996)

The problem seems to be the &, which is removed.
The search query generated:
https://www.gayeroticvideoindex.com/search.php?type=t&where=b&query=dr+jerkoff+mr+hard&Search=Search&page=1

finds nothing. But if you modify it and add back in the & and use:
https://www.gayeroticvideoindex.com/search.php?type=t&where=b&query=dr+jerkoff+&+mr+hard&Search=Search&page=1

It works.

Any ideas on how I can work around this? Thanks much!

Update image cropping for QC, WB, and Fagalicious

@JPH71, now that Aiden has absolved all responsibilities and knowledge of us (I'm tempted to @ him here, just to piss him off), we've had to establish our own repository for your amazing Agents.

While i check out options for cloud hosting the Thumbor instance, can you please update the Agents to use the http://34.67.235.246:8888/unsafe/ Thumbor instance, and perhaps include your .vbs as a backup?

Enhance GEVI to match titles with punctuation and non-standard characters in them

@JPH71

Hi Jason,

The major update to GEVI fixed so, so much...not that it wasn't already terrific to start.

So, really, the largest challenge with GEVI now is when there's punctuation in the title of the movie:

(Celsius Productions) - Hard To Believe! (1986).mpg
(Video 10) - G.I. Mac (1988).mpg
(S.E.V.P.) - Happy Birthday Bruce! (1999).avi
(Pietro Films) - Mãos à Obra (2001).avi

You ROCK!

Can't find a match for this TIM title..

I can't get this title (Fuck 8 (Treasure Island)) on GEVI to match, and I think I know why, but you're the experts here. However, since there is no entry on IAFD it's my thoughts as to why it won't, and I searched high and low, but as you know TIM isn't on AEBN anymore. I tried to use the (TreasureIsland) after the title and without since the others in the series had no issues. I also tried another naming convention since It was on another of the sites (GayHotMovies), but I am not sure how to get the agent to point there (TIMFuck Vol. 8)

I've attached the GEVI log files but if you need another, let me know.
com.plexapp.agents.GEVI.log.zip

QC - Remove Genre Functionality in Search

QC at times offers quasi-genres in the title of the scene. Although the agent was built to leverage the genre to create collections, it sometimes interferes with the matching.

e.g.,
(Lucas Entertainment) - Marcus Isaacs and Drew Sumrok FLIP-FUCK RAW (2014)
https://www.queerclick.com/qc/2014/05/lucas_entertainment_marcus_isaacs_and_dr.php

(Sean Cody) - David and Tanner – POP-UP (2020)
https://www.queerclick.com/qc/2020/06/sean-cody-david-and-tanner-pop-up.php

Request: Please disable genre functionality and logic so that QC and update the RegEx so that QC performs similar to the other Agents.

Thanks!

WB and FG not pulling in posters

I downloaded fresh new agents from the Code page yesterday and replaced them all and stopped/started server. WB and FG files will put in all metadata except posters. I checked and I am still using https://cdn.vigue.me/unsafe in the agent settings. Is that still correct?

Another title I can't get to match.

Please describe the challenge:
I can't get this title (Fuck 8 (Treasure Island)) on GEVI to match, and I think I know why, but you're the experts here. However, since there is no entry on IAFD it's my thoughts as to why it won't, and I searched high and low, but as you know TIM isn't on AEBN anymore. I tried to use the (TreasureIsland) after the title and without since the others in the series had no issues. I also tried another naming convention since It was on another of the sites (GayHotMovies), but I am not sure how to get the agent to point there (TIMFuck Vol. 8)

I've attached the GEVI log files but if you need another, let me know.
com.plexapp.agents.GEVI.log.zip

IAFD won't match title

Hope you all are doing well and being safe! Here's another one I can't get to match: (Fuckermate) - Franklin Acevedo And Bastian Karim [Inch by Inch] (2018). I think it's the brackets throwing it off but it won't match without them either. Here's the IAFD link: http://www.iafd.com/title.rme/title=franklin+acevedo+and+bastian+karim+%5binch+by+inch%5d/year=2018/franklin-acevedo-and-bastian-karim-%5binch-by-inch%5d.htm

Logs attached. Any ideas boys?
com.plexapp.agents.IAFD.log

Web Developers Help Urgently Needed, Please!

@acvigue @mrplow254

Friends, and any web developers, we need your help. The change that Fagalicious has made to its search has perplexed us. This is from Jason....any help/pointers you could offer would be really, really appreciated! Thanks so much in advance!

From @JPH71:

this is the full xPath to the list of titles

  1. //div[@Class="page-wrap"]/div[@Class="page-main"]/div[@Class="entry-content"]/div[@Class="wgs_wrapper"]/div[@id="___gcse_1"]/div[@Class="gsc-control-cse gsc-control-cse-en"]/div[@Class="gsc-control-wrapper-cse"]/div[@Class="gsc-results-wrapper-nooverlay gsc-results-wrapper-visible"]/div[@Class="gsc-wrapper"]/div[@Class="gsc-resultsbox-visible"]/div[@Class="gsc-resultsRoot gsc-tabData gsc-tabdActive"]/div[@Class="gsc-results gsc-webResult"]/div[@Class="gsc-expansionArea"]/div[@Class="gsc-webResult gsc-result"]/div[@Class="gs-webResult gs-result"]/div[@Class="gsc-thumbnail-inside"]/div[@Class="gs-title"]/a[@Class="gs-title"]

I shorten it to this

  1. //a[@Class="gs-title"]

which returns nothing in the code but in Chrome developer when one inspects the page it returns the correct number of search results

however, when scraping it returns up to this point

  1. //div[@Class="page-wrap"]/div[@Class="page-main"]/div[@Class="entry-content"]/div[@Class="wgs_wrapper"]/div[@id="___gcse_1"]

That is to say if I run

        titleList = html.xpath('any of the three xpath')
        self.log('SEARCH:: Result Page No: %s, Titles Found %s', pageNumber, len(titleList))

        for title in titleList:
            # Site Entry : Composed of Studio, then Scene Title separated by a Colon
            try:
                siteEntry = title.xpath('//text()')
                siteEntry = ''.join(siteEntry)
                siteEntry = siteEntry.split(":")
                self.log('SEARCH:: Site Entry: %s', siteEntry)
            except:
                continue

I get some output for strings 1 and 3, but nothing for 2...

it's like the page has not loaded anything by the time i get to the for loop and the length of the titleList is ZERO for string 2.
For strings 1 and 3, it seems that whatever is returned is not what is displayed in the web browser if you click on the following link:

https://fagalicious.com/search_gcse/?q=dennis+calvin+and+jordan+flip+fuck+in+seancody

Could you post this on our repository and ask for help?

Cheers

Jason

IAFD won't match title

Trying to match (Str8Hell) - Martin and Boda - Raunchy Raw (2017) but can't seem to get it to match IAFD title. I've tried the following combinations:

(Str8hell.com) - Martin and Boda - Raunchy Raw (2017)
(Str8 hell) - Martin and Boda - Raunchy Raw (2017)
(Williams Higgins) - Martin and Boda - Raunchy Raw (2017)
(WilliamsHiggins.com) - Martin and Boda - Raunchy Raw (2017)

Any ideas?
com.plexapp.agents.IAFD.log

Gevi was not pulling the full summary

@CodyBerenson

GEVI only scrapped the first paragraph of the summary.
This has being corrected, it also now includes scene breakdowns if they are found.
I also came across some titles that had ratings - so these are now also scrapped.
I have tested against 80+ titles
Will send it in tomorrow - after I have checked the cast pictures....

Directory Structure Best Practices

I would like to thank Cody and others involved in putting this together. A lot of time and effort went into this. Thank you!

  1. Best practices for directory structure. Can you put a screen print of the way your directory structure looks like with the movie names? In order to achieve the results you did.
  2. If you place all the movies in one directory do you choose all the agents for Gay Adult.
  3. Is the format of the movie/scene the same requirement for all?
  4. What happens if you don't have the release date? Some people have just put (1900).
  5. In the format of the file name in some places in your notes it appears there are two spaces which are on either side of the dash between the studio and the title (studio)space space - space space Movie Title space space (year). Is there one or two spaces?
  6. Since we are populating the Studio can that be auto populated into the Studio meta tag?
  7. I have two plugin directories in Plex is this correct? See image
    twodirectories Not sure what to do. I put all the plugins in the repository in the the first one. Just not sure its working.

Thank you!

Create new AdultDVDMarketplace Agent

AdultDVDMarketplace, https://www.adultdvdmarketplace.com/home_gay.html is a service similar to AEBN, HomoActive, GayHotMovies, and GayDVD Empire. Please create an agent for this site, similar to the other Agents in the Gay Adult Films set of agents. Include whatever metadata the site provides (e.g., Poster, description, release date, collection tags, director, actors (with images sourced from IAFD).

Cheers!

Ease mandatory Date of Release for Films

I'm in awe of the amazing work you put into this. I've been waiting so long for something this good to come along, and here it is.

I do have a slight request/enhancement/unintended conflict resolve idea that I"m sure you have a reason for it being the way it is, but I've run into several instances in GEVI where the release date is unknown. Therefore, the scrape does not recognize the title, and GEVI is my go-to agent.

Is there the possibility you can alleviate the mandatory requirement for adding the Release Date (YYYY) for full titles using the GEVI agent? For the most part, I'm able to name my files correctly using the studio and the title as it correctly shows, but for my 2k+ titles, I am having to look up the release year for each one, and it is painstaking.

Please provide some relief, if possible!

Please add formatted file name information as meta data if none found

If the movie/scene etc can not be found on any of the sites, due to any number of reasons. Can the formatted file name information be plugged into and used as the metadata as part of the Local Media Resources agent (temporarily at least)? I have over 8,000 movies in my porn collection. I have painstakingly spent hours going through and renaming all the files in the standard of "(Studio) - Movie Title (YYYY)." I have created a new NAS Plex Server with brand new drives and decided that I am going to place all movies in one Movies Directory/Library. I have downloaded and installed the PGMA-Modernized Bundles. And configured the Plugin/Agent with Local Media Resources as last in the list. And using Gay Adult as the Library type and correct scanner. I started adding the movies to the library/Directory before I pointed Plex to it.

I have only imported about 100 movies/scenes so far. For those movies/scenes that cannot be found can the (Studio) be added to the "Studio" Tag? Can the "Movie Title" be added to the "Movie Title" "Sort Title" and the (YYYY) based on the file name?

If this information were plugged into the metadata I could at least use some of the filterings and sorting features of Plex without having all the metadata from a web site. And all the hard work of renaming the movies will be worth something.

There should be an easy way to see if movies didn't get scrapped or there was not a match in bulk. Maybe there is and I am not seeing it.

ScreentPrint1
screenprint2
screentprint3
screenprint4
ScreenPrint5
screentprint6

Thank you again for your hard work.

Please update the Agents to use either Studio or Distributor

@JPH71
Some indexing sites such as Gay Erotic Video Index (GEVI) and Internet Adult Film Database (IAFD) include both Studio and Distributor (often different) metadata. It is easy for someone to use one rather than the other, which hampers matching. Without changing the file naming convention, i.e. (Studio) - Title (YYYY).ext please update the logic so that the Agent will search and match the file regardless if a user utilized Studio or Distributor in the (Studio) portion of the file name.

Replace VB Script Image Cropper with a Python Alternative

@JPH71
When the thumbor instance is unavailable, the Scene Agents will fire off a VB script which crops poster images. It is a terrific solution and works perfectly....as long as you are on a windows platform.

Please consider replacing the VB script functionality with a Python Alternative, if feasible, so that the solution is platform agnostic.

Hopefully @acvigue is able to identify the issue with the thumbor instance for those folks not on a Windows platform.

Feature + blog site requests

First off,
Amazing work done by y'all. I would have never thought to use blog sites for agent scraping. I am working on refactoring all these wonderful agents into a system that runs on Node.JS that has a single web interface page to visually / easily debug any scraping issues, auto updating agents from a master repo, and only one plugin that attaches to Plex, so no more restarting Plex every single change (from a dev. perspective this is huge, for me at least.) I would be interested if any of you guys know Node or have any suggestions on how this should be packaged.

Unable to get Studio to populate or pull from file name

I am unable to get (Studio) to show up or pull from the file name even after doing the Plex Dance and using the correct naming syntax for the particular Studio. The Studio field doesn't even show up on the description of the movie as shown on the example screens in the WiKi. Do the agents pull from the metadata at all or strictly use the file name? What logs or screenshots can I provide which will help troubleshoot this issue? I am using the standard "(Studio) - Movie Title (Year)" naming convention. FYI I have all my Movies in one \Movies\directory would that have something to do with it? Thank you.

Only Fans

@j-ktz - if you have a site which gives artwork and summaries to only fans videos, ket me know and I will right an agent for it. As I haven't seen one yet, I haven't downloaded many of them. Which is a shame as their is quite good onlyfans contents!

Plex Collection Covers

Does anyone make custom Collection covers for actors or studios? For example, if I have an Arad Winwin collection it would be nice to have a formatted poster as opposed to a collage of scene posters. Same idea for studios with Studio logo. I can make some but just checking to see if either of you have already done it?

Create IAFD Agent for both Films and Scenes

Create a new agent to scrape both Films and Scenes from IAFD. Although IAFD doesn't offer posters, it is a HUGE indexing site that has metadata that many of the other indexed sites do not. It can be used as a 'last resort' when a film or scene can't be found anywhere else (and if not on IAFD, one can always manually update thru Plex itself). Although IAFD has no posters to pull in, one can manually update the poster artwork if something better is found on Google.

@JPH71 I don't recall where the agent's development stands. Are there updates you still wish to make?

Can't get a title to match...

I've noticed some weirdness with the GEVI site and usually have been able to fairly easily tweak around it by altering the title so it matched, but in this case I'm at a loss.

The title is (BelAmi) - Greek Holiday 2 Crusing Mykonos (2004)

Here is the output from the log:

GEVI - SEARCH:: Processing: Studio: BelAmi Title: Greek Holiday 2: Crusing Mykonos Year: 2004
GEVI - SELF:: Original Search Query [Greek Holiday 2: Crusing Mykonos]
GEVI - SELF:: Search Query:: String has none of these [',&!.#]
INFO (sandbox:19) - GEVI - SELF:: Search Query:: String has none of these [-–—()]
INFO (sandbox:19) - GEVI - SELF:: Search Query:: First word is not numeric
INFO (sandbox:19) - GEVI - SELF:: Search Query:: Splitting at position [14]. Found one of these [0-9]
INFO (sandbox:19) - GEVI - SELF:: Amended Search Query [greek holiday ]
INFO (sandbox:19) - GEVI - SELF:: Search Query:: First word has none of these ['a', 'an', 'the', 'un', 'une', 'des', 'le', 'la', 'les', "l'", 'uns', 'umas', 'o', 'a', 'os', 'as', 'un', 'una', 'unos', 'unas', 'el', 'la', 'los', 'las', 'ein', 'eine', 'eines', 'einen', 'einem', 'einer', 'das', 'die', 'der', 'dem', 'den', 'des']
INFO (sandbox:19) - GEVI - SELF:: Amended Search Query [greek+holiday]
INFO (sandbox:19) - GEVI - SEARCH:: Search Query: https://www.gayeroticvideoindex.com/search.php?type=t&where=b&query=greek+holiday&Search=Search&page=1
DEBUG (networking:138) - Fetching 'https://www.gayeroticvideoindex.com/search.php?type=t&where=b&query=greek+holiday&Search=Search&page=1' from the HTTP cache
INFO (sandbox:19) - GEVI - SEARCH:: No More Pages Found
INFO (sandbox:19) - GEVI - SEARCH:: Result Page No: 1, Titles Found 2
INFO (sandbox:19) - GEVI - SEARCH:: Title Match: [False] Compare Title - Site Title "greekholiday2crusingmykonos - greekholidaycruisingtheaegean"
INFO (sandbox:19) - GEVI - SEARCH:: Title Match: [False] Compare Title - Site Title "greekholiday2crusingmykonos - greekholiday2cruisingmykonos"
DEBUG (runtime:88) - Sending packed state data (104 bytes)
DEBUG (runtime:924) - Response: [200] str, 320 bytes
DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.GEVI/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNQpNb3ZpZXMxMAptZWRpYV90eXBlczQ5CmNvbS5wbGV4YXBwLmFnZW50cy5HYXlBZHVsdEZpbG1zOi8vNDIxMjk2P2xhbmc9eG5zNApndWlkcjAK
DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.GEVI/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNQpNb3ZpZXMxMAptZWRpYV90eXBlczQ5CmNvbS5wbGV4YXBwLmFnZW50cy5HYXlBZHVsdEZpbG1zOi8vNDIxMjk2P2xhbmc9eG5zNApndWlkcjAK
DEBUG (runtime:88) - Sending packed state data (104 bytes)
DEBUG (runtime:924) - Response: [200] str, 16 bytes

Thinking of uploading an XML Agent, and JAVA IAFD Scraper

@JPH71
Happy Easter Buttercup!

I'm thinking about adding an XML Agent and JAVA IAFD Scraper that I use, along with a tutorial. There are two occasions when I use these tools, important in my Porn Plex Arsenal:

  1. In the rare rare instances when none of the scrapers can find a film, but the film is listed on IAFD. The JAVA Scraper will scrape IAFD, including actors pictures (I can augment the metadata if I please)
  2. The film isn't on IAFD but metadata and posters are available and I wish to manually enter metadata myself into the JAVA Scraper

In either case, the Java Scraper creates the XML (actually, its a .NFO), creates a folder, and moves the film and the XML. I just drop the movie poster in the folder, scan into plex, and match using the XML agent.

What do you think? It isn't codeset that we would maintain, I just thought it would offer a more complete solution?

image

Cannot get this to match :(

I've tried every possible combination I can think of, including dashes, capitalization, omission of the "the video" part and inclusion of the year (found on AEBN). Would appreciate if you could help me out.

https://www.gayeroticvideoindex.com/V/9/18739.html

Also, this one seems to be the same. I've had troubles getting anything with a secondary title to match it seems since the most recent big update.. (2 updates ago?).

https://www.gayeroticvideoindex.com/V/7/49807.html

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.