[ALPHA] Wrestling Metadata Agent

I'm also really disappointed with TVDB sometimes and welcome the option of using TVRage, so thanks for doing this.

Now a newbie question, how do I "install" this bundle you wrote on the MAC?

I thought I'd just need to put it in the same place as the TVDB bundle (Contents - Resources - Plugins), but PMS doesn't see it!

Am I missing something?

This is related to this Metadata Agent although the agent itself doesn't work for my problem. Does anyone know of an agent that could look up Ring of Honor, EVOLVE, or DragonGate DVDs? I picked up a few of them in the last couple of months on sale and I'd like to have Plex find them rather than adding the details manually.

I'm getting an Exception trying to import the metadata from one of my episodes. Can you take a look?

It looks like an issue with date parsing. On tvrage, the episode doesn't have a complete date and is listed as 00//2002. The agent should handle this and either skip the date or just add the year.

First post updated with a version that should now skip invalid dates.

I'm also really disappointed with TVDB sometimes and welcome the option of using TVRage, so thanks for doing this.

Now a newbie question, how do I "install" this bundle you wrote on the MAC?

I thought I'd just need to put it in the same place as the TVDB bundle (Contents - Resources - Plugins), but PMS doesn't see it!

Am I missing something?

I'm not on a Mac, but from searching around, the location should be:

/Users//Library/Application Support/Plex Media Server/Plug-ins

I don't know if that's where you were trying to put it. If it still doesn't work, maybe try looking around the forum for others having the issues, because I don't know if it's related to the plugin.

This is related to this Metadata Agent although the agent itself doesn't work for my problem. Does anyone know of an agent that could look up Ring of Honor, EVOLVE, or DragonGate DVDs? I picked up a few of them in the last couple of months on sale and I'd like to have Plex find them rather than adding the details manually.

Those are pretty niche, so unless there's some website (preferably with an API) that has the DVDs in some sort of databse, you might be out of luck. I took a quick look at Highspots, and it doesn't look like they have an API, so making a scraper wouldn't be the easiest thing and would probably be pretty clunky. Sorry. If I find something, I'll do my best to add it to the plugin or make a new one.

Thanks akkifokkusu,

Thats the right place. After updating to Mavericks recently I couldn't see it!


I'm not on a Mac, but from searching around, the location should be:

/Users//Library/Application Support/Plex Media Server/Plug-ins

I don't know if that's where you were trying to put it. If it still doesn't work, maybe try looking around the forum for others having the issues, because I don't know if it's related to the plugin.

great work akkifokkusu ! thanks!

i have missed TVRage with Plex since forever^^

But could you please add this agent as an "add-on-agent" for TVDB too? Because there, i have already OpenSubtitles, Podnapisi and FanArt.TV agents - and TVDB could be used as a fallback.

and btw. why didn't you name this agent TVRage? I think that would lead to much more attention.

So I'm having some trouble here.

Logs are here

Seems to indicate time out errors on tvrage.

From the front end, it seems to sort by Month rather than by show

Screenshot here.

All the Shows (NXT, Smackdown, Raw, Main Event are mixed in together) when added, and I don't get any data.

Airdates always show as NaN.

Naming scheme I'm using I think is ok, but looks like.

WWE Main Event - S02E14 - 01 Jan 2014

I've tried lopping off the Date at the end (to test, because I prefer it mainly) but get the same results.

I've also readded the content multiple times, but it always does the same thing.

Any thoughts would be great :)

Thanks for all the hard work on this too.

So I'm having some trouble here.

Logs are here

Seems to indicate time out errors on tvrage.

From the front end, it seems to sort by Month rather than by show

Screenshot here.

All the Shows (NXT, Smackdown, Raw, Main Event are mixed in together) when added, and I don't get any data.

Airdates always show as NaN.

Naming scheme I'm using I think is ok, but looks like.

WWE Main Event - S02E14 - 01 Jan 2014

I've tried lopping off the Date at the end (to test, because I prefer it mainly) but get the same results.

I've also readded the content multiple times, but it always does the same thing.

Any thoughts would be great :)

Thanks for all the hard work on this too.

That is... odd. It's detecting the name of the show (or all of the shows?) as 01 Jan. What does your folder structure look like? Because I think that would be more of a problem with the Plex Scanner than with the plugin.

great work akkifokkusu ! thanks!

i have missed TVRage with Plex since forever^^

But could you please add this agent as an "add-on-agent" for TVDB too? Because there, i have already OpenSubtitles, Podnapisi and FanArt.TV agents - and TVDB could be used as a fallback.

and btw. why didn't you name this agent TVRage? I think that would lead to much more attention.

Long story short, I wasn't planning on this working as a full-fledged TVRage plugin. I just need to find the time one of these days to clean it up a little bit for a general release as a TVrage plugin.

Folder Structure sits like this.

WWE

-Year

--Month

And shows in there.Ā 

I've played with the folders scanned too, Currently I've got the scanner set on the second level (year), but I've had it a top level too.

Folder Structure sits like this.

WWE

-Year

--Month

And shows in there. 

I've played with the folders scanned too, Currently I've got the scanner set on the second level (year), but I've had it a top level too.

Yeah, this is what's messing with it. Plex (at least in general), expects it to to be

