DVD Order Agent

Hi, Just to clarify.

What is the .plexapp file linked in the first post? I can't find a way to install it.

Looking further there is another download for a bundle and that one works, so I'll stick with it, but it may be a good idea to add a note somewhere.

Anyway, thanks for the plugin, now firefly looks great :)

 
 

For individuals on Windows and Linux that can't enable the agent at all, copy the attached .xml file to the following path (this is the Synology NAS path; for Linux/Windows you should be able to find the analogous path easily):

/volume1/Plex/Library/Application Support/Plex Media Server/Plug-in Support/Metadata Combination/com.plexapp.agents.thetvdbdvdorder/

attachicon.gifTV Shows.xml

Still working on cracking the ATHF nut.

UPDATE: Here is the updated .bundle.
 

  • Pop this into your plug-ins folder ".../Plex Media Server/Plug-ins/"
  • If on Linux/NAS, change owner (chown -R plex)

attachicon.gifDVD Order Agent.bundle.zip

 https://forums.plex.tv/topic/21141-dvd-order-agent/page-7#entry309730

^^^^ is the most up to date one atm

Try as I might, I cannot get this plugin to show up under Linux Mint. I've dropped the bundle into /usr/lib/plexmediaserver/Resources/Plug-ins/, and it doesn't show up when I try to "fix incorrect match" for Firefly. I've tried everything I've read in this thread, including changing file ownership and inserting/editing XML files, all to no avail.

I had it working on my Windows7 system, so I know what it looks like when working. Does anyone have any suggestions for making it work on Linux? Mint is basically Ubuntu with a few interface changes (so nothing that should affect Plex).

Update

I figured out what I wasn't doing right. For those of you also struggling with running this plugin on a Linux system, here is what I did.

Dropped the bundle (available above) in /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/. Created the directory /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Metadata Combination/com.plexapp.agents.thetvdbdvdorder/ and dropped the "TV Shows.xml" file (available above) in there.

Restarted PMS and voila, it works.

Oh my goodness, thank you. Works perfectly on my Fedora box running the latest Plex server. It would be nice if this information was collected in the lead post to save a lot of frustration.

I for some reason have ended up with duplicate Plex installs in both /usr/lib and /var/lib after running the Plex .rpm from the website. 'whereis plexmediaserver' returns the /usr/lib one so I was totally confused. 

Finally have Firefly in a non-totally-mangled order. Curse you Fox.

Has anyone found this no longer works with the latest Plex Media Server? I can choose the agent, find the show, but the order is still the airing order.

Even worse, shows that were previously correctly displayed in DVD order like Firefly, have now reverted back to their aired order state.

I see this too.

Though the original post, and the author, of this release haven't been online or updated since 2012, and the 'fixed to make it a .bundle' file author hasn't been on since Oct 2013, I wish to thank both for making it and keeping it up to date, respectively.

I too suffered from the Firefly issue after ripping my DVD set. I was frustrated that, by default, Plex and theTVDB were using Fox's screwed-up aired show dates instead of the way it was originally intended to be done, as placed on the DVDs.

Thanks for making this, wherever you now are.

Though the original post, and the author, of this release haven't been online or updated since 2012, and the 'fixed to make it a .bundle' file author hasn't been on since Oct 2013, I wish to thank both for making it and keeping it up to date, respectively.

I too suffered from the Firefly issue after ripping my DVD set. I was frustrated that, by default, Plex and theTVDB were using Fox's screwed-up aired show dates instead of the way it was originally intended to be done, as placed on the DVDs.

Thanks for making this, wherever you now are.

I presume you are talking about me.  In which case, you are welcome ;)

Has anyone found this no longer works with the latest Plex Media Server? I can choose the agent, find the show, but the order is still the airing order.

Even worse, shows that were previously correctly displayed in DVD order like Firefly, have now reverted back to their aired order state.

Judging how the post directly above yours from about a week before yours indicated it worked perfectly on his system, I am guessing it's not a problem with PMS.

That said, I will see if mine works as intended and check back.

EDIT: My Aqua Teen Hunger Force is still showing as DVD order and not aired order.

thank you for this, it works, Freaks and Geeks is finally in the correct order. I was losing my mind trying ot figure out how to install a .plexapp plugin, turns out it was for MacOSX and not for PMS.

Does anyone know how to make Invader Zim work? DVD Order Agent collapses two episodes into one, which is great, BUT it will only play the first one and not the second.

For instance, episode two contains "Bestest Friend" and "Nanozim". But it only plays the first part, "Bestest Friend". I have the episode files named "Invader Zim - S01e02.1 - Bestest Friend" and "Invader Zim - S01e02.2 - Nanozim" but it only plays 2.1. I have tried e02-01, e2-1, etc., as well, but nothing seems to work.

Does anyone know how to make Invader Zim work? DVD Order Agent collapses two episodes into one, which is great, BUT it will only play the first one and not the second.

For instance, episode two contains "Bestest Friend" and "Nanozim". But it only plays the first part, "Bestest Friend". I have the episode files named "Invader Zim - S01e02.1 - Bestest Friend" and "Invader Zim - S01e02.2 - Nanozim" but it only plays 2.1. I have tried e02-01, e2-1, etc., as well, but nothing seems to work.

Plex doesn't like multi-part episodes combined like that if I remember right.

How Plex likes multipart TV named = https://plexapp.zendesk.com/hc/en-us/articles/200265006-Naming-Stacked-TV-Show-Episodes

Thank you! That did it!

New problem: now that the episodes are stacked properly, Plex isn't seeing the associated SRT files, which I also renamed in the same format (S01e02-pt1, for instance). Any fix for that?

No, but I'd search, and if nothing found using search, ask in the appropriate forum ( Server perhaps?) area.

You've gone out of the topic of discussion here.

For individuals on Windows and Linux that can't enable the agent at all, copy the attached .xml file to the following path (this is the Synology NAS path; for Linux/Windows you should be able to find the analogous path easily):

/volume1/Plex/Library/Application Support/Plex Media Server/Plug-in Support/Metadata Combination/com.plexapp.agents.thetvdbdvdorder/

attachicon.gifTV Shows.xml

Still working on cracking the ATHF nut.

UPDATE: Here is the updated .bundle.
 

  • Pop this into your plug-ins folder ".../Plex Media Server/Plug-ins/"
  • If on Linux/NAS, change owner (chown -R plex)

attachicon.gifDVD Order Agent.bundle.zip

For those on OSX the path are

/Users/yourusername/Library/Application Support/Plex Media Server/Plug-in Support/Metadata Combination/com.plexapp.agents.thetvdbdvdorder (you have to create this last directory)

And for the bundle:
/Users/yourusername/Library/Application Support/Plex Media Server/Plug-ins/

NOTE: I had to navigate trough every single episode to view the episode list updated with the new names.

.

THANK YOU so much for making this plugin took a bit to get working because I dident have the latest version of the plugin (PC Version) but i got it working didn't take long 

New user

Just switched from XBMC

(for Firefly)

Just got this working for my Synology NAS.  THANK YOU!

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