dcpdad Posted June 5, 2017 Share Posted June 5, 2017 1 hour ago, ninthwalker said: @dcpdad Sometimes tvdb has connection errors, but temporarily. If you are getting that error all the time, it may be a network connection between your location and tvdb. If you add "-v" to the command line options you can get more logging. 2 Thank you for getting back to me! I appreciate your help. I can get to the thetvdb.com website from my browser and I tried the "docker exec nowshowing ping thetvdb.com" command and got these results: PING thetvdb.com (104.16.230.14): 56 data bytes 64 bytes from 104.16.230.14: seq=0 ttl=57 time=125.043 ms 64 bytes from 104.16.230.14: seq=1 ttl=57 time=13.651 ms 64 bytes from 104.16.230.14: seq=2 ttl=57 time=52.186 ms 64 bytes from 104.16.230.14: seq=3 ttl=57 time=11.978 ms 64 bytes from 104.16.230.14: seq=4 ttl=57 time=41.154 ms 64 bytes from 104.16.230.14: seq=5 ttl=57 time=12.781 ms 64 bytes from 104.16.230.14: seq=6 ttl=57 time=12.029 ms 64 bytes from 104.16.230.14: seq=7 ttl=57 time=116.447 ms 64 bytes from 104.16.230.14: seq=8 ttl=57 time=11.788 ms 64 bytes from 104.16.230.14: seq=9 ttl=57 time=29.792 ms 64 bytes from 104.16.230.14: seq=10 ttl=57 time=11.754 ms I tried the -v and got one HUGE (55MB) log file :). Not sure you would want that… I do seem to be getting a lot of these: D, [2017-06-05T15:48:04.473073 #789] DEBUG -- : Response from thetvdb for query series/315776/all/en.xml: Code: 404. E, [2017-06-05T15:48:04.473311 #789] ERROR -- : Could not connect to thetvdb.com. Will retry in 30 seconds Some background: unRaid - latest version (6.3.5) Just reinstalled your Docker with the default branch I have also attached my NowShowing Docker config & advanced.yaml, both redacted. Is there anything else I can get you to help track this down? Again, I *really* do appreciate your help! Quote Link to comment
ninthwalker Posted June 6, 2017 Author Share Posted June 6, 2017 Nothing looks specifically wrong in your configs. As long as you know you have it set to test and webonly and such so it wont be sending out emails. It could be your plex library, or more specifically it is searching thetvdb for https://thetvdb.com/?id=315776&tab=series which doesn't exist anymore so the code is hanging/looping on that error possibly. If you are able to identify the show, you could look at the metadata in plex and see if it is marked weirdly or something or map it to the correct tvdb ID. It would be some show that was added in the last 7 days, so that may help you narrow it down. Quote Link to comment
dcpdad Posted June 6, 2017 Share Posted June 6, 2017 19 hours ago, ninthwalker said: Nothing looks specifically wrong in your configs. As long as you know you have it set to test and webonly and such so it wont be sending out emails. It could be your plex library, or more specifically it is searching thetvdb for https://thetvdb.com/?id=315776&tab=series which doesn't exist anymore so the code is hanging/looping on that error possibly. If you are able to identify the show, you could look at the metadata in plex and see if it is marked weirdly or something or map it to the correct tvdb ID. It would be some show that was added in the last 7 days, so that may help you narrow it down. 6 Thank you! That helped. I asked in the TheTVDB forum about that deleted series, but no luck. I *might* have found which one it was (The Tick (2016)) as there wasn't any metadata in Plex even though it "matched". It seems to run much better now. NowShowing still did find a couple of TheTVDB errors, but I will wade through those. TY TY! Quote Link to comment
dcpdad Posted June 6, 2017 Share Posted June 6, 2017 Hello again! A couple of questions: Would it be possible to add target="_blank" to the movie & series links. I am afraid some of my users might get lost leaving NowShowing. I noticed the Year wasn't showing up when hovering over the new movies in NowShowing. Just "( )". Is that something you knew about already? I can PM you a link to my NowShowing page if that would help.... Many MANY thanks! Quote Link to comment
wgstarks Posted June 6, 2017 Share Posted June 6, 2017 On 5/24/2017 at 7:11 PM, ninthwalker said: NOTE: One of the API's that NowShowing and some other apps use is the OMDBAPI. As of 10MAY2017 they have made their API private and started charging for access. That has begun to effect the title's of some movies in the NowShowing report. So far I've only seen it mess with the years in parenthesis () at the end of titles. I will look into a workaround for this in the coming weeks. Thanks all! Quote Link to comment
dcpdad Posted June 6, 2017 Share Posted June 6, 2017 1 minute ago, wgstarks said: missed that one - TY! Quote Link to comment
wgstarks Posted June 6, 2017 Share Posted June 6, 2017 @ninthwalker Out of curiousity, I have a paid API for OMDB. Could I use this in conjunction with NowShowing to correct this? Quote Link to comment
ninthwalker Posted June 7, 2017 Author Share Posted June 7, 2017 4 hours ago, wgstarks said: @ninthwalker Out of curiousity, I have a paid API for OMDB. Could I use this in conjunction with NowShowing to correct this? I also have bought an API and plan on putting that into the main branch soon. It's in the Dev git branch at the moment. If if they ever raise the cost, I'Il either look into a different API, or allow users to input their own. Quote Link to comment
wgstarks Posted June 13, 2017 Share Posted June 13, 2017 On 6/6/2017 at 10:50 PM, ninthwalker said: I also have bought an API and plan on putting that into the main branch soon. It's in the Dev git branch at the moment. If if they ever raise the cost, I'Il either look into a different API, or allow users to input their own. @ninthwalker You may already be aware of this but figured I'd post it anyway- https://forum.kodi.tv/showthread.php?tid=167754&pid=2602458#pid2602458 Looks like there may be a free option. Not sure what the details of "rate limited" will be though. Quote Link to comment
sorenwp Posted June 19, 2017 Share Posted June 19, 2017 Hallo i'm geting this error, when i run docker exec nowshowing combinedreport -t - what do i miss? /usr/local/sbin/combinedreport:120:in `block in getMovies': undefined method `each' for nil:NilClass (NoMethodError) from /usr/local/sbin/combinedreport:98:in `each' from /usr/local/sbin/combinedreport:98:in `getMovies' from /usr/local/sbin/combinedreport:369:in `main' from /usr/local/sbin/combinedreport:394:in `<main>' Quote Link to comment
ninthwalker Posted June 19, 2017 Author Share Posted June 19, 2017 6 hours ago, sorenwp said: Hallo i'm geting this error, when i run docker exec nowshowing combinedreport -t - what do i miss? /usr/local/sbin/combinedreport:120:in `block in getMovies': undefined method `each' for nil:NilClass (NoMethodError) from /usr/local/sbin/combinedreport:98:in `each' from /usr/local/sbin/combinedreport:98:in `getMovies' from /usr/local/sbin/combinedreport:369:in `main' from /usr/local/sbin/combinedreport:394:in `<main>' You most likely have an empty Plex Library. Check if you do and delete it then run the report again. Thanks. Quote Link to comment
sorenwp Posted June 19, 2017 Share Posted June 19, 2017 20 minutes ago, ninthwalker said: You most likely have an empty Plex Library. Check if you do and delete it then run the report again. Thanks. thx, it was the wong ip Quote Link to comment
ninthwalker Posted June 19, 2017 Author Share Posted June 19, 2017 6 minutes ago, sorenwp said: thx, it was the wong ip Or that. lol. Glad you figured it out. Quote Link to comment
IamSpartacus Posted June 21, 2017 Share Posted June 21, 2017 (edited) I've setup this docker and edited the advanced.yaml file. I have a fairly large Plex library (2,200 movies, 15,000 TV episodes). Is there anything that takes place in the background the first time this docker is run? What is the command to run in order to generate a test report so I can confirm whether or not my settings are correct? When I run 'docker exec nowshowing combinedreport -d -t' I get the following output: /usr/local/sbin/combinedreport: end of file reached (EOFError) advanced.yaml file below: --- 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' mail: from: 'Plex Server' subject: 'New Releases' recipients_email: ['User Email'] recipients: ['Plex User Account'] report: interval: 7 report_type: 'both' email_report_time: '00 19 * * *' web_report_time: '00 19 * * *' extra_details: 'yes' test: 'enable' Edited June 21, 2017 by IamSpartacus Quote Link to comment
IamSpartacus Posted June 23, 2017 Share Posted June 23, 2017 Nobody? I guess this isn't a widely used container. Quote Link to comment
ninthwalker Posted June 23, 2017 Author Share Posted June 23, 2017 3 hours ago, IamSpartacus said: Nobody? I guess this isn't a widely used container. Sorry, was a little busy this week. Can you check or post a redacted version of your template settings. It may be your email settings. Are you using gmail and port 587 or something different? Thanks. Quote Link to comment
IamSpartacus Posted June 23, 2017 Share Posted June 23, 2017 (edited) 3 minutes ago, ninthwalker said: Sorry, was a little busy this week. Can you check or post a redacted version of your template settings. It may be your email settings. Are you using gmail and port 587 or something different? Thanks. No worries, I appreciate the response. Here is my docker config: docker create \ --name=nowshowing \ -v /data/docker/containers/nowshowing/config:/config:rw \ -e PGID=1000 -e PUID=1000 \ -e TZ=America/New_York \ -e PLEX_SERVER_IP=10.x.x.x \ -e PLEX_TOKEN='My Plex Token \ -e SMTP_SERVER="smtp.gmail.com" \ -e SMTP_PORT="587" \ -e EMAIL_USERNAME='My gmail account' \ -e EMAIL_PASSWORD='My gmail password' \ -p 6878:6878/tcp \ ninthwalker/nowshowing Edited June 23, 2017 by IamSpartacus Quote Link to comment
ninthwalker Posted June 23, 2017 Author Share Posted June 23, 2017 10 minutes ago, IamSpartacus said: No worries, I appreciate the response. Here is my docker config: docker create \ --name=nowshowing \ -v /data/docker/containers/nowshowing/config:/config:rw \ -e PGID=1000 -e PUID=1000 \ -e TZ=America/New_York \ -e PLEX_SERVER_IP=10.x.x.x \ -e PLEX_TOKEN='My Plex Token \ -e SMTP_SERVER="smtp.gmail.com" \ -e SMTP_PORT="587" \ -e EMAIL_USERNAME='My gmail account' \ -e EMAIL_PASSWORD='My gmail password' \ -p 6878:6878/tcp \ ninthwalker/nowshowing Oh, are you installing it via the community applications plugin, or via a script/command line? Also, does the nowshowing log generate any info? It should show up in your docker appdata section. Quote Link to comment
IamSpartacus Posted June 23, 2017 Share Posted June 23, 2017 (edited) 4 minutes ago, ninthwalker said: Oh, are you installing it via the community applications plugin, or via a script/command line? Also, does the nowshowing log generate any info? It should show up in your docker appdata section. I'm actually running this docker in Ubuntu Server 16.04 along with all my other dockers, not on my UnRAID server. The only entries in the logs the docker starting up as you can see below: I, [2017-06-21T18:34:08.230389 #808] INFO -- : Starting up NowShowing I, [2017-06-21T18:45:00.903895 #809] INFO -- : Starting up NowShowing I, [2017-06-21T18:54:14.639657 #806] INFO -- : Starting up NowShowing I, [2017-06-21T18:55:01.430078 #816] INFO -- : Starting up NowShowing I, [2017-06-21T18:56:10.428853 #820] INFO -- : Starting up NowShowing I, [2017-06-21T19:10:01.115148 #807] INFO -- : Starting up NowShowing Edited June 23, 2017 by IamSpartacus Quote Link to comment
ninthwalker Posted June 23, 2017 Author Share Posted June 23, 2017 This is my example from the wiki. Could you try following this with the full quotes around each of the items specified. I had tested this format and it works. docker run -d \ --name=nowshowing \ --net=bridgde \ -e TZ="America/Los_Angeles" \ -e PLEX_SERVER_IP="192.168.1.55" \ -e PLEX_USERNAME="[email protected]" \ -e PLEX_PASSWORD="myPlexPassword" \ -e SMTP_SERVER="smtp.gmail.com" \ -e SMTP_PORT="587" \ -e EMAIL_USERNAME="[email protected]" \ -e EMAIL_PASSWORD="secretP@ssw0rd!" \ -p 6878:6878/tcp \ -v "/path/to/local/server/config/location":"/config":rw \ ninthwalker/nowshowing Quote Link to comment
IamSpartacus Posted June 26, 2017 Share Posted June 26, 2017 On 6/23/2017 at 3:13 PM, ninthwalker said: This is my example from the wiki. Could you try following this with the full quotes around each of the items specified. I had tested this format and it works. docker run -d \ --name=nowshowing \ --net=bridgde \ -e TZ="America/Los_Angeles" \ -e PLEX_SERVER_IP="192.168.1.55" \ -e PLEX_USERNAME="[email protected]" \ -e PLEX_PASSWORD="myPlexPassword" \ -e SMTP_SERVER="smtp.gmail.com" \ -e SMTP_PORT="587" \ -e EMAIL_USERNAME="[email protected]" \ -e EMAIL_PASSWORD="secretP@ssw0rd!" \ -p 6878:6878/tcp \ -v "/path/to/local/server/config/location":"/config":rw \ ninthwalker/nowshowing Yea no go unfortunately. It only takes that config if I leave out the --net=bridge since I don't have a bridge network adapter setup in my server. Non of my other dockers have the --net variable set. But if I leave that out, while the docker starts up and shows as such in the log, the report never runs. Quote Link to comment
ninthwalker Posted June 30, 2017 Author Share Posted June 30, 2017 On 6/26/2017 at 1:41 PM, IamSpartacus said: Yea no go unfortunately. It only takes that config if I leave out the --net=bridge since I don't have a bridge network adapter setup in my server. Non of my other dockers have the --net variable set. But if I leave that out, while the docker starts up and shows as such in the log, the report never runs. I'm not sure what else to check for you. Most other issues/errors at least have the report run and give debug info. But your's isn't even doing that. You could try the unRAID docker and fill in the template there with your settings and see if that works any different for you and compare to your Ubuntu docker build. Quote Link to comment
ninthwalker Posted June 30, 2017 Author Share Posted June 30, 2017 A new Update has been pushed out that fixes the OMDB Api issue. (Empty movie parenthesis and such). Let me know if anyone has any issues with it. Thanks. Quote Link to comment
ninthwalker Posted July 7, 2017 Author Share Posted July 7, 2017 (edited) Quick new update for the website part of the app. However, so as to not overwrite people's existing advanced.yaml settings, normal app updates do not replace the appdata config files that you may have customized. So after updating the docker, to get the changes please temporarily copy your appdata folder contents to a different location. Then restart the docker which will place the new files into your appdata directory. You can then copy back in your advanced.yaml file. If you have any questions, let me know. Thanks. CHANGES: - Updated links to HTTPS for those that run it on SSL, your cert should show as fully secure now. Thanks to @naturalcarr for the suggestion. - Updated Web page links to open in a new page. Thanks to @dcpdad for the suggestion. Edited July 7, 2017 by ninthwalker 2 Quote Link to comment
dcpdad Posted August 3, 2017 Share Posted August 3, 2017 Hi @ninthwalker! Loving the app - working great and stable. One suggestion (hmmmm - maybe I should check if you would rather have requests on github?): Would it be possible to add a link to the webpage within the email? Thx again! Quote Link to comment
Recommended Posts
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.