Code here: https://github.com/vofik/ExcaliburFilms.bundle
Download here: https://github.com/vofik/ExcaliburFilms.bundle/zipball/master
Hi All!
Just this week I noticed that this Agent broke and I couldnât get any more search results with it.
It was around the same time as when I upgraded to PMS 0.9.5.2 so I thought it was that. It wasnât!
FOR ALL USERS OF THIS AGENT!
The site changed itâs Advanced Search Results URL just slightly since vofik wrote this agent, causing the original agent to brake.
The good news, the fix is easy.
Just download the new bundle and replace yours (attached to this post).
Or how to fix it yourself?
import re
EXC_BASEURL = âhttp://www.excaliburfilms.com/â
EXC_SEARCH_MOVIES_YEAR = EXC_BASEURL + âsearch/AdvancedSearch_Result.htm?searchWord=%s&year_in=%s&year_in_to=%s&studio_in=ALL&category_in=ALL&inmovies=No&TrailerMovies=No&x=57&y=16&fromSearchPage=YESâ
EXC_SEARCH_MOVIES = EXC_BASEURL + âsearch/AdvancedSearch_Result.htm?searchWord=%s&studio_in=ALL&category_in=ALL&inmovies=No&TrailerMovies=No&x=57&y=16&fromSearchPage=YESâ
EXC_MOVIE_INFO = EXC_BASEURL + âAdultDVD/%sâ
______________
Make this simple change in this partâŠ
In the EXC_SEARCH_MOVIES_YEAR and EXC_SEARCH_MOVIES paths, add an s to the AdvancedSearch_Result.htm page so it becomes AdvancedSearch_Results.htm
So it now looks likeâŠ
import re
EXC_BASEURL = âhttp://www.excaliburfilms.com/â
EXC_SEARCH_MOVIES_YEAR = EXC_BASEURL + âsearch/AdvancedSearch_Results.htm?searchWord=%s&year_in=%s&year_in_to=%s&studio_in=ALL&category_in=ALL&inmovies=No&TrailerMovies=No&x=57&y=16&fromSearchPage=YESâ
EXC_SEARCH_MOVIES = EXC_BASEURL + âsearch/AdvancedSearch_Results.htm?searchWord=%s&studio_in=ALL&category_in=ALL&inmovies=No&TrailerMovies=No&x=57&y=16&fromSearchPage=YESâ
EXC_MOVIE_INFO = EXC_BASEURL + âAdultDVD/%sâ
5) Thatâs it! Save the file, and close the package.
6) Now go and try the agent again in PMS.
I havenât figured out yet how to fix vofikâs code in github yet and post a fork of the new agent, but Iâll see if I can do that today.
Otherwise, happy scraping everyone!
Hey bytesailr
I updated the code with your fix to search url and with genre and actor photo support. Not sure the actor photo support is correct though - it does add it to the xml file, but my skin doesnât show the actor photos anywhere, not sure how to test that itâs working correctly.
Cheers,
Vofik
This agent works great, thanks a lot!
How would I go about adding agents to PMS, running on Unraid or my Qnap Nas?
Just extract the zip file, rename the resulting directory to âExcaliburFilms.bundleâ and move it into Plex Media Serverâs âPlug-insâ directory. Not sure where thatâs located on the linux install though.
wow, this is awesome, thanks!
love that it scrapes the genreâs and more meta data than dvdempire.
but could you please remove the detailed date from the title? instead of just cuties 2, i get cuties 2 (24-07-2009) for example.
also why does it sometimes not scan and shows the error message: âthere was no acceptable match using the specified agentâ?
i use the plex movie scanner for my porn section and personal media as default agent, because most of my files are not dvd releases and if iâd add excalibur, i would have to unmatch most of my collection.
this is why i manually scan for dvd releasesâŠ
or are there any agents that also get meta data for web releases?
bytesailr, xemino
Please grab the updated code from github and test, looks like Excalibur Films removed the html that I was relying on to detect when a title hit an exact match and was redirected straight to the dvd page. Should work much better now! Thanks for reporting it!
xemino:
If you mean the date in the search result choice window, thatâs only there to help you distinguish between similarly named titles - once you pick one, the name thatâs actually added to the library does not contain the date.
This is FANTASTIC!
This was one of my big reasons to keep using XBMC as the adult agents on that used Excaliburfilms and got 99% of titles correct.
WELL DONE VOFIK!!
Thankyou for taking the time and effort to make PLEX my choice for all media nowâŠ
Now, if only the devs would include a parental lockout / P.I.N. code system for certain folders at the server endâŠ(PLEASE, BEG, GROVEL!)
xemino:
Hmm, it really shouldnât do that, I donât have anything in my code that would embed the release date into the title. Can you give me any specific examples where you see it happening? (I searched for Cuties 2 on excalibur, but didnât see any movies that had release date of 24-07-2009 that you specified in your first post)
knight2001dts:
Youâre welcome 
yup, here are some screens
even removing the other meta data agents from the scanner gave me the same result.
iâm not really complaining.
sadly i wonât be able to help you w/ further debugging, since i have to delete my porn section, since thereâs no way i can hide a section from local clients.
even setting up myplex and connecting the client only via that is no solution. the local media server w/ the porn section will still automatically show up, how convenient 
Noob question: how does one install the ExcaliburFilms agent?
I tried to copy the bundle in the plug-ins folder, but the agent is not showing up in Plex Manager/preferences/agent panel.
Thanks for your help !
I can not seem to get this to work as well. I have followed others directions and placed the folder in my plugins directory, renamed, and restarted my media server but it does not show up at all under agents.
Can anyone give me a tip on how to get this working?
Edit: I fixed my problem of the agent not showing up but now when I click on ExcaliburFilms the check box is grayed out with no check mark and it doesnât seem to be working.
Edit2: Got it to work manually by clicking incorrect match but it does not pull down any art work for the videos and it puts ExcaliburFilms at the end of every title I run it on.
Hi I have also noticed that the Excaliburfilms Agent does not pull any data anymore. Would be great if somebody could revisit this great agent. Thanks a lot