Re: nzbmatrix.com/nzbs.org automated movie downloader
Posted: December 29th, 2010, 9:49 am
Can you explain the queuing process included in this script?
https://237678.vipkidinterhk.tech/
sure!, the queuing section allows you to define movies you may or may not want by downloading the nzb to a folder (not watched), this then allows you to copy and paste the nzb from the queued folder to your watched folder to kick off the download.agentgreen wrote: Can you explain the queuing process included in this script?
can you copy and paste your email notification details from your config.ini, minus any sensitive details of course :-)agentgreen wrote: Ok, one last thing and I swear I'll leave you alone for at least a day
I've enabled the SMTP notifications, and I can see that the script is trying to hit the SMTP server, but I keep getting this error in the logs:
Script Run On 29/12/2010 11:14:02
Title: Insomnia 2002 720p BluRay x264 EbP
Debug: Warning SMTP Server Down
I have attempted to send an email using telnet from the same system and the email goes through OK. In the logs there is a long delay between the "Downloading Movie" and when it moves to the next one. I assumed it was having a hard time resolving the host name, so I changed it to an IP address. Same result. I run the SMTP server and I can see TCP traffic back and forth between the SMTP server and my workstation, so I know it's at least TRYING to send the mail.
I then thought it was an issue with my personal SMTP server, so I changed it to use Gmail's settings, with authentication. Same issue. Long pause and then it 'times out' and moves on to the next movie.
Is there any debugging I can do for this?
hi agentgreen, i have been working on this and have now succesfully got gmail to send emails, the issue was around TLS, basically gmail uses a secure connection to their mail server which i hadn't included in the script, this functionality has now been included and ive uploaded the modified version and reposted the links in the first post of this thread, here is a example of the settings required to get this to work with gmail, note the sample config.ini file has changed as well as the executable so please use the new one included in the zipagentgreen wrote: #define sending email notification of jobs queued/downloading
#valid values:- yes, no
EnableEmailNotify="yes"
#define your isp's mail server details below
emailserver="smtp.gmail.com"
emailusername="[email protected]"
emailpassword="password"
emailfrom="[email protected]"
emailto="[email protected]"
ok you will need to either re-enter your settings in the sample config.ini and save it as config.ini or at the very least add in the following line to the email definitions section otherwise it wont be enabling an ssl connectionagentgreen wrote: Hrmm, not looking like it's working. I completely deleted all files in my directory except my config.ini just to make sure I was getting the latest files.
Still the huge lag between videos and no emails. I don't know what's going on. It could be Comcast being a**holes as usual. I just don't why I can send email out using telnet no problems. It should be the same thing!
Any chance you could debug the SMTP connection to a log somewhere so I can see exactly what it's doing?
doing a quick google search on comcast brings up lots of posts about port 25 being blocked, so your right it def looks like your isp is blocking the connection. i have added in the ability to specify the port used which should get around this block. yet again this is another download from the first post, ived added in an additional line in the config.ini so you will need to add the line into your existing config.ini and of course replace the executable, please use port 587.agentgreen wrote: Sorry I should have said I updated my config.ini with the new settings:
#------------------ E-mail Definitions ------------------------
#define sending email notification of jobs queued/downloading
#valid values:- yes, no
EnableEmailNotify="yes"
#define your isp's mail server details below
emailserver="smtp.gmail.com"
#define whether smtp mail server requires TLS (SSL)
#valid values:- yes, no
emailserverssl="yes"
emailusername="[email protected]"
emailpassword="password"
emailfrom="[email protected]"
emailto="[email protected]"