Jump to content
ninthwalker

[Support] Ninthwalker - NowShowing

397 posts in this topic Last Reply

Recommended Posts

6 minutes ago, ninthwalker said:

 

 

Correct.

I haven't supported the old v1 since releasing v2.

Looks like Squid got around to marking the old version as deprecated in Community Applications.

You can just keep using the old one, or you can install v2 as a fresh install and try it out along side the old one if needed.

Just change the port and name of the new docker to something not currently being used.

 

 

 

I am running version 2

Share this post


Link to post
2 hours ago, rmilyard said:

I am running version 2

Why didn't you say so to begin with. In other words, you are asking a question about Fix Common Problems instead of a question about this docker. Maybe you are on the wrong thread.

Share this post


Link to post

Got docker setup and running.  Problem is that it won't run the report.  I see this error in the log file.


/usr/lib/ruby/2.3.0/net/http.rb:882:in `rescue in block in connect': Failed to open TCP connection to 192.168.73.3:32400 (Host is unreachable - connect(2) for "192.168.73.3" port 32400) (Errno::EHOSTUNREACH)

 

Any ideas?

Edited by BigWorm

Share this post


Link to post
On 2/7/2019 at 8:00 PM, BigWorm said:

Got docker setup and running.  Problem is that it won't run the report.  I see this error in the log file.


/usr/lib/ruby/2.3.0/net/http.rb:882:in `rescue in block in connect': Failed to open TCP connection to 192.168.73.3:32400 (Host is unreachable - connect(2) for "192.168.73.3" port 32400) (Errno::EHOSTUNREACH)

 

Any ideas?

I've been moving to a new state so haven't been around as much, sorry.

 

I know this was posted last month, so hopefully you figured out the issue.

That log error you pasted though is basically saying it cant connect to your plex server. So have to make sure that is reachable.

Share this post


Link to post
4 hours ago, ninthwalker said:

I've been moving to a new state so haven't been around as much, sorry.

 

I know this was posted last month, so hopefully you figured out the issue.

That log error you pasted though is basically saying it cant connect to your plex server. So have to make sure that is reachable.

No worries.  I did get it fixed.   I had my Plex container setup wrong.  :) 
Thanks!

Share this post


Link to post

I take it there are no more updates to this docker? I posted a bug back in February on Github that has gone unanswered.

 

Most watched movie: Last Man Standing (2011)

Most watched TV show: Queen

Most listened to artist:  

Most popular day to watch movies: Sunday

Most popular time to watch movies: 9:00 AM

Most popular day to watch TV: Wednesday

Most popular time to watch TV: 10:00 AM

New Movies:  5   |   New Episodes:  22   |   New Seasons:  2

Total Movies:  6698  |  Total TV Shows:  278   |  Total Songs:  22118

 

Also the color in E-Mail is totally unreadable. It should be the same as the website.

Share this post


Link to post
On 2/12/2018 at 8:12 PM, ninthwalker said:

 

Here's an example of my nginx proxy for nowshowing:

 

Server block:


location /nowshowing/ {
         include /etc/nginx/proxy.conf;
         proxy_pass http://192.168.1.18:6878/;
        }

 

This is my proxy.conf, but I do a lot of other stuff with my nginx, so you may/may not need any of these:


client_body_buffer_size 128k;
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;
# Advanced Proxy Config
send_timeout 5m;
proxy_read_timeout 240;
proxy_send_timeout 240;
proxy_connect_timeout 240;
# Basic Proxy Config
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https; proxy_redirect http:// $scheme://;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_cache_bypass $cookie_session;
proxy_no_cache $cookie_session;
proxy_buffers 32 4k;
proxy_set_header X-Original-URI $request_uri;

 

I have tried and tried to get this working. I currently have my proxy working with everything except this one. I can get the site to show, but all the CSS styling is gone.

 

image.thumb.png.6855c8117374d86f5cbbdea0b899d592.png

Share this post


Link to post

My testing of report and email generation are successful. Email is sent and webpage is updated. However, regular use with the cron job set does not generate either.

 

EDIT:

This may be the reason.

 

/usr/local/sbin/webreport:135:in `block in getMovies': undefined method `each' for nil:NilClass (NoMethodError)
from /usr/local/sbin/webreport:112:in `each'
from /usr/local/sbin/webreport:112:in `getMovies'
from /usr/local/sbin/webreport:397:in `main'
from /usr/local/sbin/webreport:454:in `<main>'

 

