All Projects → sharmaanupam106 → TvShuffleForPlex

sharmaanupam106 / TvShuffleForPlex

Licence: GPL-3.0 license
The purpose of this application is to allow a chronological shuffling of tv shows. The selected TV Shows maybe shuffled however the episodes will be selected based on next unwatched.

Programming Languages

C++
36643 projects - #6 most used programming language
python
139335 projects - #7 most used programming language
c
50402 projects - #5 most used programming language
HTML
75241 projects
Batchfile
5799 projects
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to TvShuffleForPlex

plexmedia-downloader
Offline download media from Plex Media Server
Stars: ✭ 15 (-6.25%)
Mutual labels:  plex, plex-server
UpdateTool
A tool to update the IMDB ratings for Plex libraries that contain movies/series and use the IMDB agent to receive ratings
Stars: ✭ 195 (+1118.75%)
Mutual labels:  plex, plex-server
plex-utills
Manage your Plex library automatically
Stars: ✭ 258 (+1512.5%)
Mutual labels:  plex, plex-server
plex-traefik
Plex media server with traefik 2 in docker and docker-compose
Stars: ✭ 30 (+87.5%)
Mutual labels:  plex, plex-server
medialytics
A basic, free tool that shows information about Plex Media Server content
Stars: ✭ 31 (+93.75%)
Mutual labels:  plex, plex-server
conv2mp4-py
Python script that recursively searches through a user-defined file path and converts all videos of user-specified file types to MP4 with H264 video and AAC audio using ffmpeg. If a conversion failure is detected, the script re-encodes the file with HandbrakeCLI. Upon successful encoding, Plex libraries are refreshed and source file is deleted. …
Stars: ✭ 37 (+131.25%)
Mutual labels:  plex, plex-server
PlexServerAutoUpdater
Automatically update Plex when running the Plex service.
Stars: ✭ 94 (+487.5%)
Mutual labels:  plex, plex-server
pachinko
modular pluggable media sorter
Stars: ✭ 27 (+68.75%)
Mutual labels:  plex
seedbox-from-scratch
The Dockered Seedbox From Scratch Mod 2 Script
Stars: ✭ 14 (-12.5%)
Mutual labels:  plex
CSM.bundle
No description or website provided.
Stars: ✭ 22 (+37.5%)
Mutual labels:  plex
flixctl
A toolkit for controlling the infrastructure necessary for a true MaSaS (Movies and Shows as a Service) architecture.
Stars: ✭ 43 (+168.75%)
Mutual labels:  plex
arch-plexpass
Docker build script for Arch Linux base with Plex Pass Media Server installed
Stars: ✭ 21 (+31.25%)
Mutual labels:  plex
PlexAutoSkip
Automatically skip content in Plex
Stars: ✭ 95 (+493.75%)
Mutual labels:  plex
ombi-bot
Telegram bot for OMBI
Stars: ✭ 39 (+143.75%)
Mutual labels:  plex
PlexKodiConnect
Plex integration in Kodi done right
Stars: ✭ 917 (+5631.25%)
Mutual labels:  plex
WebTools-NG
WebTools Next Generation for Plex
Stars: ✭ 354 (+2112.5%)
Mutual labels:  plex
Cleanarr
A simple UI to help find and delete duplicate and sample files from your Plex server
Stars: ✭ 115 (+618.75%)
Mutual labels:  plex
clusterplex
ClusterPlex is basically an extended version of Plex, which supports distributed Workers across a cluster to handle transcoding requests.
Stars: ✭ 123 (+668.75%)
Mutual labels:  plex
Improved-Plex-Mobile
Changes to Plex web for a better mobile viewing experience. Finally, a better Plex mobile site.
Stars: ✭ 32 (+100%)
Mutual labels:  plex
fylm
A wonderful automated command line app for organizing your film media. Built for Plex and SABnzbd.
Stars: ✭ 25 (+56.25%)
Mutual labels:  plex

TvShuffleForPlex

Description

The purpose of this application is to allow a chronological shuffling of tv shows. The selected TV Shows maybe shuffled however the episodes will be selected based on next unwatched.

NOTE: This is not a secure site, keep it within your local network. (no port forwarding)

