[Release] Internet Fanedit Database Metadata Agent (IFDB)

scanner-agent-dev

#1

Internet Fanedit Movie Database

 

So I had a sudden desire to create this today.

 

It scrapes details about fanedits from the Internet Fanedit Database over at http://www.fanedit.org/ifdb

Pulls Faneditor name into Director field and fills genres and collections fields with relevant info

Adds original film to original title field and pulls in the rating given by community reviews

Pulls poster as well although there's no backdrop images to pull so that'll just be a random shot from the video file

 

Standard Plex movie naming scheme works best: https://support.plex.tv/hc/en-us/articles/200381023-Naming-Movie-files

 

This is my first time writing a plugin for Plex so it's nothing fancy but maybe someone else can find a use for it as well

 

Installation:

Can be grabbed from here: https://github.com/tomfin46/IFDB.bundle

and as usual placed in the plug-ins folder

see: https://plexapp.zendesk.com/hc/en-us/articles/201106098-How-do-I-find-the-Plug-Ins-folder-

 

If anyone uses it let me know of any bugs/issues/feature requests and I'll be happy to fix/add them

 

Versions:

(31-01-2015) v1.0.1: Fix for parameter error and added version number

(10-04-2016) v1.0.2: Update to new url formats since IFDB has changed quite a bit over the last year

(16-04-2016) v1.0.3: Fix for redirecting to single result searchs

 

Screenshots:

Yqk1Z7Glpng1aXQtUVJlpng1

 

fDQOKB6lpng1fedyB1plpng1

 

1qYMZOalpng1yOUH553lpng1

 

Enjoy...


#2

This is really cool - could you get it submitted to the unofficial app store?


#3

Downloaded and installed. Restarted Plex, but it doesn't seem to pick it up? Any thoughts?


#4

I added this, restarted Plex, but don't see any difference?

Is that because at some point this was actually added to Plex's production version itself?

I'm running Version 0.9.15.0

Thanks .. :)

Regards,
Doug


#5

Thanks for making this @tomfin46! I'm surprised there is no mention of any of Harmy's versions of SW in the IFDB.


#6

Is there a way to add additional, secondary agents to the IFDB Agent tab, or to add the IFDB Agent to another tab?

The only entry under the IFDB agent tab is the IFDB agent itself, but I want it to also look at TheMovieDB and (especially) Local Media Assets for metadata content.

When I currently use the IFDB Agent, it only pulls the default poster from IFDB, and no custom backgrounds.


#7

Agent isn't working anymore. Please update it. The domain has changed to http://ifdb.digital-fanedit.com/


#8

[snip]....


#9

Really? No update? Someone PLEASE get on this.


#10

Seems like the original developer isn't here anymore. Is there another developer willing to update this? I'm willing to throw in a few bucks if that helps.


#11

You could have pinged the new domain name and added that ip in the host file for the old domain name...
But only work if only one domain point to the ip address....

Edited the source to update the URL. give me a filename and agent logs so i can reproduce if it doesn't fix
https://github.com/ZeroQI/IFDB.bundle/blob/master/Contents/Code/__init__.py


#12

I'll give this a try when I get home tonight. Thanks so much for taking a look!


#13

So the info does seem to populate properly, but for some reason the cover art doesn't.


#14

I was wrong. The information wasn't populating.


#15

Maybe because http://ifdb.digital-fanedit.com/ is down ?
The bleeding domain doesn't exist and hold and behold, the old domain http://ifdb.fanedit.org/ still works
the issue is the agent not finding any match. since the code was updated 6 days ago i deleted the fork i did

2016-04-16 12:17:08,535 (-bbdc4c0) : INFO (sandbox:19) - For Url: http://ifdb.fanedit.org/fanedit-search/search-results/?query=all&scope=title&keywords=Hunger+Games&order=alpha

in the browser this URL reloads in http://ifdb.fanedit.org/the-hunger-games-mockingjay-the-hanging-tree/
I believe the fact it reloads automatically the right page if only 1 item is found cause this issue

Submitted a bug report on https://github.com/tomfin46/IFDB.bundle/issues/2


#16

ifdb.digital-fanedit.com was there test domain as they were updating the site. Everything rolled over to ifdb.fanedit.org once it went live. I'll test this and get back to you in the bug report. As always, I appreciate your help on this.


#17

Hey guys

Apologies for not replying sooner (did not realise there was activity on this thread). The agent should be back to a working order for both the normal search results and for when it redirects to a single result.

I'll dig into my settings and see if I can actually me notified when there's activity here, otherwise the best way to log problems/feature requests is over on the git page as ZeroQI did (cheers for that)

@chyron8472 said:
Is there a way to add additional, secondary agents to the IFDB Agent tab, or to add the IFDB Agent to another tab?

The only entry under the IFDB agent tab is the IFDB agent itself, but I want it to also look at TheMovieDB and (especially) Local Media Assets for metadata content.

When I currently use the IFDB Agent, it only pulls the default poster from IFDB, and no custom backgrounds.

with regards to this unfortunately the docs for developing agents don't exist anymore and so having to use the wayback machine and current examples to look into adding this functionality. It's not proving straightforward. I'm going to keep plugging away at it when I can and hopefully can get something working.
Of course I'll be sure to come back here and update if and when I can add that feature.


#18

@tomfin46 : Plex framework documentation
https://web.archive.org/web/20140107030832/https://dev.plexapp.com/
/uploads/default/original/3X/c/4/c474c361f240cf9ffd7330481c995a38c7d32a5b.pdf

I think you need to change the agent to accept from other agents. Hope it helps. Here is an exemple from TheMovieDB agent:

class TMDbAgent(Agent.TV_Shows):
name = ‘The Movie Database’
languages = LANGUAGES
primary_provider = True
accepts_from = [‘com.plexapp.agents.localmedia’, ‘com.plexapp.agents.thetvdb’]
contributes_to = [‘com.plexapp.agents.thetvdb’]


#19

Awesome thanks @ZeroQI, that's some real useful documentation!
I should have some time this weekend to fully dedicate to getting this working.


#20

@tomfin46: there isn't many people that know agents so we need to stick together. plex since the forum migration didn't repair the links so we have to share it that way... Keep up the good work. If you like anime, please check my scanner and agent