[Support] Ninthwalker - NowShowing


Recommended Posts

2 hours ago, devros said:

I seem to be getting the issue where the year is not showing up.  Everything else seems to be working fine.  Running the dev release. Anything I can try?

 

Thanks,

 

-devros

Screen Shot 2017-12-27 at 10.33.53 AM.png

 

Use the production branch. This was fixed a while ago. The API that nowshowing uses for metadata was changed and the code had to be updated for that. 

Link to comment
On 8/3/2017 at 5:34 PM, GroxyPod said:

 


You can modify the email body file to include your own link as it’s html code if you want to do it right away


Sent from my iPhone using Tapatalk Pro

 

 

I assume you are talking about the email_body.erb file?  I just want to add a sentence and a URL at the top of my emails.  Any good WYSIWYG editors you would suggest to make customizing that a little easier(I'm on a Mac)

 

TIA.  Really loving the software!

Link to comment
23 hours ago, devros said:

 

I assume you are talking about the email_body.erb file?  I just want to add a sentence and a URL at the top of my emails.  Any good WYSIWYG editors you would suggest to make customizing that a little easier(I'm on a Mac)

 

TIA.  Really loving the software!

 

That's correct. If you want to edit the file in a WYSIWYG editor, you'll need to rename it to email_body.html. I mostly use Dreamweaver or just UltraEdit now, but in the past I've used CoffeeCup HTML editor.

Link to comment

Hi, 

 

Hoping someone can help me with a nowshowing connection issue; When I run:

sudo docker exec nowshowing combinedreport -t

I get the following error: 

/usr/lib/ruby/2.3.0/net/http.rb:880:in `initialize': execution expired (Net::OpenTimeout)
	from /usr/lib/ruby/2.3.0/net/http.rb:880:in `open'
	from /usr/lib/ruby/2.3.0/net/http.rb:880:in `block in connect'
	from /usr/lib/ruby/2.3.0/timeout.rb:101:in `timeout'
	from /usr/lib/ruby/2.3.0/net/http.rb:878:in `connect'
	from /usr/lib/ruby/2.3.0/net/http.rb:863:in `do_start'
	from /usr/lib/ruby/2.3.0/net/http.rb:852:in `start'
	from /usr/lib/ruby/2.3.0/net/http.rb:1398:in `request'
	from /usr/lib/ruby/gems/2.3.0/gems/httparty-0.13.1/lib/httparty/request.rb:93: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:29:in `get'
	from /usr/local/sbin/combinedreport:98:in `getMovies'
	from /usr/local/sbin/combinedreport:373:in `main'
	from /usr/local/sbin/combinedreport:398:in `<main>'

I've looked at the combinedreport file for the getMovies function call in the dockerfile; The code on line 96 seems to be unable to connect to the plex /library/sections path. 

 

(Line 96 in combinedreport): 

library = plex.get('/library/sections')

1. Plex is working properly on my system

2. I've also outputted a plex instance via a $logger call in combinedreport.

3. Pardon my ignorance, but i'm not sure what /library/sections pertains to at this moment.

 

The logs for start up indicate the following: 

-----------------------------------------
NowShowing
-----------------------------------------
Brought to you by:

Ninthwalker/GroxyPod/Limen75

-----------------------------------------
User xyz set to: 99
Group xyz set to: 100
-----------------------------------------

[cont-init.d] 10-set-uidgid: exited 0.
[cont-init.d] 20-setup: executing...
Advanced config file detected. Keeping existing files
Setup complete! Please read directions for advanced settings and changing the schedule.
[cont-init.d] 20-setup: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.

I've attached my docker container setting for nowshowing container. Before I dive in any deeper I'm hoping someone can point me in a better direction. 

 

thank you, 

 

 

 

2017-12-30_23-02-14.png

Link to comment
  • 2 weeks later...
2 hours ago, bpage said:

Is there anyway to exclude a user or two from the email blast? I have one or two users who do not want to get the email... 

 

 

Yes, but not easily.

You currently probably have the below setting:

plex:
  plex_user_emails: 'yes'

To be able to accomplish what you want, you would have to manually specify each person's email or plex username using settings similar to below and not pull them automatically from plex:

plex:
  plex_user_emails: 'no'
mail:
  from: 'BATMAN'
  subject: 'Now Showing'
  recipients_email: ['[email protected]', '[email protected]', '[email protected]', '[email protected]']
  recipients: ['PLEX_USER', 'Superman', 'Supergurl', 'Robin', 'WonderWomanisSoHot']

Not the friendliest way, but is possible.
 

 

 

 

 

Edited by ninthwalker
Link to comment

@canuck

 

A couple things to try:

 

1. If it was working before, and now it's giving that error, did anything change? A new Library or something possibly?

2. Could try with username/password instead of token see if that changes anything.

3. Can you see the libraries in XML format by going to the following URLS. (External obviously only if you have your own url)

 

192.168.x.x:32400/library/sections

192.168.x.x:32400/library/sections?X-Plex-Token=GNJHFoZyDL45gh8XX3qY

plex.mydomain.com:32400/library/sections?X-Plex-Token=GNJHFoZyDL45gh8XX3qY

 

Link to comment
On 12/1/2017 at 10:41 AM, ninthwalker said:

 

Thanks for the debug.

The code is suppose to try 3x and then move on.

I'll have to take a look to see why that isn't working as expected.

Thanks.

This has been fixed in the latest dev version. Will be pushed to prod branch soon.

It will now correctly try an ep 3x and if it cant find/errors out will continue on to the next ep.

 

I've also added in log rotation, so if the log grows larger than 50MB it will be deleted on the next report run.

Thanks.

 

Link to comment

Hi,

 

I’m getting the following error when trying to run the following command via telnet:

docker exec nowshowing combined report -t

 

Configuration file not found. Exiting...

 

advanced.yaml is where I would expect it to be, config all set up correctly as far as I can tell.

Using -v/-vv/-vvv makes no difference.

 

Thanks for any help.

Phil

Link to comment
1 hour ago, PhilUK said:

Hi,

 

I’m getting the following error when trying to run the following command via telnet:

docker exec nowshowing combined report -t

 

Configuration file not found. Exiting...

 

advanced.yaml is where I would expect it to be, config all set up correctly as far as I can tell.

Using -v/-vv/-vvv makes no difference.

 

Thanks for any help.

Phil

combinedreport

 

;-)

Link to comment
8 hours ago, PhilUK said:

 

Sorry it should have read:

docker exec nowshowing combinedreport -t

 

Autocorrect in these cases really doesn't help O.o

 

Thanks,

Phil

if you have the command correct, then what is your mapping in the docker template for the config location?

It's not seeing the config file so double check that the mapping in the template is the correct path on your sever where your dockers are stored.

Also, what does the docker log say? The startup log if you click the little log icon in the docker web interface?

Link to comment
On 17/01/2018 at 7:43 PM, ninthwalker said:

if you have the command correct, then what is your mapping in the docker template for the config location?

It's not seeing the config file so double check that the mapping in the template is the correct path on your sever where your dockers are stored.

Also, what does the docker log say? The startup log if you click the little log icon in the docker web interface?

 

Hey,

 

The mapping for the config all seemed correct, I had it mapped to mnt/cache/unraidapps/nowshowing

The log was flagging that the plex user/password was incorrect. I triple checked it and it wasn’t. Then changed to the plex token option and still no change in behaviour.

 

In the end I removed the docker, deleted the nowshowing config folder and reinstalled.

Now working absolutely perfectly! I assume I had corrupted/affected something on the 1st install.

 

Sorry I can’t help diagnose exactly what it was.

Thanks again for the docker!

 

Phil

Link to comment
  • 3 weeks later...
On 1/9/2018 at 2:02 PM, ninthwalker said:

@canuck

 

A couple things to try:

 

1. If it was working before, and now it's giving that error, did anything change? A new Library or something possibly?

2. Could try with username/password instead of token see if that changes anything.

3. Can you see the libraries in XML format by going to the following URLS. (External obviously only if you have your own url)

 

192.168.x.x:32400/library/sections

192.168.x.x:32400/library/sections?X-Plex-Token=GNJHFoZyDL45gh8XX3qY

plex.mydomain.com:32400/library/sections?X-Plex-Token=GNJHFoZyDL45gh8XX3qY

 

@ninthwalker, sorry for the tardy reply. 

 

1. New install, so never got it working

2. I did, same results.

3. 

 

/library/section returns: 401 Unauthorized

/library/sections?X-Plex-Token= returns XML with a list of the sections

with domain: (only local domain) returns XML with a list of the sections

 

Link to comment

Hello, I would like to set this up behind a reverse proxy. In the nginx proxy config, I am able to set the location / to point to this Docker. It works, but takes up the use of the base domain name.

 

I have also setup Ombi and PlexPy using locations such as /ombi or /plexpy. Is this possible with NowShowing?

 

I am a beginner in web design, but does NowShowing need a base url? I would like to be able to go to /nowshowing, but I only get 404s when I set that.

 

Thanks in advance for the help!

Link to comment
39 minutes ago, MandalorePatriot said:

Hello, I would like to set this up behind a reverse proxy. In the nginx proxy config, I am able to set the location / to point to this Docker. It works, but takes up the use of the base domain name.

 

I have also setup Ombi and PlexPy using locations such as /ombi or /plexpy. Is this possible with NowShowing?

 

I am a beginner in web design, but does NowShowing need a base url? I would like to be able to go to /nowshowing, but I only get 404s when I set that.

 

Thanks in advance for the help!

 

This is what I have setup for my NowShowing docker in nginx. I personally use NowShowing.domain.com instead of domain.com/NowShowing.

 

server {
    listen 80;
    server_name nowshowing.domain.com;

    return 301 https://$host$request_uri;


    location / {
        try_files $uri $uri/ /index.php?$args =404;
    }
}

server {
    listen 443 ssl http2;
    server_name nowshowing.domain.com;

    include /config/nginx/ssl-params.conf;

    location / {
        include /config/nginx/proxy.conf;
    proxy_pass http://192.168.1.111:6878/;
    }
}

Edited by GroxyPod
Link to comment
4 minutes ago, GroxyPod said:

 

This is what I have setup for my NowShowing docker in nginx

 

server {
    listen 80;
    server_name nowshowing.domain.com;

    return 301 https://$host$request_uri;


    location / {
        try_files $uri $uri/ /index.php?$args =404;
    }
}

server {
    listen 443 ssl http2;
    server_name nowshowing.domain.com;

    include /config/nginx/ssl-params.conf;

    location / {
        include /config/nginx/proxy.conf;
    proxy_pass http://192.168.1.111:6878/;
    }
}

Thanks! Do I have to add a server field for each subdomain? Such as if I switched to using subdomains for Ombi and PlexPy?

 

Also, is it not possible to set this up as a subdirectory?

Link to comment
40 minutes ago, MandalorePatriot said:

Thanks! Do I have to add a server field for each subdomain? Such as if I switched to using subdomains for Ombi and PlexPy?

 

Also, is it not possible to set this up as a subdirectory?

 

As GroxyPod mentioned you can use a subdomain, or as you are referring to it a subdirectory is possible as well.

 

For example, I have mine at mydomain.com/nowshowing

 

I’m not looking at my nginx config right now, but I’ll post an example later. 

Link to comment
7 hours ago, RXWatcher said:

Is there a way to have this work for only specific sections?

 

I see reference to a 'sections' entry in the advanced file but unsure if its viable and how its supposed to be formatted.

 

Thank you!

 

Not currently. That functionality is not yet working correctly how I want. It’s next on my to-do list. 

Link to comment
49 minutes ago, MandalorePatriot said:

Thanks! Do I have to add a server field for each subdomain? Such as if I switched to using subdomains for Ombi and PlexPy?

 

Also, is it not possible to set this up as a subdirectory?

 

If you wanted to change to subdomains, yes. You would also need to specify them in your ssl certificate should you decide to make that change.

Link to comment

Very new unRaid user here with limited linux experience. I'm struggling to get this docker to make a report but feel like I'm missing something simple.

 

When I try using: "docker exec nowshowing webreport"

 

I am getting:
"/usr/local/sbin/webreport: end of file reached (EOFError)"

 

My configuration is shown below but please let me know what other info is needed to help resolve this likely silly goof-up. I have tried using both my username (it has spaces) and my email for the Plex username field.

5a7b9b1515988_Screenshot2018-02-0718_10_02.thumb.png.c6e3535d7510d8943c781060ab68c155.png

Edited by voicelex
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.