Watch As Aired

Home Theature PC / / Watch As Aired

I love Plex. Its a fantastic tool for organising all my media, and this script is just my way of making things a little more fun.

I’m a Trekkie and with the merger of the Vicom and CBS, Star Trek films and TV series are all now under the same banner again. So I got to thinking, they should create an option that allows you to watch everything as it was released.

While Star Trek has - until Discovery - never been directly connected many episodes do connect and plot points important to Deep Space Nine are setup in The Next Generation which makes the early seasons of Deep Space Nine better. Deep Space Nine, likewise, helps to break up the early episodes of Voyager.

So I started working on this tool for Plex, but like all ideas I started down the rabbit hole and it grew. So many other shows share the same type of relationship:

  • Stargate SG-1 & Stargate Atlantis
  • Buffy The Vampire Slayer & Angle
  • Doctor Who & Torchwood

With this in mind the script evolved.


To use Watch As Aired simply put add all the episodes or movies you want into one playlist called Seed - <NAME>; eg. ‘Seed - Star Trek’, ‘Seed - Stargate’, ‘Seed - Doctor Who’

  1. Call the wrapper script the ‘start’ command: ./ start <SERVER_NAME> "<NAME>"
  2. Start watching the new playlist that been created ’<NAME> - Play Though’
  3. As your watching you call the the ‘prune’ command to remove episodes you’ve already watched: ./ prune <SERVER_NAME> "<NAME>"
  4. When you all finished you can ether delete the ’<NAME> - Play Though’ playlist, or run the delete command: ./ delete <SERVER_NAME> "<NAME>"


  • ./ start <SERVER_NAME> "Star Trek"
  • ./ prune <SERVER_NAME> "Star Trek"
  • ./ delete <SERVER_NAME> "Star Trek"

  • ./ start <SERVER_NAME> "Stargate"
  • ./ prune <SERVER_NAME> "Stargate"
  • ./ delete <SERVER_NAME> "Stargate"

Installation / Setup

This script requries python-plexapi and has been tested on Python 2.7.

Once downloaded, copy the config.ini.dist file to config.ini and fill in your Plex username and password.

License - GNU General Public License, version 3 (GPL-3.0)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see

The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of NxFIFTEEN or any of the original authors other employers - past or present.

Logo Designed by Freepik