Jump to content

[Support] Gaps

Featured Replies

Posted

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.

 

We've got some big changes integrated into the app and have much improvement all the way around. Hopefully, you all enjoy it.

 

Release v0.5.0

 

Docker

 

GitHub

 

 

New Improvements:

  • Automated searching

  • Notifications via like telegram, email, etc

Edited by Knoxie89
Updated release v0.5.0

  • Replies 108
  • Views 28.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • GeekMajic
    GeekMajic

    @housewrecker Is there a plan to make this an automated process, like re-scan daily?

  • Good catch, I'll have to add that to the readme in GitHub. Thanks.

  • housewrecker
    housewrecker

    @scott4740 Awesome, glad to hear it!   In reference to @tallguydirk's issue, it was a Thymeleaf/Spring Boot post issue. Tested on multiple machines, merging to master, and deploying. v0.1.4

Posted Images

Thanks.

Why folder is disabled?

Why no host mount point?

 

 

Hello all,

 

I'm just trying it :)

Very simple to use! Scanning in progress.

 

I think @NLS remark about host mount point may allow a feature: storing TMDB API key and Plex Token.

Anyway, that tool isn't meant to be used very frequently in my opinion, not as frequent as radarr suggestions in example.

 

I will come back with the result of my test I started the scan of 687 movies accros 4 libraries 

 

At the moment, log is full of "Result not fount"

 

 

I probably misconfigured something, because it not seems to work:

image.thumb.png.e02d6fe4c9b6018b1fae44d2533041be.png

 

image.thumb.png.4fcd4b01a0d36ed2ed79afe7de33e685.png

 

There are people NOT using Plex. That is my issue.

Gaps can work with people not using Plex, but this container cannot.

 

  • 2 weeks later...
  • Author

Were in the process of a rework, and will add folders back soon.  I wasnt' getting notifcations for this post, sorry for late replies.


If it's very important to you, please add it to our github issues tracker for consideration on the next release.

Edited by Knoxie89

  • Author
On 11/27/2019 at 3:48 AM, Reynald said:

I probably misconfigured something, because it not seems to work:

image.thumb.png.e02d6fe4c9b6018b1fae44d2533041be.png

 

image.thumb.png.4fcd4b01a0d36ed2ed79afe7de33e685.png

 

Did you change the branch tag for dockerhub? Looks like an issue we were seeing on our test branch not the latest release.

  • 3 weeks later...

FYI you will need to have Plex server Network Settings | Secure connections set to Preferred to get this to work. Required fails to connect. I hammered on this for while before stumbling across the advise on Reddit.

  • Author

Good catch, I'll have to add that to the readme in GitHub. Thanks.

  • Author

New release, hopefully you all enjoy. v0.1..0

I'm having trouble getting it set up with Plex.  This is the only error I see in the docker log:  

2020-01-06 20:32:47.315 ERROR 1 --- [nio-8484-exec-4] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.IllegalArgumentException: unexpected host: http://192.168.86.12:32400/web/index.html#] with root cause

java.lang.IllegalArgumentException: unexpected host: http://192.168.86.12:32400/web/index.html#

 

I get exact same error no matter what IP I try:

http://towermediaserv:32400/web/index.html# 

http://towermediaserv:32400/web/index.html

