tl;dr: unable to find matches with DVD Order agent, found that DVD Order agent uses http://freebase.plexapp.com URLs and that host that no longer works, edited code to use http://meta.plex.tv instead
I've been using the DVD Order agent for a while and it mostly has been working fine.
But, I was tinkering with my library this past weekend trying to finally get my Futurama episodes sorted out (Firefly's been great). I removed them entirely from my library, added them back, then tried to re-match using the DVD Order agent...and failed. I wasn't getting any search results back in the library manager UI when trying to search with TheTVDBDVDOrder.
I made sure I was using the latest DVD Order Bundle (from https://forums.plex.tv/topic/21141-dvd-order-agent/page-7#entry309730). Still no-go.
I went looking at the log files, and in ~/Library/Logs/PMS Plugin Logs/com.plexapp.agents.thetvdbdvdorder.log, I found repeatedly lines like this:
2014-04-04 18:56:47,669 (1130aa000) : DEBUG (networking:172) - Requesting 'http://freebase.plexapp.com/tv/guid/42/42a071e5f222963fa350666f3a4c28a9ad501d50.xml'
2014-04-04 18:57:02,463 (1138b0000) : DEBUG (networking:172) - Requesting 'http://freebase.plexapp.com/tv/names/en/42/42a071e5f222963fa350666f3a4c28a9ad501d50.xml'
2014-04-04 18:57:07,677 (1130aa000) : DEBUG (networking:172) - Requesting 'http://freebase.plexapp.com/tv/names/en/42/42a071e5f222963fa350666f3a4c28a9ad501d50.xml'
My first thought was to try the URLs myself to see what info the agent was getting back...lo and behold, that didn't work:
$ wget http://freebase.plexapp.com/tv/guid/42/42a071e5f222963fa350666f3a4c28a9ad501d50.xml
--2014-04-07 00:38:59-- http://freebase.plexapp.com/tv/guid/42/42a071e5f222963fa350666f3a4c28a9ad501d50.xml
Resolving freebase.plexapp.com... 64.71.188.212
Connecting to freebase.plexapp.com|64.71.188.212|:80... failed: Operation timed out.
Retrying.
–2014-04-07 00:40:17-- (try: 2) http://freebase.plexapp.com/tv/guid/42/42a071e5f222963fa350666f3a4c28a9ad501d50.xml
Connecting to freebase.plexapp.com|64.71.188.212|:80… failed: Operation timed out.
Retrying.
and so on for 20 tries until wget gave up
I don't know if something changed recently, or if there's some problem on my end, or what, but freebase.plexapp.com was not responding. Yet the normal TheTVDB agent was working fine. Hmm...
Fortunately bundles are written in Python, so I dug deeper into the code.
The __init__.py script for the DVD Order agent references freebase.plexapp.com in two global variables:
$ cd "~/Library/Application Support/Plex Media Server/Plug-ins/DVD Order Agent.bundle/Contents/Code"
$ grep -i freebase *
__init__.py:TVDB_GUID_SEARCH = 'http://freebase.plexapp.com/tv/guid/'
__init__.py:TVDB_QUICK_SEARCH = 'http://freebase.plexapp.com/tv/names/'
I checked __init__.py for the original TheTVDB agent and found those variables have new values:
$ cd ~/Library/Application\ Support/Plex\ Media\ Server/Plug-ins/TheTVDB.bundle/Contents/Code/
$ egrep "^TVDB_GUID_SEARCH|^TVDB_QUICK_SEARCH" *
TVDB_GUID_SEARCH = 'http://meta.plex.tv/tv/guid/'
TVDB_QUICK_SEARCH = 'http://meta.plex.tv/tv/names/'
I edited the __init__.py file for the DVD Order agent so that the values for those two variables (lines 19-20) matched the 'http://meta.plex.tv/...' values from the current TheTVDB agent, restarted PMS, tried to re-match Futurama, and...success! Plex picked up the new metadata for the episodes in their proper DVD order.
I would be willing to bet that this is a permanent change now that Plex has moved from the plexapp.com domain to plex.tv, but I'm not 100% sure.
Hopefully someone can update the bundle file with this fix and that others will find this information useful until that's done (I'd do it, but I'd have to jump through a bunch of hoops to comply with my work's open source contribution policy even for personal projects...if I have time and no one else steps up, I will).