If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

[Release] Internet Fanedit Database Metadata Agent (IFDB)

tomfin46tomfin46 Posts: 4Members, Plex Pass Plex Pass

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...

Tagged:
«1

Comments

  • erb.erb. Posts: 66Members, Plex Pass Plex Pass

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

  • phanguyphanguy Posts: 7Members, Plex Pass Plex Pass

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

  • BadgerdogBadgerdog Posts: 206Members, Plex Pass Plex Pass

    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

    Lifetime Plex Member
    Running Plex Pass Server Version 1.9.4.4325
    Running Plex Client 1.17.1 on IOS 11 for Apple TV and Apple TV 4k

  • bonyboybonyboy Posts: 90Members, Plex Pass Plex Pass

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

    bonyboy
  • chyron8472chyron8472 Posts: 248Members, Plex Pass Plex Pass
    edited March 2016

    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.

  • chyron8472chyron8472 Posts: 248Members, Plex Pass Plex Pass
    edited April 2016

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

  • chyron8472chyron8472 Posts: 248Members, Plex Pass Plex Pass
    edited April 2016

    [snip]....

  • chyron8472chyron8472 Posts: 248Members, Plex Pass Plex Pass

    Really? No update? Someone PLEASE get on this.

  • thunderclapthunderclap Posts: 24Members, Plex Pass Plex Pass

    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.

  • ZeroQIZeroQI Posts: 1,193Members ✭✭✭
    edited April 2016

    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

    Absolute Series Scanner (ASS): Seasons+Absolute mode series scanner managing subdirectories and AniDB type specials,with a logging off all files (skipped on top of root folder, then sorted one line per file with regex used and info, all series sorted alphabetically) and one with the filelist to reproduce the library on my end with dummy files. It also add all files and recognise specials pretty accurately.

    http AniDB Metadata Agent (HAMA): Some good info there, will have to re-write it at some point... Data folders are kinda mandatory... Huge libraries can fetch 10gb in space. If you have no poster but other metadata is showing, create "Plug-in Support/Data/com.plexapp.agents.hama/DataItems" agent folders as indicated in the readme on GitHub

    Impressed by the agent recognition rate? Consider donating few euros through Paypal: Absolute Series Scanner + HTTP AniDB Metadata Agent. (Donators: xnaas, Sven-7, Niegen, Vorador, Fratal, T. Mayville,  A. Estremera, KJKingJ. Thanks guys)

  • thunderclapthunderclap Posts: 24Members, Plex Pass Plex Pass

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

  • thunderclapthunderclap Posts: 24Members, Plex Pass Plex Pass

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

  • thunderclapthunderclap Posts: 24Members, Plex Pass Plex Pass

    I was wrong. The information wasn't populating.

  • ZeroQIZeroQI Posts: 1,193Members ✭✭✭

    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

    Absolute Series Scanner (ASS): Seasons+Absolute mode series scanner managing subdirectories and AniDB type specials,with a logging off all files (skipped on top of root folder, then sorted one line per file with regex used and info, all series sorted alphabetically) and one with the filelist to reproduce the library on my end with dummy files. It also add all files and recognise specials pretty accurately.

    http AniDB Metadata Agent (HAMA): Some good info there, will have to re-write it at some point... Data folders are kinda mandatory... Huge libraries can fetch 10gb in space. If you have no poster but other metadata is showing, create "Plug-in Support/Data/com.plexapp.agents.hama/DataItems" agent folders as indicated in the readme on GitHub

    Impressed by the agent recognition rate? Consider donating few euros through Paypal: Absolute Series Scanner + HTTP AniDB Metadata Agent. (Donators: xnaas, Sven-7, Niegen, Vorador, Fratal, T. Mayville,  A. Estremera, KJKingJ. Thanks guys)

  • thunderclapthunderclap Posts: 24Members, Plex Pass Plex Pass

    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.

  • tomfin46tomfin46 Posts: 4Members, Plex Pass Plex Pass

    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.

  • ZeroQIZeroQI Posts: 1,193Members ✭✭✭
    edited April 2016

    @tomfin46 : Plex framework documentation
    https://web.archive.org/web/20140107030832/https://dev.plexapp.com/
    https://us.v-cdn.net/6025034/uploads/editor/cm/cojaep28kmq3.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']

    Absolute Series Scanner (ASS): Seasons+Absolute mode series scanner managing subdirectories and AniDB type specials,with a logging off all files (skipped on top of root folder, then sorted one line per file with regex used and info, all series sorted alphabetically) and one with the filelist to reproduce the library on my end with dummy files. It also add all files and recognise specials pretty accurately.

    http AniDB Metadata Agent (HAMA): Some good info there, will have to re-write it at some point... Data folders are kinda mandatory... Huge libraries can fetch 10gb in space. If you have no poster but other metadata is showing, create "Plug-in Support/Data/com.plexapp.agents.hama/DataItems" agent folders as indicated in the readme on GitHub

    Impressed by the agent recognition rate? Consider donating few euros through Paypal: Absolute Series Scanner + HTTP AniDB Metadata Agent. (Donators: xnaas, Sven-7, Niegen, Vorador, Fratal, T. Mayville,  A. Estremera, KJKingJ. Thanks guys)

  • tomfin46tomfin46 Posts: 4Members, Plex Pass Plex Pass

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

  • ZeroQIZeroQI Posts: 1,193Members ✭✭✭

    @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

    Absolute Series Scanner (ASS): Seasons+Absolute mode series scanner managing subdirectories and AniDB type specials,with a logging off all files (skipped on top of root folder, then sorted one line per file with regex used and info, all series sorted alphabetically) and one with the filelist to reproduce the library on my end with dummy files. It also add all files and recognise specials pretty accurately.

    http AniDB Metadata Agent (HAMA): Some good info there, will have to re-write it at some point... Data folders are kinda mandatory... Huge libraries can fetch 10gb in space. If you have no poster but other metadata is showing, create "Plug-in Support/Data/com.plexapp.agents.hama/DataItems" agent folders as indicated in the readme on GitHub

    Impressed by the agent recognition rate? Consider donating few euros through Paypal: Absolute Series Scanner + HTTP AniDB Metadata Agent. (Donators: xnaas, Sven-7, Niegen, Vorador, Fratal, T. Mayville,  A. Estremera, KJKingJ. Thanks guys)

  • tomfin46tomfin46 Posts: 4Members, Plex Pass Plex Pass

    @ZeroQI ahh safety in groups and all that
    yeah it's a shame they didn't go back to fix all that stuff and link it back up. I guess it's on us to ensure it doesn't pass into legend.
    I haven't watched much but keep being recommended certain bits to get into by friends so if I ever get round to it I can see your stuff being super useful. Irrespective I'll check out the code just to get more exposure and learn some more

«1
Sign In or Register to comment.