Show

-Season

And the episodes in there. So for example...

WWE Raw

-Season 22

--WWE Raw - S22E01.mp4

Each show needs to be in its own folder in order for Plex to catch it correctly. If you do that and it's giving you the same issue, you might need to delete that section, then go to your dashboard, click "More", then "Empty Trash", and then try to re-add the section again.

Hi guys. I'm new with plex, but I managed to set it up, and make it work. The only problem I have is with wrestling media. I have lots of WWE PPVs, and I downloaded the plugin in this thread in order to manage them, but it didn't seems to work (it associates the files with other shows, or with none at all). My question is, what's the folder and the filename structure?
Thanks in advance, and sorry if my english isn't very good.

WWE Raw

-Season 22

--WWE Raw - S22E01.mp4

Each show needs to be in its own folder in order for Plex to catch it correctly. If you do that and it's giving you the same issue, you might need to delete that section, then go to your dashboard, click "More", then "Empty Trash", and then try to re-add the section again.

I can't make this work fine. I have my PPV shows in a folder called "WWE Pay-Per-View", and inside it, I have folders for every season, just like TVRage has the shows, and inside the season folder, I have folders for every show (like E01, and the Royal Rumble inside, E02, and Elimination Chamber inside, etc). The filenames are in this format:

WWE Pay-Per-View - SxxExx - WWE Royal Rumble 2014 (for example)

The thing is, when I add them as a TV Show library, called "Wrestling", Plex shows seasons as the show's name. I tried deleting the library and adding it again, moving the files to another folder, and still show them wrong.

Please, help me... :/

mgm9.jpg

I can't make this work fine. I have my PPV shows in a folder called "WWE Pay-Per-View", and inside it, I have folders for every season, just like TVRage has the shows, and inside the season folder, I have folders for every show (like E01, and the Royal Rumble inside, E02, and Elimination Chamber inside, etc). The filenames are in this format:

WWE Pay-Per-View - SxxExx - WWE Royal Rumble 2014 (for example)

The thing is, when I add them as a TV Show library, called "Wrestling", Plex shows seasons as the show's name. I tried deleting the library and adding it again, moving the files to another folder, and still show them wrong.
Please, help me... :/

mgm9.jpg


I think the first thing you should try is to put another folder outside of the PPV folder. So the structure would be something like:

Wrestling\WWE Pay-Per-View\Season 22\Royal Rumble.mp4
And then make the Wrestling section in Plex point to the outer Wrestling folder. That should fix it. Also, make sure you have the Agent set to Wrestling for that section.

Sent from my Nexus 5 using Tapatalk

Yeah, this is what's messing with it. Plex (at least in general), expects it to to be

Show

-Season

And the episodes in there. So for example...

WWE Raw

-Season 22

--WWE Raw - S22E01.mp4

Each show needs to be in its own folder in order for Plex to catch it correctly. If you do that and it's giving you the same issue, you might need to delete that section, then go to your dashboard, click "More", then "Empty Trash", and then try to re-add the section again.

Sorry for the late reply, but that did it! Thank you very much for all your efforts here, makes my collection look fantastic :D

This looks like a great thing for us wrestling, but I'm not sure how to use it. I unzipped the files in the Plugins folder, but there is no option to choose "Wrestling" when adding files. I only get TVDB or Personal Media, nothing that says wrestling. I'm using Ubuntu and I'm pretty sure I put the plugin in the right folder, I stopped and restarted the service, even tried rebooting and it still not coming up. Help please?!?

HiĀ akkifokkusu, I’ve made a few changes in your code so that it works with any show present on both TVRage and TheTVDB databases.
It’s on GitHub. If you’d like you can have the repository since you wrote itĀ  :slight_smile:

Hi akkifokkusu, I've made a few changes in your code so that it works with any show present on both TVRage and TheTVDB databases.
It's on GitHub. If you'd like you can have the repository since you wrote it  ^_^

Don't worry about it. As long as you give me credit I don't mind you distributing and continuing to work on it. The only reason I hard-coded the shows (which I'm sure you figured out) was because sometimes there are naming disparities between TheTVDB and TVRage and with the limited scope I could be a little lazy about it!

Sure, credit is right there since the very beginning.

I actually just use it to match American Dad!, so at first I went the lazy way too and just added its ID to the list. But then I had some time to spare and decided to give the search engine a try.

Can’t really expect much trouble with a single show but if anyone is ever interested in a (possibly) more flexible agent it’s here too.

can one of you guys make this PLEASE finally a TVRage agent for addon for TVDB ? PLEASE :(

i was really happy with TVRage back when i used filebot. so i really miss this for plex - and many others too.

Don't worry about it. As long as you give me credit I don't mind you distributing and continuing to work on it. The only reason I hard-coded the shows (which I'm sure you figured out) was because sometimes there are naming disparities between TheTVDB and TVRage and with the limited scope I could be a little lazy about it!

Hi, I noticed that when I add your plugin to pms, everything starts and works well. Once I restart pms- the plugin is no longer available as an agent option (still in the plugins folder). Is there something we're supposed to update in the -init_py file?

Thanks again for your efforts on this. The disdain that TVDB shows for some media (like UFC) and the general d*bag attitude makes me wish we could move away from them all together.