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’
- Call the wrapper script the ‘start’ command:
./watch-as-aired.sh start <SERVER_NAME> "<NAME>"
- Start watching the new playlist that been created ’<NAME> - Play Though’ …
- As your watching you call the the ‘prune’ command to remove episodes you’ve already watched:
./watch-as-aired.sh prune <SERVER_NAME> "<NAME>"
- When you all finished you can ether delete the ’<NAME> - Play Though’ playlist, or run the delete command:
./watch-as-aired.sh delete <SERVER_NAME> "<NAME>"
./watch-as-aired.sh start <SERVER_NAME> "Star Trek"
./watch-as-aired.sh prune <SERVER_NAME> "Star Trek"
./watch-as-aired.sh delete <SERVER_NAME> "Star Trek"
./watch-as-aired.sh start <SERVER_NAME> "Stargate"
./watch-as-aired.sh prune <SERVER_NAME> "Stargate"
./watch-as-aired.sh 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 http://www.gnu.org/licenses/.
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