# Absolute Order Agent

**URL:** <https://forums.plex.tv/t/absolute-order-agent/6994>\
**Category:** Dev/API Corner\
**Tags:** scanner-agent-dev\
**Created:** [December 20, 2010, 4:39pm UTC](https://forums.plex.tv/t/absolute-order-agent/6994 "2010-12-20T16:39:21Z")\
**Posts on this page:** 14\
**Page:** 2

<div class="post-metadata">

**Author:** ![ColourOfSound](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/colourofsound/32/272631_2.png) [@ColourOfSound](https://forums.plex.tv/u/ColourOfSound)\
**Post date:** [March 18, 2011, 11:21pm UTC](https://forums.plex.tv/t/absolute-order-agent/6994/21 "2011-03-18T23:21:26Z")

</div>

Recently, I’ve had to do a format and re-install of everything on the Mac i’m using for Plex.  
  
  
  
Before, I had installed the Absolute Ordering Agent and the Tweaked Series Scanner 2, and it scanned my media fine along side none-absolute order stuff in the same group. All was well.  
  
  
  
I also noted that in the Metadata Agent Settings, theTVDB was listed in the Absolute Order field and I was able to drag them around to change the preference. This is why I think this worked with none-absolute ordered and absolute ordered media in the same folder.  
  
  
  
Now after the re-install, I don’t have thetvdb in the Absolute Order field so I can drag it’s preference like before, I just have Absolute Order ticked and greyed out. I seem to be able to scan all my media but my absolute ordered media gathers covers but not titles and descriptions.  
  
  
  
It’s very confusing. Anyway, I was wondering if there is a method for adding agents to groups so that you can drag and order to your hearts content. I’m hoping this’ll solve my issue.  
  
  
  
I hope this makes sense!  
  
  
  
C

---

<div class="post-metadata">

**Author:** ![djcrumple](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@djcrumple](https://forums.plex.tv/u/djcrumple)\
**Post date:** [March 27, 2011, 4:40am UTC](https://forums.plex.tv/t/absolute-order-agent/6994/22 "2011-03-27T04:40:47Z")

</div>

> [@](#):
>
> It's very confusing. Anyway, I was wondering if there is a method for adding agents to groups so that you can drag and order to your hearts content. I'm hoping this'll solve my issue.

  
  
I ran into a similar problem and posted my solution [here](http://forums.plexapp.com/index.php/topic/24901-add-local-media-assets-to-existing-metadata-agent/). Hope you find this useful.

---

<div class="post-metadata">

**Author:** ![ColourOfSound](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/colourofsound/32/272631_2.png) [@ColourOfSound](https://forums.plex.tv/u/ColourOfSound)\
**Post date:** [March 27, 2011, 6:32pm UTC](https://forums.plex.tv/t/absolute-order-agent/6994/23 "2011-03-27T18:32:09Z")

</div>

Thanks! I’ll give that a try next time I have some absolute ordered stuff.  
  
  
  
In the end I just got so irritated with it I renamed the whole show into aired order so it would scan properly. Only took me 2 hours ☹  
  
  
  
C

---

<div class="post-metadata">

**Author:** ![djcrumple](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@djcrumple](https://forums.plex.tv/u/djcrumple)\
**Post date:** [May 7, 2011, 7:14pm UTC](https://forums.plex.tv/t/absolute-order-agent/6994/24 "2011-05-07T19:14:24Z")

</div>

This took a really long time to notice. It seems like the Tweaked Series Scanner looks in the CRC for episode numbers. For example, if it scans a file like show\_12\_[0000 **E345**].avi, it uses 345 as the episode number instead of 12. Is it possible to ignore the CRC?

---

<div class="post-metadata">

**Author:** ![cjbottaro](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/cjbottaro/32/112637_2.png) [@cjbottaro](https://forums.plex.tv/u/cjbottaro)\
**Post date:** [May 17, 2011, 4:43pm UTC](https://forums.plex.tv/t/absolute-order-agent/6994/25 "2011-05-17T16:43:00Z")

</div>

Is this still the preferred way to get absolute ordering to work? Is there a more official solution in the pipeline or anything?  
  
  
  
Thanks.

---

<div class="post-metadata">

**Author:** ![jondrum418](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@jondrum418](https://forums.plex.tv/u/jondrum418)\
**Post date:** [May 31, 2011, 5:23am UTC](https://forums.plex.tv/t/absolute-order-agent/6994/26 "2011-05-31T05:23:46Z")

</div>

Wow! thank you so much!! I was looking all over for this around November of last year and just kinda gave up, then started looking again this morning and it’s right here!! I greatly appreciate the work you put into this. Thank you!!!  
  
  
  
I took the liberty of putting these up on Demonoid together and just wanted to let you know that in the last 24 hours I’ve had 40 downloads. 🙂 Thanks again!  
  
  
  
[http://www.demonoid.me/files/details/2649974/1059864/](http://www.demonoid.me/files/details/2649974/1059864/)

---

<div class="post-metadata">

**Author:** ![321456](https://avatars.discourse-cdn.com/v4/letter/3/59ef9b/32.png) [@321456](https://forums.plex.tv/u/321456)\
**Post date:** [June 10, 2011, 5:01am UTC](https://forums.plex.tv/t/absolute-order-agent/6994/27 "2011-06-10T05:01:36Z")

</div>

I’ve been having trouble with getting this to work. I downloaded the agent and the version 2 scanner. I set up my anime section to use the agent and scanner as seen in the image below.  
  
  
  
[http://dl.dropbox.com/u/25736517/Agent%3AScanner.png](http://dl.dropbox.com/u/25736517/Agent%3AScanner.png)  
  
  
  
The shows are still being ordered by Season as seen in the image below.  
  
  
  
[http://dl.dropbox.com/u/25736517/Season%20Order.png](http://dl.dropbox.com/u/25736517/Season%20Order.png)  
  
  
  
To install the agent i just double clicked on it and it said it was installed. I placed the scanner under user/library/application support/plex media server/scanners/series. I created the series folder as suggested. What am I doing wrong???   
  
  
  
Thanks for your time

---

<div class="post-metadata">

**Author:** ![321456](https://avatars.discourse-cdn.com/v4/letter/3/59ef9b/32.png) [@321456](https://forums.plex.tv/u/321456)\
**Post date:** [June 10, 2011, 9:04pm UTC](https://forums.plex.tv/t/absolute-order-agent/6994/28 "2011-06-10T21:04:10Z")

</div>

I got things to work. For some reason just pressing update doesn’t rescan the folders. I needed to rename a couple files and then rename them back. Once I did that the folders were rescanned properly and everything was put into absolute order.

---

<div class="post-metadata">

**Author:** ![hstamas](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/hstamas/32/2006_2.png) [@hstamas](https://forums.plex.tv/u/hstamas)\
**Post date:** [June 13, 2011, 5:37pm UTC](https://forums.plex.tv/t/absolute-order-agent/6994/29 "2011-06-13T17:37:50Z")

</div>

I have both the agent and scanner installed. I am getting the metadata to match for the most part but my shows are still broken down into seasons even though my files are named with just the episode number (ie: blue exorcist - 009.mkv). Is this normal or should I have just one long list of numbered episodes?

---

<div class="post-metadata">

**Author:** ![jmjf](https://avatars.discourse-cdn.com/v4/letter/j/7ab992/32.png) [@jmjf](https://forums.plex.tv/u/jmjf)\
**Post date:** [October 15, 2011, 5:35am UTC](https://forums.plex.tv/t/absolute-order-agent/6994/30 "2011-10-15T05:35:39Z")

</div>

Somewhat related issue [here](http://forums.plexapp.com/index.php/topic/31005-problem-numbers-in-series-names/). Any ideas?  
  
  
  
Thanks.  
  
  
  
–EDIT–  
  
Had problems with the tweaked scanner in this thread, so I started with the stock 0.9.3.5 scanner and modified it to handle absolute ordering properly. See details [here](http://forums.plexapp.com/index.php/topic/31081-better-absolute-scanner-babs/).  
  
  
  
I also modified the stock metadata agent to handle absolute ordered shows properly (i.e., I have metadata for episodes that aired after the first season) without breaking SxxExx ordered shows. Still need to make some adjustments. In initial tests, it looks like the stock scanner and/or agent–or maybe Plex itself–doesn’t handle date-based ordering correctly (show\_yyyy-mm-dd.mkv), so want to see if I can fix that too. Pretty sure that’s in the agent or in Plex itself. If there’s interest, let me know.

---

<div class="post-metadata">

**Author:** ![Sloshy42](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@Sloshy42](https://forums.plex.tv/u/Sloshy42)\
**Post date:** [November 25, 2015, 6:25pm UTC](https://forums.plex.tv/t/absolute-order-agent/6994/31 "2015-11-25T18:25:52Z")

</div>

For anyone having problems with The Melancholy of Haruhi Suzumiya, I’ve attached a fix that lets them be properly sorted. They’re a bit of a black sheep so they aren’t properly detected by the above plugin without a slightly modified **init**.py file (in AbsTVDB.bundle/Contents/Code). Here’s what I did:

First, download jmjf’s fixed AbsTVDB plugin bundle above (thank you kindly sir).

Second, rename your files according to absolute order on TVDB. For some (wonderful) reason they have absolute order as the “chronological” AKA “proper” way to view the series. You can automate this with FileBot or something if you use that, and it should work fine. The problem is that they’re not recognized by the absolute order plugin very well.

Third, dig into the file structure of the AbsTVDB.bundle folder in your plug-ins and find **init**.py. Search it for all mentions of the characters ‘EpisodeNumber’ (should only be one I think) and replace it with ‘absolute\_number’, This tells the agent to sort by the absolute number instead of the aired episode number (which is horribly, painfully different for Haruhi).

Fourth, fix the incorrect show match using the plugin and it should automatically sort them in the proper order. Your images might be a little messed up (not sure if there’s somewhere else in the file I should edit or if it’s a cache problem) but if you manually change the images for most episodes it should look fine. The descriptions, episode titles, and so on should all be working.

If you download the attached .zip and replace **init**.py with the file included, you should get the same effect, but you might find it’s easier to just edit it yourself. Alternatively, you can use this slightly modified plugin with those specific Haruhi modifications. If anyone finds any problems, let me know. It was a simple find/replace job so it’s probably not that consistent.

---

<div class="post-metadata">

**Author:** ![Sloshy42](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@Sloshy42](https://forums.plex.tv/u/Sloshy42)\
**Post date:** [November 25, 2015, 6:34pm UTC](https://forums.plex.tv/t/absolute-order-agent/6994/32 "2015-11-25T18:34:46Z")

</div>

Whoops, seems I know absolutely nothing about Plex plugins. Here’s a fixed bundle that actually works because I didn’t understand the naming conventions. Enjoy!

---

<div class="post-metadata">

**Author:** ![Sloshy42](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@Sloshy42](https://forums.plex.tv/u/Sloshy42)\
**Post date:** [November 25, 2015, 6:37pm UTC](https://forums.plex.tv/t/absolute-order-agent/6994/33 "2015-11-25T18:37:33Z")

</div>

Small update since I can’t seem to edit posts (not sure if that’s privilege-related or what, I’m new to these forums): using this separate bundle instead of modifying the existing AbsTVDB plugin seems to have fixed my image issue, so use the bundle instead of the file and it should work just fine.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 8:55pm UTC](https://forums.plex.tv/t/absolute-order-agent/6994/34 "2019-12-20T20:55:19Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

[Previous page](https://forums.plex.tv/t/absolute-order-agent/6994.md?page=1)
