- Naming files
- Adding a new Wrestling library
- Enable local poster files
- Manual matching
- Configuration items
- "Add matched events to a "Promotion Name" collection"
- "Add individual matches to a "Promotion Name" collection"
- "Add individual matches to a "Matches" collection"
- "Card information to be included in the event description: "
- "Maximum number of reviews to add (0 disables reviews)"
- "Include WON Ratings if available when adding reviews (no effect if reviews are disabled)"
- "Remove promotion abbreviaton from event titles: "
In order to auto match files to events and matches, CAGEnt expects files to be named a certain way, much like Plex does. The following is the folder structure I use, and therefore what CAGEnt was built around.
Events are named with the following structure:
{Promotion initials} - YYYY-MM-DD - {Event name}/{Promotion initials} - YYYY-MM-DD - {Event name}.extFreelance events without an associated promotion have the initial section removed:
YYYY-MM-DD - {Event name}/YYYY-MM-DD - {Event name}.extMatches are placed in the root folder instead of inside named folders like events are (although there's no reason they can't be placed in individual folders like events if you want). They are named with the following structure (note the - M - indicating to CAGEnt that this item should be treated as a match):
{Promotion initials} - YYYY-MM-DD - M - {Match name}.extIn my opinion, the advantage of this format is that all files from a promotion are naturally grouped together, then ordered by date. It also gives us the information we require to attempt to match the event against CAGEMATCH's database: a date the item occured on, and an event name (the promotion initials + the event name) or match (plus associated promotion) to look for.
Other files, such as DVDs or compilations, that you don't expect to auto match can be named however you like, but should be contained in individual folders as Plex expects Movie items to be. If you want to match them against another agent, name them how Plex would expect for that agent.
If you have an organisation system for your wrestling that you prefer, you don't have to name your files this way, you can always match manually, using either ID matching or by formatting a search string in the expected filename style. There is however the potential, as we're using Plex's built in file scanner intended for movies, that your folder structure will confuse Plex and not all your files will be found.
If you have a system that works for you, please mention it in this issue (#14) and it may be considered for future improvements.
- Add a new Plex Films library:

- Add your media folders:

- Manually select "Advanced" from the sidebar on the left instead of "Add Library" on the bottom right:

- In the "Agent" dropdown, select CAGEnt as the library agent:

- Configure CAGEnt's options to your liking (these can be changed at any time):

- Set any other library settings, and then "Add Library".
Under your Plex server settings, select "Agents" from the "Settings" section, then under "Films" select the "CAGEnt" tab. You can then tick "Local Media Assets (Movies)". This will allow poster.ext and fanart.ext files to be used to set posters and backgrounds for library items.

The below steps will also work to fix incorrect matches. Select "Fix match..." on matched items to reach the same dialog. More general Plex documentation on matching is located here and could be helpful.
CAGEMATCH doesn't have a general search option that works across matches and events, and what searches it does have are somewhat strict. This means that even perfectly named files won't always be matched or matched correctly. In cases where auto matching or searching isn't giving the desired results, items can be matched using explicit IDs.
- Find the correct event page on CAGEMATCH. The event ID number is contained in the URL following
nr=, for instance for the event WrestleMania X-7, with URLhttps://www.cagematch.net/?id=1&nr=2196&page=2, the event ID is2196. - Click the three dots on the unmatched item, and click "Match..."

- Click "Search Options"
- With the CAGEnt Agent selected, enter the ID in the "Title" field in the format
cm-id:{event-id}, for instance for our above example entercm-id:2196

- Click "Search"
- There should only be one search result, if it is correct, select it

- Find the correct event page on CAGEMATCH. The event ID number is contained in the URL following
nr=, for instance for the event WarGames 1996, with URLhttps://www.cagematch.net/?id=1&nr=1623, the event ID is1623. - The match ID is the number of the match in the order on the event page, starting from 1. For this example we'll match the main event War Games match. On the event page, this is match number 8, so the match ID is
8.
HINT: There are two other ways of specifying matches.- You can use negative numbers to start counting from the end of the list, for example match ID
-1would be the last match on the card,-2second to last, and so on - A match ID of
0will display all the matches on the card
- You can use negative numbers to start counting from the end of the list, for example match ID
- Click the three dots on the unmatched item, and click "Match..."

- Click "Search Options"
- With the CAGEnt Agent selected, enter the ID in the "Title" field in the format
cm-id:{event-id}:{match-id}, for instance for our above example entercm-id:1623:8

- Click "Search"
- There should only be one search result, if it is correct, select it

CAGEMATCH won't contain information for every event, and sometimes the more mainstream datasources will have preferable or better metadata available, particularly for larger companies, or DVD releases for instance. In these cases, you can manually match items against these databases:
- Click the three dots on the unmatched item, and click "Match..."

- Click "Search Options"
- Pick the agent you want to search against and enter your search text in the "Title" field

- Click "Search"
- Select the desired match from the results

- Type: Tick box (True/False)
- Default: False
If true, events will be added to a collection named after the "Promotion" field on the event page.
- Type: Tick box (True/False)
- Default: False
If true, matches will be added to a collection named after the "Promotion" field on the event page.
- Type: Tick box (True/False)
- Default: True
If true, matches will be added to a collection named "Matches".
- Type: List of options
- Options:
- "Card"
- "Results"
- "None"
- Default: "Card"
Event summaries can optionally include the following after the initial summary, depending on the option selected here:
- "Card": The results as displayed on an event's "Card" tab (e.g. "x vs y")
- "Results": The results as displayed on an event's "Results" tab (e.g. "y defeats x")
- "None": No card or result information is included in the summary
- Type: List of options
- Options:
- "0"
- "1"
- "2"
- ...
- "20"
- Default: "10"
Matched items can contain reviews from CAGEMATCH users. The maximum number of reviews that will be retrieved can be controlled with this setting. Reviews can also be turned off by selecting "0". This setting does not affect the rating score on items.
- Type: Tick box (True/False)
- Default: True
If true, when adding reviews, the first review will always be the star rating from the Wresting Observer, if one exists on CAGEMATCH for the match.
- Type: List of options
- Options:
- "Always"
- "When added to "Promotion Name" collection"
- "Never"
- Default: "When added to "Promotion Name" collection"
Event titles on CAGEMATCH include the short promotion name in them, for instance "WWE SummerSlam 2008". The promotion name can be removed, depending on the option selected here:
- "Always": The short name will always be removed from titles (e.g. title will be "Summerslam 2008")
- "When added to "Promotion Name" collection": The short name will be removed from titles if that event is going to be added to a "Promotion Name" collection (e.g. title will be "Summerslam 2008" if CAGEnt is also going to add it to a "World Wrestling Entertainment" collection)
- "Never": The title will not be changed (e.g. title will be "WWE Summerslam 2008")