Skip to content

JasonHHouse/gaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Project logo

Gaps

Status GitHub Issues GitHub Pull Requests License


Unfortunately, I no longer have the time to maintain Gaps and it is no longer under active development.

Gaps searches through your Plex Server for all movies, then queries for known movies in the same collection. If those movies don't exist in your library, Gaps will recommend getting those movies, legally of course.

πŸ“ Table of Contents

🧐 About

Gaps is a FOSS application. An example of Gaps running would be having a copy of 'Alien (1979)' and Gaps recommending 'Aliens (1986)' and 'AlienΒ³ (1992)' to be added to your collection.

🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Windows Users check out the Wiki to get setup

Prerequisites

What things you need to install the software and how to install them.

Option 1

Gaps can run in Docker. If you choose to run this way, you'll need a Docker environment installed. Docker has a good write up on installing Docker CE. Check it out here. Once you get docker up and running

Option 2

Gaps can run as an exe on Windows. GapsAsJar can be found on the releases page. Gaps-{version}.zip.

Installing

With Docker installed, you'll need to now pull down the latest Gaps image. The Gaps image is hosted here. To pull the image, run the following command in a terminal

If you are running an x86 machine, use the following commands. Check out the wikis for how to build ARM v8, ARM v7, or RISC.

docker pull housewrecker/gaps:latest

If you are running an ARM machine, use this command.

docker pull housewrecker/gaps:arm-latest

With the image pulled, now you can run the container.

Note: 8484 is used internally by gaps. Externally, any available host port can be used. This can be configured by changing -p {valid port number}:8484

docker run -d -p 8484:8484 --name mygaps --expose 32400 -v /{localFolder}/gaps:/usr/data housewrecker/gaps:latest

Open your browser and navigate to, http://{IP_ADDRESS}:8484

If everything worked, you will be greeted by the gaps home page.

_Note: If you would like to set a base URL, use the variable BASE_URL and set the value you would like when running in Docker. Gaps on UNRAID has a BASE_URL variable in the template. If using a base URL, navigate to http://{IP_ADDRESS}:8484/BASE_URL

Home Page

🎈 Usage

Home Page

Home Page

Click the Settings tab to set up Gaps.

Settings

TMDB

First, you need to enter your The Movie Database (TMDB) API Key. As noted on the page, to use Gaps, you'll need a MovieDB API key. Navigate over to The Movie DB, create an account, and make an API Key. Copy that key and paste it below.

With your TMDB key added, now you need to configure the information to connect to Plex.

Click the Test button to confirm your key works.

Click the Save button to add your key.

Click the Plex tab to set up Gaps.

Plex

Plex Connection

Now you'll need to configure how to connect Gaps to Plex. This includes three main things: the host/IP address of Plex, the port Plex uses, and your personal Plex Token.

The host/IP address and port are the same ones you use to connect to Plex via the web. It could look something like this

https://localhost:32400/web/index.html

Or

https://127.0.0.1:32400/web/index.html

If Plex and Gaps are both running in the same Docker, you may need to use the IP address on the local network. Example

https://192.168.1.10:32400/web/index.html

So, in the first case, the host is localhost and the port 32400. In the second case, the host is 127.0.0.1 with the same port.

Lastly, you'll need to get your personal Plex Token. If you do not know already it's easy to find. Plex has a great writeup here about how to find your token.

Click the Test button to confirm your Plex server configuration works.

Click the Save button to add your Plex server.

Folders

Note: Right now only searching via Plex is working. In time, I'll add back in searching by folder.

Network

Plex Connection

Increase the timeout if Plex connection is on a remote network and timeouts are occurring.

Libraries

Click the Libraries tab to set up Gaps.

If you have more than one Movie Library or Plex Server, the dropdown lets you pick the Server and Library to search from.

Plex Movie Libraries

Click the Search button to find your Plex Movies.

Plex Movie Libraries

Gaps will display the movies found in the Plex Server Library.

Note: Rerun this step for each server you want Gaps to find the missing movies in.

Click the Recommended tab to set up Gaps.

Missing

Once you've started searching, the movies will start populating on the final page.

Gap Not Searched Missing Movies Yet

Click the Search button to find your missing movies.

Gaps Recommended Movies

For large libraries, this can take a while to run. The results are stored and only need to be rerun when Plex updates. Missing movies are added as found. Do not navigate away. Gaps will still run, but you'll have to check logs to know when it is complete. It is currently easier to just leave the page open. Fixes for this are coming soon.

Recommended and RSS

Gaps RSS Feed

Once you've completed at least one search of your plex libraries, you can then view and use the output as RSS.

⛏️ Built Using

  • jQuery - JS Framework
  • Bootstrap - UI Framework
  • Spring Boot - Server Framework
  • NodeJs - Testing and Build Environment
  • Cypress - Fast, easy and reliable testing for anything that runs in a browser.
  • ESLint - Find and fix problems in your JavaScript code
  • Faker.js - Generate massive amounts of fake data in the browser and node.js
  • UglifyJS/ES - UglifyJS is a JavaScript parser, minifier, compressor and beautifier toolkit.

Supporters

This project would not be possible without the support by these amazing folks. Become a sponsor or backer to help us out!

Sponsors

Sponsors

Backers

Backers

✍️ Authors

πŸŽ‰ Acknowledgements

  • @Knoxie Developer, testing, and support
  • Inspiration
    • I'm an avid movie watcher and this is a missing feature from Plex