All Projects → Hellowlol → Bw_plex

Hellowlol / Bw_plex

binge watching for plex

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Bw plex

cast control
📺 Control Chromecasts from Linux and D-Bus
Stars: ✭ 443 (+37.58%)
Mutual labels:  chromecast
klingar
android music player for plex
Stars: ✭ 33 (-89.75%)
Mutual labels:  plex
Showcaseview
🔦The ShowcaseView library is designed to highlight and showcase specific parts of apps to the user with an attractive and flat overlay.
Stars: ✭ 281 (-12.73%)
Mutual labels:  intro
plexEncode
BASH post-processing script for Plex DVR, Shell, Sonarr, Radarr
Stars: ✭ 37 (-88.51%)
Mutual labels:  plex
Saltbox
Ansible-based solution for rapidly deploying a Docker containerized cloud media server.
Stars: ✭ 117 (-63.66%)
Mutual labels:  plex
Docker Homelab
Docker Compose Dateien für Homelabs
Stars: ✭ 255 (-20.81%)
Mutual labels:  plex
cast-web-api
Quick and dirty web API for Google Cast enabled devices.
Stars: ✭ 126 (-60.87%)
Mutual labels:  chromecast
Bubbleshowcase Android
BubbleShowCase is a framework that let you to use informative bubbles to help your users pointing out different App features.
Stars: ✭ 313 (-2.8%)
Mutual labels:  intro
Rhythmbox-Chromecast
Send all your music to your Chromecast (Audio) within Rhythmbox
Stars: ✭ 17 (-94.72%)
Mutual labels:  chromecast
Androidonboarder
A simple way to make a beauty onboarding experience (app intro or welcome screen) for your users.
Stars: ✭ 269 (-16.46%)
Mutual labels:  intro
medialytics
A basic, free tool that shows information about Plex Media Server content
Stars: ✭ 31 (-90.37%)
Mutual labels:  plex
LMS-to-Cast
Chromecast to LMS bridge
Stars: ✭ 45 (-86.02%)
Mutual labels:  chromecast
Kitana
A responsive Plex plugin web frontend
Stars: ✭ 252 (-21.74%)
Mutual labels:  plex
plexmedia-downloader
Offline download media from Plex Media Server
Stars: ✭ 15 (-95.34%)
Mutual labels:  plex
Plex
最新版本下載 一鍵翻牆梯子 加速器 科學上網 best VPN 2021
Stars: ✭ 295 (-8.39%)
Mutual labels:  plex
chromecast-api
📺 Chromecast Node.js module
Stars: ✭ 122 (-62.11%)
Mutual labels:  chromecast
Pi-OpenCast
📺 Transform your Raspberry Pi into an awesome streaming device.
Stars: ✭ 29 (-90.99%)
Mutual labels:  chromecast
Organizr
HTPC/Homelab Services Organizer - Written in PHP
Stars: ✭ 3,605 (+1019.57%)
Mutual labels:  plex
React Native App Intro
react-native-app-intro is a react native component implementing a parallax effect welcome page using base on react-native-swiper , similar to the one found in Google's app like Sheet, Drive, Docs...
Stars: ✭ 3,169 (+884.16%)
Mutual labels:  intro
Noice
A native Android app to relax, improve focus and boost productivity with minimal background noise.
Stars: ✭ 264 (-18.01%)
Mutual labels:  chromecast

bw_plex

Codacy Badge Travis Status Cov GitHub Releases PyPI version GitHub last commit docker build

A tool for skipping intro and outro for plex.

Features

  • identify outro start and end scanning the video for credits text.
  • identify intro start and end using themes song or blackframes and audio silence.
  • identify if the video has a recap using subtitles and audio.
  • download theme songs.
  • process on playback start.
  • process on recently added.
  • control the client to skip intro/outro.
  • start next episode when the credits start.
  • create chapter for intro and outro

Install

You should install this from github as this project isnt stable. pip install -e git+https://github.com/Hellowlol/bw_plex.git#egg=bw_plex or using a docker docker pull hellowlol/bw_plex. You may also need to pip install Pillow.

Usage

Note: This tool only works on your local network and use a 64 bit python install.

Usage: bw_plex

[OPTIONS] COMMAND [ARGS]...

  CLI tool that monitors pms and jumps the client to after the theme.

Options:
  -d, --debug             Add debug logging.
  -u, --username TEXT     Your plex username
  -p, --password TEXT     Your plex password
  -s, --servername TEXT   The server you want to monitor.
  --url TEXT              url to the server you want to monitor
  -t, --token TEXT        plex-x-token
  -c, --config TEXT       Not in use atm.
  -vs, --verify_ssl TEXT  Enable this to allow insecure connections to PMS
  --help                  Show this message and exit.

Commands:
  add_theme_to_hashtable  Create a hashtable from the themes.
  check_db                Do a manual check of the db.
  create_config           Create a config file.
  export_db               Export the db to some other format.
  ffmpeg_process          Simple manual test for ffmpeg_process with...
  manually_correct_theme  Set the correct fingerprint of the show in...
  match                   Manual match for a file.
  process                 Manual process some/all eps.
  set_manual_theme_time   Set a manual start and end time for a theme.
  watch                   Start watching the server for stuff to do.

You can read the help for the subcommands using --help: bw_plex export_db --help

The most common command is: bw_plex watch --url "http://....." -t "aaabb" you can skip the url and token flags if you edit the config.ini

Resources

The memory usage and especially the CPU can get very high. If you running bw_plex in a docker on a shared server consider adding resource constraints. For simple cpu constraints you can set the niceness with the nice flag bw_plex --nice nicenesslevel command

Configuration File

bw_plex automatically generates a default configuration file located at ~/.config/bw_plex/config.ini. Most of the entries have notes accompanying them explaining what each one does, and what the options are.

How it works:

Bw_plex listens for playing events using websocket. We download the first 10 minutes of that episode and/or the theme music from YouTube/tvtunes/Plex.

We then create a audio print from the theme song that we match against the audio of the 10 minutes of the episode. (There’s a backup method that uses audio silence in combination with black frames too).

We then check if this episode has a recap using subtitles and audio where we look for clues like last season, previously on (add you own words in the config), then we download last part of the episode an and indentify the start and end of the outro.

Depending on your settings we will then allow playback until the theme start or just jump straight to intro end if we also should skip recaps.

Since this is a rather slow process we also start processing the next episode so next time you watch the same show we instantly seek the client to the end of the theme.

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].