EDIT AGAIN:

I have removed all traces of the docker and reinstalled. Checked Plex to make sure I have no empty libraries. Used the filtering to filter all but one. No go. I have auto updates on for my dockers (maybe I should turn this off) and the last time I had a successful run was August 21. Email and report were generated. Since then, the above error is generated. I will just turn it off till it is sorted out.

Edited by TristBella
More Info

Share this post


Link to post
On 5/9/2019 at 10:17 AM, TristBella said:

I have tried and tried to get this working. I currently have my proxy working with everything except this one. I can get the site to show, but all the CSS styling is gone.

 

image.thumb.png.6855c8117374d86f5cbbdea0b899d592.png

 

Forgot to mention that I have solved this issue. I use OrganizrV2. Here is the nginx config.

 

# Now Showing redirect
    location /nowshowing {
        return 301 /nowshowing/;
    }

location /nowshowing/ {
        auth_request off;

        #Timeout if the real server is dead
        proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;

        # Advanced Proxy Config
        send_timeout 5m;
        proxy_read_timeout 240;
        proxy_send_timeout 240;
        proxy_connect_timeout 240;

        # Basic Proxy Config
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header Host $host:$server_port;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme; ## Swapped with line below for parity among others
        proxy_redirect  http://  $scheme://;
        proxy_http_version 1.1;
        proxy_set_header Connection "";
        proxy_cache_bypass $cookie_session;
        proxy_no_cache $cookie_session;
        proxy_buffers 32 4k;
        proxy_headers_hash_max_size 1024;
        proxy_headers_hash_bucket_size 256;
        proxy_pass http://xxx.xxx.xxx.xxx:6878/;
}

location /nowshowing/admin/ {
        auth_request off;

        #Timeout if the real server is dead
        proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;

        # Advanced Proxy Config
        send_timeout 5m;
        proxy_read_timeout 240;
        proxy_send_timeout 240;
        proxy_connect_timeout 240;

        # Basic Proxy Config
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header Host $host:$server_port;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme; ## Swapped with line below for parity among others
        proxy_redirect  http://  $scheme://;
        proxy_http_version 1.1;
        proxy_set_header Connection "";
        proxy_cache_bypass $cookie_session;
        proxy_no_cache $cookie_session;
        proxy_buffers 32 4k;
        proxy_headers_hash_max_size 1024;
        proxy_headers_hash_bucket_size 256;
        proxy_pass http://xxx.xxx.xxx.xxx:6878/admin;
}

 

Share this post


Link to post
On 9/10/2019 at 11:47 AM, TristBella said:

 

Forgot to mention that I have solved this issue. I use OrganizrV2. Here is the nginx config.

 

...

 

 

 

Thanks for sharing. Sorry I wasn't able to help more for it, but glad you figured out the proxy config w/ Organizr

Share this post


Link to post
On 9/10/2019 at 9:43 AM, TristBella said:

My testing of report and email generation are successful. Email is sent and webpage is updated. However, regular use with the cron job set does not generate either.

 

EDIT:

This may be the reason.

 

/usr/local/sbin/webreport:135:in `block in getMovies': undefined method `each' for nil:NilClass (NoMethodError)
from /usr/local/sbin/webreport:112:in `each'
from /usr/local/sbin/webreport:112:in `getMovies'
from /usr/local/sbin/webreport:397:in `main'
from /usr/local/sbin/webreport:454:in `<main>'

 

EDIT AGAIN:

I have removed all traces of the docker and reinstalled. Checked Plex to make sure I have no empty libraries. Used the filtering to filter all but one. No go. I have auto updates on for my dockers (maybe I should turn this off) and the last time I had a successful run was August 21. Email and report were generated. Since then, the above error is generated. I will just turn it off till it is sorted out.

 

To narrow it down, do you also get the error if you just do a TV library and not a movie one? Opposite as well, just movie and not TV?

Did you happen to install a 3rd party agent like the HAMA Anime Agent?

Did you get that same error after you filtered out the empty library or did it return a different one?

 

Share this post


Link to post

I'll look into it

Sent from my NSA monitored device

Share this post


Link to post

Just installed, generated my first report and it shows up, but all the tv shows are missing the cover artwork, its all blank, but I can put the mouse over the blanks and get the info on it.

 