192.168.86.12 (my unraid server's local IP)

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

http://192.168.86.12:32400/web/index.html

 

I do have Plex's Network Settings | Secure connections set to Preferred

  • Author

I'm a little confused.

 

Can you not access the gaps web app?

 

Dies going to that address bring you to your Plex server? 

 

We're you able to access the gaps application?

19 minutes ago, tallguydirk said:

I'm having trouble getting it set up with Plex.  This is the only error I see in the docker log:  


2020-01-06 20:32:47.315 ERROR 1 --- [nio-8484-exec-4] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.IllegalArgumentException: unexpected host: http://192.168.86.12:32400/web/index.html#] with root cause

java.lang.IllegalArgumentException: unexpected host: http://192.168.86.12:32400/web/index.html#

 

I get exact same error no matter what IP I try:

http://towermediaserv:32400/web/index.html# 

http://towermediaserv:32400/web/index.html

192.168.86.12 (my unraid server's local IP)

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

http://192.168.86.12:32400/web/index.html

 

I do have Plex's Network Settings | Secure connections set to Preferred

Gaps creator here.

 

This could be a few things. I'm assuming your on Gaps v0.1.+. If not, make sure to update. Is Plex in your unraid container? Is the port 32400 exposed in the docker container to allow access to Plex? Did you set the network connections as mentioned by @interwebtech? If you want to post the whole long I can keep digging.

On 12/30/2019 at 6:41 AM, interwebtech said:

FYI you will need to have Plex server Network Settings | Secure connections set to Preferred to get this to work. Required fails to connect. I hammered on this for while before stumbling across the advise on Reddit.

 

25 minutes ago, housewrecker said:

Gaps creator here.

 

This could be a few things. I'm assuming your on Gaps v0.1.+. If not, make sure to update. Is Plex in your unraid container? Is the port 32400 exposed in the docker container to allow access to Plex? Did you set the network connections as mentioned by @interwebtech? If you want to post the whole long I can keep digging.

 

-I'm on v0.1.2

-Plex is running as a docker on the same unraid server

-I used Community Applications to install the Gaps docker, didn't change anything in the template.  How do I tell if port 32400 is exposed and if it's not, how do I expose it?  Maybe I'm just a docker n00b and this is common knowledge, but I wish the README instructions included a note for how to do this when you're installing via the unraid template.

- yes I do have Plex's Network Settings | Secure connections set to Preferred

Edited by tallguydirk

24 minutes ago, Knoxie89 said:

I'm a little confused.

 

Can you not access the gaps web app?

 

Dies going to that address bring you to your Plex server? 

 

We're you able to access the gaps application?

I can access the gaps web app, but when i try to add in the plex configuration from within the gaps web app it fails and takes me to a generic "something went wrong" page saying to check the logs, contact the dev, post on reddit, etc.

 

I normally use http://towermediaserv:32400/web/index.html# to access Plex.  

are you putting in your plex token?

18 minutes ago, tallguydirk said:

I can access the gaps web app, but when i try to add in the plex configuration from within the gaps web app it fails and takes me to a generic "something went wrong" page saying to check the logs, contact the dev, post on reddit, etc.

 

I normally use http://towermediaserv:32400/web/index.html# to access Plex.  

I don't know your skill level. But one test would be to curl Plex inside the Gaps docker container to see if the container is configured and can connect. I'm not in a spot to know if curl is in the container but it's worth a shot.  You need to install curl. It's easy and I have the commands below. How do you have docker configured? Is it using the host IP or does it have its own IP's behind the host machine? I would use the IP address if you can. So Address would be 192.168.86.12, port 32400, and then your token. 

 

If you open a unraid terminal.

 

EDITED

 

$ docker ps 

(Copy the gaps id)

$ docker exec -ti $(CONTAINER) /bin/bash

$ apt-get update

$ apt-get install curl

$ curl -I http://towermediaserv:32400/web/index.html#

 

Also, when you look at docker ps. In the ports section for Gaps, it should have the below as one of the ports

32400/tcp

 

Edited by housewrecker
Updating with more commands

  • Author

Are you entering the Plex token correctly?

I cannot seem to get the RSS to work in Radarr.  I get this message:

 

Unable to connect to indexer. Indexer responded with html content. Site is likely blocked or unavailable.

4 minutes ago, Viperkc said:

I cannot seem to get the RSS to work in Radarr.  I get this message:

 

Unable to connect to indexer. Indexer responded with html content. Site is likely blocked or unavailable.

What RSS gaps link are you using in Radarr? 

The one provided in the UI. But mine is still doing the initial scan so maybe need to let it finish before adding to Radarr?

3 minutes ago, Viperkc said:

The one provided in the UI. But mine is still doing the initial scan so maybe need to let it finish before adding to Radarr?

Yes, let it finish up the first search. After that, you'll always have the previous RSS to use. 

1 hour ago, housewrecker said:

I don't know your skill level. But one test would be to curl Plex inside the Gaps docker container to see if the container is configured and can connect. I'm not in a spot to know if curl is in the container but it's worth a shot.  You need to install curl. It's easy and I have the commands below. How do you have docker configured? Is it using the host IP or does it have its own IP's behind the host machine? I would use the IP address if you can. So Address would be 192.168.86.12, port 32400, and then your token. 

 

If you open a unraid terminal.

 

EDITED

 

$ docker ps 

(Copy the gaps id)

$ docker exec -ti $(CONTAINER) /bin/bash

$ apt-get update

$ apt-get install curl

$ curl -I http://towermediaserv:32400/web/index.html#

 

Also, when you look at docker ps. In the ports section for Gaps, it should have the below as one of the ports


32400/tcp

 

root@30b43fd8f0cb:/usr/app# curl -I http://towermediaserv:32400/web/index.html#
HTTP/1.1 200 OK
Cache-Control: no-cache
Accept-Ranges: bytes
Connection: Keep-Alive
Keep-Alive: timeout=20
Content-Length: 10146
Content-Type: text/html
X-Plex-Protocol: 1.0
Date: Tue, 07 Jan 2020 03:36:12 GMT

Here's my plex docker config:

network = host

192.168.86.12:1900/UDP-->192.168.86.12:1900
192.168.86.12:3005/TCP-->192.168.86.12:3005
192.168.86.12:32400/TCP-->192.168.86.12:32400
192.168.86.12:32410/UDP-->192.168.86.12:32410
192.168.86.12:32412/UDP-->192.168.86.12:32412
192.168.86.12:32413/UDP-->192.168.86.12:32413
192.168.86.12:32414/UDP-->192.168.86.12:32414
192.168.86.12:32469/TCP-->192.168.86.12:32469
192.168.86.12:8324/TCP-->192.168.86.12:8324

 

and gaps docker config:

network = bridge

172.17.0.5:8484/TCP-->192.168.86.12:8484

 

I just now tried it using 192.168.86.12 and was able to get past the plex configuration step, but now it's failing after I select which library I want to check for gaps in.  This is the error message:

2020-01-06 22:48:33.752 ERROR 1 --- [nio-8484-exec-3] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'libraries[10]' of bean class [com.jasonhhouse.gaps.PlexSearch]: Index of out of bounds in property path 'libraries[10]'; nested exception is java.lang.IndexOutOfBoundsException: Index 10 out of bounds for length 2] with root cause

java.lang.IndexOutOfBoundsException: Index 10 out of bounds for length 2

 

52 minutes ago, tallguydirk said:

root@30b43fd8f0cb:/usr/app# curl -I http://towermediaserv:32400/web/index.html#
HTTP/1.1 200 OK
Cache-Control: no-cache
Accept-Ranges: bytes
Connection: Keep-Alive
Keep-Alive: timeout=20
Content-Length: 10146
Content-Type: text/html
X-Plex-Protocol: 1.0
Date: Tue, 07 Jan 2020 03:36:12 GMT

Here's my plex docker config:

network = host

192.168.86.12:1900/UDP-->192.168.86.12:1900
192.168.86.12:3005/TCP-->192.168.86.12:3005
192.168.86.12:32400/TCP-->192.168.86.12:32400
192.168.86.12:32410/UDP-->192.168.86.12:32410
192.168.86.12:32412/UDP-->192.168.86.12:32412
192.168.86.12:32413/UDP-->192.168.86.12:32413
192.168.86.12:32414/UDP-->192.168.86.12:32414
192.168.86.12:32469/TCP-->192.168.86.12:32469
192.168.86.12:8324/TCP-->192.168.86.12:8324

 

and gaps docker config:

network = bridge

172.17.0.5:8484/TCP-->192.168.86.12:8484

 

I just now tried it using 192.168.86.12 and was able to get past the plex configuration step, but now it's failing after I select which library I want to check for gaps in.  This is the error message:


2020-01-06 22:48:33.752 ERROR 1 --- [nio-8484-exec-3] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'libraries[10]' of bean class [com.jasonhhouse.gaps.PlexSearch]: Index of out of bounds in property path 'libraries[10]'; nested exception is java.lang.IndexOutOfBoundsException: Index 10 out of bounds for length 2] with root cause

java.lang.IndexOutOfBoundsException: Index 10 out of bounds for length 2

 

Gaps is reporting 10 Plex libraries but is only finding 2. I need to see how many 'Movie' type libraries you have.

 

Can you send me the results of this call?

http://{IP_ADDRESS}:32400/library/sections/?X-Plex-Token={PLEX_TOKEN}

 

39 minutes ago, housewrecker said:

Gaps is reporting 10 Plex libraries but is only finding 2. I need to see how many 'Movie' type libraries you have.

 

Can you send me the results of this call?


http://{IP_ADDRESS}:32400/library/sections/?X-Plex-Token={PLEX_TOKEN}

 

Sent you the output via direct message.  I do have quite a few of the type=movie libraries.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...