Develop a custom scanner for libraries

is it possible to do that? the current scanner doesn’t meet my requirement because it can’t properly arrange my videos. If it is doable, how exactly can I do that? Thanks.

Hi, I asked similar questions earlier. This is the link: For organizing files, need some help!

I got some answer from you guys about how to arrange the folders, and I also tried to do that. However, it seems like if I want to arrange all the videos under each year. It is not possible unless I made very large effort to achieve that. So I am thinking of developing a new scanner for my situation.

I have done some research that the current scanners were written by pyhon and it is at
“/volume1/@appstore/Plex Media Server/Resources/Plug-ins-6c22540d5/Scanners.bundle/Contents/Resources/Movies”

so I want to know if I write a new scanner and put in this folder, I can use it right? Thanks.

I think I will just develop a custom scanner since I personally think putting all videos under the same directory isn’t a really good organize method. btw, is it possible to submit an application for review on my scanner in the future, so it becomes an official scanner?

I’m curious; what is it that you scanner will do that Plex’s doesn’t? …you weren’t clear in that other post which library type you were referring to (Movie, TV Show).

Whilst I name my Movie .mp4 files as per Plex’s requirement (using Filebot), I organise them by letter of the alphabet (for easier lookup) and it works fine:

/Media
  /Movies
    /a
      Ant-Man (2015).mp4
      Apollo 13 (1995).mp4
      Avatar (2009).mp4
      ...
    /b
      Batman Begins (2005).mp4
      Blood Diamond (2006).mp4
      The Bourne Identity (2002).mp4
      ...
    /c
      ...

Note: The Bourne Identity is under B (as I am ignoring definite and indefinite articles).

It’s best to follow Plex’s naming and organisation for TV shows (in any given library) though as Plex will not allow sub-directories for organisational purposes:

/Media
  /TV Shows
    /Show_name (year)
      /Season 01
        Show_name (year) - S01E01 - Episode_title.mp4
        Show_name (year) - S01E02 - Episode_title.mp4
        ...
      /Season 02
        Show_name (year) - S02E01 - Episode_title.mp4
        Show_name (year) - S02E02 - Episode_title.mp4
        ...
    /Show_name_2 (year)
    ...

I want to do it like this. And I think making modified scanner can achieve it faster since I have about 50tb files…

Root
-2020-Jan

  • Collection 1
    • Extra
      -OVA1.mp4
    • EP1.mp4
    • EP2.mp4
    • EP3.mp4
  • Collection 2
  • Collection 3

-2019-Jan

  • Collection 4
  • Collection 5
  • Collection 6

My main point is I only want collections lie under a year(year + month even better) instead of all collections lie under “TV Shows” folder. And also by following the guideline above, I don’t think it will auto match the year of the collections as well. And I really want all collection dates to set automatically on scanning phase.

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