I see this in the 'Now Showing Log' (Showing errors only)

E, [2019-10-25T19:09:53.747574 #15308] ERROR -- : Something failed. Most likely metadata related. If you see this error all the time, turn on debugging and open an issue on github.

E, [2019-10-25T19:11:27.599671 #15308] ERROR -- : Something failed. Most likely metadata related. If you see this error all the time, turn on debugging and open an issue on github.

E, [2019-10-25T19:12:23.107018 #15308] ERROR -- : Connection to thetvdb.com failed while retrieving info for Highway Cops

E, [2019-10-25T19:12:28.203662 #15308] ERROR -- : Connection to thetvdb.com failed while retrieving info for Into the Dark

, [2019-10-25T19:14:52.965544 #15308] ERROR -- : Something failed. Most likely metadata related. If you see this error all the time, turn on debugging and open an issue on github.

E, [2019-10-25T19:15:38.678000 #15308] ERROR -- : Connection to thetvdb.com failed while retrieving info for The Purge

E, [2019-10-25T19:16:16.240881 #15308] ERROR -- : Could not connect to thetvdb.com.  Will retry in 30 seconds
E, [2019-10-25T19:16:46.311093 #15308] ERROR -- : Could not connect to thetvdb.com.  Will retry in 30 seconds
E, [2019-10-25T19:17:16.377481 #15308] ERROR -- : Could not connect to thetvdb.com.  Will retry in 30 seconds

E, [2019-10-25T19:17:46.437298 #15308] ERROR -- : Could not connect to thetvdb.  Exiting script.  If you are constantly seeing this, please turn on debugging and open an issue.

E, [2019-10-25T19:17:46.437695 #15308] ERROR -- : Something failed. Most likely metadata related. If you see this error all the time, turn on debugging and open an issue on github.

 

And how can I turn on debug mode? I don't see the option.

Share this post


Link to post

Noticed that tv show art work failed to populate on my most recent email. Is this a tvdb issue? I know other dockers are having issues with the new tvdb database.

Share this post


Link to post
23 hours ago, wgstarks said:

Noticed that tv show art work failed to populate on my most recent email. Is this a tvdb issue? I know other dockers are having issues with the new tvdb database.

The app needs to be updated to support the change to the new tvdb format. All the other apps I use have updated except this one. I am not sure if they are supporting this app anymore. If I had any clue how to code I would look into it, but its over my head. I have sent an email to ninthwalker, just waiting to see if there is a reply, as I am unsure if there will be anymore support for this. I love the app and would be sad to see it not updated to support the changes that tvdb made.

 

I was just thinking of a fix if they would be able to figure out to avoid this in the future. And that is to pull the info from Local Plex, (Artwork, and info), but that would require a whole rewrite of the code that pulls the data. (Here is to wishing)

Share this post


Link to post

I'm trying to use this for the first time, but I'm getting no data via email (no email sent) or added to the web pulled from tautulli or plex.  Announcement emails arrive ok, so my SMTP settings are fine.  What am I doing wrong?  Thanks in advance.

 

docker run -d --name='NowShowingv2' --net='br0.55' --ip='192.168.50.15' --cpuset-cpus='1,8,9,17,24,25' --log-opt max-size='50m' --log-opt max-file='3' -e TZ="Europe/London" -e HOST_OS="Unraid" -e 'TCP_PORT_6878'='6878' -e 'PUID'='99' -e 'PGID'='100' -v '/mnt/cache/appdata/dockers/NowShowingv2':'/config':'rw' 'ninthwalker/nowshowing:v2

I do see this error, but not sure what it means:

 

from /usr/local/sbin/combinedreport:460:in `<main>'
/usr/lib/ruby/2.3.0/uri/rfc3986_parser.rb:67:in `split': bad URI(is not URI?): http://192.168.30.90:32400:32400/library/sections (URI::InvalidURIError)
from /usr/lib/ruby/2.3.0/uri/rfc3986_parser.rb:73:in `parse'
from /usr/lib/ruby/2.3.0/uri/common.rb:227:in `parse'
from /usr/lib/ruby/gems/2.3.0/gems/httparty-0.13.1/lib/httparty/request.rb:58:in `uri'
from /usr/lib/ruby/gems/2.3.0/gems/httparty-0.13.1/lib/httparty/request.rb:149:in `setup_raw_request'
from /usr/lib/ruby/gems/2.3.0/gems/httparty-0.13.1/lib/httparty/request.rb:90:in `perform'
from /usr/lib/ruby/gems/2.3.0/gems/httparty-0.13.1/lib/httparty.rb:521:in `perform_request'
from /usr/lib/ruby/gems/2.3.0/gems/httparty-0.13.1/lib/httparty.rb:457:in `get'
from /var/lib/nowshowing/plex.rb:35:in `get'
from /usr/local/sbin/combinedreport:110:in `getMovies'
from /usr/local/sbin/combinedreport:396:in `main'
from /usr/local/sbin/combinedreport:460:in `<main>'
---
email:
  title: "New This Week"
  image: "http://i.imgur.com/LNTSbFl.png"
  footer: "Thanks for watching!"
  language: "en"
web:
  title_image: "img/nowshowing.png"
  logo: "img/logo.png"
  headline_title: 'Just added:'
  headliners: "Laughs,Screams,Thrills,Entertainment"
  footer: "Thanks for watching!"
  language: "en"
plex:
  plex_user_emails: "no"
  libraries_to_skip:
    - "Photos"
    - '# Movies - IMDB Top 250'
    - '# Movies - Kids Recommended'
    - '# Movies -Recommended'
    - '# Movies - Trending'
    - '# TV - Trending'
    - '## Movies - 4K'
    - '## TV - 4K'
  server: "192.168.30.90:32400"
mail:
  from: "Highlander Plex"
  subject: "Now Showing"
  recipients_email:
    - "xxxxxxxxxxxxxxxxx"
  recipients:
    - ""
  provider: "gmail"
  address: "smtp.gmail.com"
  port: "587"
  username: "xxxxxxxxxxxxxx"
  password: "xxxxxxxxxxxxxxxxxxxxxx"
report:
  interval: "7"
  report_type: "both"
  email_report_time: '30 10 * * 5'
  web_report_time: '30 23 * * *'
  extra_details: "yes"
  test: "disable"
tautulli:
  server: "192.168.50.91"
  port: "8181"
  https: "no"
  httproot: "tautulli"
  api_key: "xxxxxxxxxxxxxxxxxxxxxxxxxxx"
  title: 'Statistics:'
  stats: "LBmvadDutTcAS"
token:
  api_key: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

 

Share this post


Link to post

@ninthwalker got it all working now - my fault not reading info boxes properly.  It's working great - thanks for building.

 

I'm sure it's been asked before - is it possible to link from the media items to the plex server page for fast playback in future versions? i.e. next to the IMDB link and trailer link?

 

Share this post


Link to post

Can somebody share their reverse proxy config please as I can't crack it - I'm using the letsencrypt docker.


Thanks

Share this post


Link to post

Last post - I just noticed in my stats that the most watched movie is 'Concurrent Streams'.  I've checked in Tautulli and it's reporting correctly The Force Awakens, so the problem isn't there I think.

 

 

861469136_FireShotCapture060-NowShowing-192_168_50_15.thumb.png.5fb7f0e3c14f9c75dd28d03e411afc8d.png

Share this post


Link to post
On 1/12/2020 at 8:51 PM, DZMM said:

Can somebody share their reverse proxy config please as I can't crack it - I'm using the letsencrypt docker.


Thanks

Sorry for bumping - can someone share their now showing config please.

 

Thanks

Share this post


Link to post
32 minutes ago, DZMM said:

Sorry for bumping - can someone share their now showing config please.

 

Thanks

ok - solved.  For those using linuxserver's LE docker create nowshowing.subfolder.conf in /nginx/proxy-confs:

 

# nowshowing does not require a base url setting 

location /nowshowing {
    return 301 $scheme://$host/nowshowing/;
}
location ^~ /nowshowing/ {
    # enable the next two lines for http auth
    #auth_basic "Restricted";
    #auth_basic_user_file /config/nginx/.htpasswd;

    # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf
    #auth_request /auth;
    #error_page 401 =200 /login;

    resolver 127.0.0.11 valid=30s;
    set $upstream_nowshowing nowshowing;
    rewrite /nowshowing(.*) $1 break;
    proxy_pass http://192.168.50.51:8080;
}

 

Share this post


Link to post

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.