DVD Order Agent

it work fine for me but im am not on synology, however platform should not matter anyway

whats the path to folders you put them in?

screen shots to show where it will show up

![post-2548-0-97210900-1372828053.png|670x257](upload://vNNZ07KkCKLypjuDxMVUjOHOkFU.png)

![post-2548-0-47609600-1372828065.png|690x294](upload://e4BKmKnw3oOZJ3MWV8DOcvjWG5X.png)

Have a look...

Did I miss something? 

:blink:

--

Attachments:

1.. A screenshot of where the files are located

2.. A screenshot showing no agent in Plex/Web

3.. The latest log file 

4.. The 2nd latest log file

Hope that helps! 

For folks with the Windows or Linux PMS versions who can't use the .plexapp installer, I've attached a zipped copy of the standard .bundle file.

1. Unzip the file

2. Copy the "DVD Order Agent.bundle" to your Plex Media Server's "Plug-ins" directory (same place you'll find framework.bundle, system.bundle, etc.)

(Windows users can right-click their PMS in the system tray and "Open Plug-ins Folder" to get to the right place.)

Iv tried several times.. can anyone give me a suggestion?

Iv tried several times.. can anyone give me a suggestion?

I struggled getting it to work too. I'm on Windows and I was installing the files in the application's directory. It finally worked when I put them in my Windows user's app support directory.

C:\Users\UserName\AppData\Local\Plex Media Server\Plug-ins <-- drag bundle here

C:\Users\UserName\AppData\Local\Plex Media Server\Plug-in Support\Metadata Combination\com.plexapp.agents.thetvdbdvdorder <-- make this folder and drop in xml

I'm on a synology, and I have placed the files in the same paths as stated below. I then fixed the permissions and restarted multiple times; I can see the agent mentioned in the log files, however it never shows up in Plex/Web.

/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/

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

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

Hey all I just installed this but having an issue. I'm trying to get Stargate: Atlantis to work but when I use this bundle it strips all the descriptions from seasons 1 and 2 for some reason.

Edit: NVM, I had to refresh the library after about 10 minutes.

I'm on a synology, and I have placed the files in the same paths as stated below. I then fixed the permissions and restarted multiple times; I can see the agent mentioned in the log files, however it never shows up in Plex/Web.

/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/

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

Unfortunately, I don't know how to help.  That process worked for me on my Synology DS212j.  I am unsure why it would work fine for me and not for you.

OK very nice plugin, fixed my Firefly. However, my subtitles are no longer working now. Someone complained about theme music, which was subsequently added, but subtitles are really a much bigger deal than theme music for most of the planet. Is it possible to enable the opensubtitles.org agent for TheTVDBdvdorder agent? Would be greatly appreciated!

Cheers and thanks...

After several tries, I finally got this to work on my QNAP running the standard PMS QPKG "v.0.9.7.12.4 (2013/02/06)".

My directories were (for a QNAP with 4 disk RAID)-

TV Shows.xml goes here:

/share/MD0_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Plug-in Support/Metadata Combination/com.plexapp.agents.thetvdbdvdorder
 

and the bundle goes here:

/share/MD0_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Plug-ins

One stupid thing that tripped me up for about 10 minutes was I had unzipped the zip archive in Windows, which automatically creates a directory with the same name as the zip file "DVD Order Agent.bundle" that then contains the content of the zip. I blindly copied that into the ../Plug-ins directory, not realizing that this meant there was a second "DVD Order Agent.bundle" subdirectory within. Thus, the actual "/Contents" directory was a level further in than it should've been, like:

- DVD Order Agent.bundle

  -- DVD Order Agent.bundle

      --- Contents

So, presumably, Plex couldn't find it. Moved it up a level, restarted Plex, and the DVD Order selection showed up immediately.

A simple restart of Plex was sufficient, with

/etc/init.d/plex.sh stop

and

/etc/init.d/plex.sh start

Since I hadn't been able to get the agent to work for some time, I had already renamed my Firefly files in broadcast order just to have them available. I had to rename them (back) to DVD order. Then went into Plex/Web, did a (turbo) rescan of Firefly just to update everything and make sure Plex had all the new filenames. Then I chose Fix Incorrect Match, picked to "Match By" TheTVDBdvdorder, and viola, Firefly was as nature intended.  ;-)

Thanks so much for the bundle!

Now... what, exactly, is different in the broadcast order for Leverage?? I hadn't heard that one before. Hmmmmmm.

Is there any chance you could upload a copy of the newest version as a .bundle?  I have Plex running on my linux server and my clients are all windows/android, I can't find any way to install a .plexapp to the server, and I have a problem importing Spice and Wolf using the copy I'm using (It actually errors out and won't match anything! :(

Thanks in advance!

Is there any chance you could upload a copy of the newest version as a .bundle?  I have Plex running on my linux server and my clients are all windows/android, I can't find any way to install a .plexapp to the server, and I have a problem importing Spice and Wolf using the copy I'm using (It actually errors out and won't match anything! :(

Thanks in advance!

there is a link to it 5 posts above yours

>> wow... missed that, sorry.... it still crashes when i import spice and wolf... :(

Anyone have any ideas?

2013-08-29 14:09:49,510 (7f2327854700) :  INFO (__init__:68) - Retrieving URL: http://thetvdb.plexapp.com/api/D4DDDAEFAD083E6F/series/81178/all/en.zip
2013-08-29 14:09:49,519 (7f2327854700) :  DEBUG (networking:167) - Fetching 'http://thetvdb.plexapp.com/api/D4DDDAEFAD083E6F/series/81178/all/en.zip' from the HTTP cache
2013-08-29 14:09:49,535 (7f2327854700) :  CRITICAL (agentkit:973) - Exception in the update function of agent named 'TheTVDBdvdorder', called with guid 'com.plexapp.agents.thetvdbdvdorder://81178?lang=en' (most recent call last):
  File "/opt/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 971, in _update
    agent.update(obj, media, lang)
  File "/opt/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/DVDorder.bundle/Contents/Code/__init__.py", line 599, in update
    root_el = handleDVDorder(temproot_el)
  File "/opt/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/DVDorder.bundle/Contents/Code/dvdorder.py", line 26, in handleDVDorder
    if segmentnum[:-2] == str(episodenum):
  File "/opt/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 111, in 
    _getitem_           = lambda x, y: x.__getitem__(y),
AttributeError: 'NoneType' object has no attribute '__getitem__'

2013-08-29 14:09:49,536 (7f2327854700) :  DEBUG (model:218) - Serializing to /opt/plexmediaserver/Library/Application Support/Plex Media Server/Metadata/TV Shows/e/48f85bb68e2d985a5175ef09d9f404f7d4fd901.bundle/Contents/com.plexapp.agents.thetvdbdvdorder/Info.xml
2013-08-29 14:09:49,537 (7f2327854700) :  DEBUG (runtime:911) - Response: [200] str, 16 bytes

I can't get this to work with Adventure Time. When I scan it in using this dvdorder metadata nothing changes. It still shows only 13 episodes per season when there should be 26. Any ideas?

Odd thing I just noticed but Season 5 is showing up right. 26 Episodes. 1 to 4 however are not :(

I can't get this to work with Adventure Time. When I scan it in using this dvdorder metadata nothing changes. It still shows only 13 episodes per season when there should be 26. Any ideas?

Odd thing I just noticed but Season 5 is showing up right. 26 Episodes. 1 to 4 however are not :(

http://www.thetvdb.com/index.php?tab=season&seriesid=152831&seasonid=221091&lid=7&order=dvd&order=aired&order=dvd

The TVDB has the DVDs as 13 2-part episodes.  I guess I would try renaming your episodes to "s01e1.1" etc.  and see if that works.

I think there may be something not working with the DVD order agent, it's been working perfectly for years but suddenly when replacing episodes of Star Trek -The Next Generation with my ripped Blu Ray versions the metadata and info for episodes will not scrape.  I've tried removing the series and readding, Deep Scan as well.  The naming conventions are the same as they previously were before overwriting the older files.  For some reason it doesn't work.  Out of curiousity I created a new section in PMS and connected all my series that require DVD ordering and the problem persists.  FireFly for instance pulls down the information for a completly different show.  If someone can shed some light on this that would be great.  I'm using the most current DVD order bundle on Mac with the latest public PMS release (0.9.7.28.33-f80f4a2).  XBMC's most recent TVDB scraper seems to be working with no problem.

I need help with a DVD I have.  I have Mike the Knight: Knight in Training which has various episodes from season 1 but they are not in the same order that season 1 was released in.  The order on this DVD is s01e11, s01e02, s01e04, s01e05 and s01e21.  These episodes are in one file not seperate files.  Can anyone tell me how to name the file to make the proper information show up on my server?  I have this plugin installed but I might have misunderstood it's use.  Thank you!

This no longer fixes American Dad it would seem, anyone have any idea what can be done to get American Dad ordering fixed again? I wish Plex would give us the option to use TVRage again for specific shows... I may have to go back to XBMC at this rate.

Turns out this the DVD ordering agent is fine and theTVDB.com has been edited so American Dad's dvd ordering is wrong, I guess to spite all the people using the DVD ordering... 

Turns out this the DVD ordering agent is fine and theTVDB.com has been edited so American Dad's dvd ordering is wrong, I guess to spite all the people using the DVD ordering... 

Er. It hasn't been edited in a really long time