[Support] Gaps


Recommended Posts

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
  • Like 1
Link to comment

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"

 

 

Link to comment
  • 2 weeks later...

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
Link to comment
  • 3 weeks later...

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

Link to comment
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.

 

Link to comment
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
Link to comment
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.  

Link to comment
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
Link to comment
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

 

Link to comment
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}

 

Link to comment
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.

Link to comment

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.