How it works

  • You select a series of TV shows you want to see
  • You select the length of the queue you want generated. (default 20)
  • You select shuffle.
    • Inclusive shuffle will only pick episodes from the selected tv shows
    • Exclusive shuffle will only pick episodes from all shows NOT selected.
  • The app will randomly pick a show from your selected tv shows list, and find the next unwatched episode to put in the queue slot
    • It will move on to the next queue slot and pick a random show to do the same with.
    • If a show is selected for 2 or more slots and the next unwatched episode is already in the queue, the later slot will get the episode following the last episode in the list, keeping the order of episodes in the queue in order.
  • Once the queue is generate, you select which active client you want the queue sent to for viewing.

High level functionalities

  • Allow users to select the plex server from which to source tv shows.
  • Allow users to multi select tv shows from which shuffled (inclusive and exclusive) episodes will be selected.
  • Allow users to save the selected tv shows as lists, making it easier to come back to the same list of shows.
  • Allow users to set the max number of episodes that will be put in the plex queue.
  • Allow users to push the generated episodes plex queue to a given client.

Supported Systems

  • Ubuntu 20.x - Manjaro 20.x
  • Windows 10 (64bit)

Installation

LINUX

Auto Service Install

Does the same steps as the Manual Install

  1. Download the Git Repo
  2. Run the service_install.sh script This script required elevated privileges to run
    • Use sudo service_install.sh to prevent having to put your password multiple times, or erring out
    • Uninstall using service_uninstall.sh script This script required elevated privileges to run

Manual install

  1. Download the Git Repo
  2. Install the requirements pip3 install -r requirements.txt
  3. Make migrations
    python3 manage.py makemigrations
    python3 manage.py migrate
    
  4. Start the application python3 manage.py runserver {IP}:{PORT}
Optional
  • Create and Enable a service.
    • Create service file touch TvShuffleForPlex.service
    • Edit the file with the following (Make sure you update all {} with the correct info)
    [Install]
    WantedBy=multi-user.target
    
    [Unit]
    Description=TV Shuffle For Plex
    After=network.target
    StartLimitIntervalSec=0
    
    [Service]
    WorkingDirectory={INSTALL PATH}
    Type=simple
    Restart=always
    RestartSec=1
    ExecStart={FULL PATH TO PYTHON3} {INSTALL PATH}/TvShuffleForPlex/manage.py runserver {IP}:{PORT}
    
    • Link the to service controller systemctl link ./TvShuffleForPlex.service
    • Reload daemon systemctl daemon-reload
    • Enable the service systemctl enable TvShuffleForPlex.service
      • Will automatically start the service on boot.
    • Start the service systemctl start TvShuffleForPlex.service
      • Check to make sure the service started normally without errors systemctl status PlexTvStation.service
  • Starting and Stopping the service
    • Start service systemctl start TvShuffleForPlex.service
    • Stop service systemctl stop TvShuffleForPlex.service

Troubleshooting

  • Read the log files at {INSTALL PATH}/TvShuffleForPlex/_tvshuffleforplex/logs
  • Read console outputs journalctl -u TvShuffleForPlex.service
  • Google errors that might occur.

Windows

Thank you to NSSM - Non-sucking Service Manager for making Windows service creation simple

Auto Service Install

Does the same steps as the Manual Install

  1. Download the Git Repo
  2. Run the service_install.bat script This script required elevated privileges to run
    • Uninstall using service_uninstall.bat script This script required elevated privileges to run

Manual install

  1. Download the Git Repo
  2. Install the requirements pip3 install -r requirements.txt
  3. Make migrations
    python3 manage.py makemigrations
    python3 manage.py migrate
    
  4. Start the application python3 manage.py runserver {IP}:{PORT}
Optional
  • Create and Enable a service. Using NSSM - Non-sucking Service Manager located in {INSTALL PATH}\nssm-2.24\win64\nssm.exe

    (Make sure you update all {} with the correct info)

    • Create a service from an admin cmd nssm.exe install TvShuffleForPlex {FULL PATH TO PYTHON} {INSTALL PATH}/TvShuffleForPlex/manage.py runserver {IP}:{PORT}
    • Start the service nssm.exe start TvShuffleForPlex
    • Check the status of the service nssm.exe status TvShuffleForPlex

Usage

  • Login with your plex account

    http://{IP}:{PORT}/login
    

    Login

  • Select a plex server

    ServerSelect

  • Select TV Shows

    ShowSelect

  • Shuffle the Shows

    • Inclusive/Exclusive select
    • Max episodes in generate queue

    Shuffle

  • Shuffle the list

  • Select a client to push the queue to

    ClientPush

  • Save the selected list

    SaveList

  • Select saved List

    SelectList

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].