PlexEmail - Email Recently Added Media

eadwyn,

  Maybe you can add a section at the top for us to edit a note to the viewers.

I just ran a lot of movies thru FileBot and I have a feeling all of them are going to show up as new, causing a huge list.

A note at the top would at least give a warning for something like this or to just say Happy Viewing!

v0.5.6 Released

New Feature

  • Can now send a one-time notice to users either through the new config flag: msg_notice or with a new flag when running the script: -n

Sample Usage:

python plexEmail.py -n "This is a sample notice to all users"

Latest Release: https://github.com/jakewaldron/PlexEmail/releases/latest

v0.5.6 Released

New Feature

  • Can now send a one-time notice to users either through the new config flag: msg_notice or with a new flag when running the script: -n

Sample Usage:

python plexEmail.py -n "This is a sample notice to all users"

Latest Release: https://github.com/jakewaldron/PlexEmail/releases/latest

Wow!. That was fast. Thank you good sir.

Edit: Ok Just ran a test. Where is this message suppose to show up in the email? It didn't make it into the test email.

Can anyone point in the right direction on were I went wrong?

error_zpstbewjoro.png

Can anyone point in the right direction on were I went wrong?error_zpstbewjoro.png

Can you please verify your SQLite version?

pythonimport sqlite3sqlite3.versionsqlite3.sqlite_version

Can you please verify your SQLite version?

2.6.0

2.6.0

You need a later version of it. Please look at #2 of the prerequisites section for instructions.

Edit: Actually, please run:

python

import sqlite3

sqlite3.sqlite_version

That is the more relevant version.

Edit: Actually, please run:

python

import sqlite3

sqlite3.sqlite_version

That is the more relevant version.

3.6.21

And looking at the requirements it would seem I need 3.8.8.3. But the current file is in use and I can't over write it. Suggestions?

Sorry for sounding like a idiot. I'm kind of learning Python as I go along here.

3.6.21

And looking at the requirements it would seem I need 3.8.8.3. But the current file is in use and I can't over write it. Suggestions?

Sorry for sounding like a idiot. I'm kind of learning Python as I go along here.

No worries.  Do you have any other python scripts that are running (i.e. Sickrage/Sickbeard)?  If so, stop them while you replace the dll file.

Wow!. That was fast. Thank you good sir.

Edit: Ok Just ran a test. Where is this message suppose to show up in the email? It didn't make it into the test email.

Oops, didn't see your edit.  Fixed it.

v0.5.7 Released

Bug Fix

  • Fixed an issue with the new notice feature when setting it through the config file.

Latest release: https://github.com/jakewaldron/PlexEmail/releases/latest

No worries.  Do you have any other python scripts that are running (i.e. Sickrage/Sickbeard)?  If so, stop them while you replace the dll file.

Got it replaced with the one linked in the first post. I run the same steps to verify the version and I get the following two errors.

error2_zpsop8y7gy8.png

EDIT:

I tried downloading the same file directly from https://www.sqlite.org/download.html. But get the same error. Apparently it was CouchPotato that was hanging it up earlier, which is now broken until I figure this part out.

 error3_zpstcnb1vb9.png

Got it replaced with the one linked in the first post. I run the same steps to verify the version and I get the following two errors.

error2_zpsop8y7gy8.png

EDIT:

I tried downloading the same file directly from https://www.sqlite.org/download.html. But get the same error. Apparently it was CouchPotato that was hanging it up earlier, which is now broken until I figure this part out.

 error3_zpstcnb1vb9.png

Is the python installation 32 bit or 64 bit?  They only have 32 bit dlls on that site.  I did just find this download and it seems to work in a 64 bit installation (just tested it myself).

http://synopse.info/files/SQLite3-64.7z

Download that, put it in the dll folder and rename it to sqlite3.dll

Is the python installation 32 bit or 64 bit?  They only have 32 bit dlls on that site.  I did just find this download and it seems to work in a 64 bit installation (just tested it myself).

http://synopse.info/files/SQLite3-64.7z

Download that, put it in the dll folder and rename it to sqlite3.dll

Honestly, I didn't remember which version I had, but it sounds like me to download the 64 bit version. I tried that file out and it works perfect. And Couchpotato is back online, Awesome; Thanks!

Success_zps2pobgmqq.png

So I will cont' my process of setting the app up from here and see how it goes. Thanks again.

WOOT! It works! This thing is great.

WOOT! It works! This thing is great.

Glad to hear!

Any chance to get a PlexEmail install for Dummies guide?  I have been trying to get mine up and running but I have never got anything to work just yet.  Thanks!

Any chance to get a PlexEmail install for Dummies guide?  I have been trying to get mine up and running but I have never got anything to work just yet.  Thanks!

Can you give me more information?  Such as OS, what step of the instructions you are stuck and provide any errors you might be seeing.

I am running everything on a Windows 8.1 machine.  I think I am mainly having issues getting the config.conf file all setup correctly.  Not knowing a lot of the syntax is my real downfall.  I am not receiving any errors, just never getting any emails.  I would really benefit from maybe seeing some screenshots of what most peoples config.conf files look like.  I have a standard Plex Media Server setup and would just really love to get this feature working.  I was able to get PlexWatch/PlexWatchWeb setup recently and this was my next project.

Also, I am setting the script to run in my windows task scheduler.  Can you please take a look?  Maybe I am not setting it up correctly.

Program/script:

C:\Python27\python.exe

Add arguments (optional): plexEmail.py

Start in (optional): C:\xampp\htdocs\PlexEmail\scripts

I am running everything on a Windows 8.1 machine.  I think I am mainly having issues getting the config.conf file all setup correctly.  Not knowing a lot of the syntax is my real downfall.  I am not receiving any errors, just never getting any emails.  I would really benefit from maybe seeing some screenshots of what most peoples config.conf files look like.  I have a standard Plex Media Server setup and would just really love to get this feature working.  I was able to get PlexWatch/PlexWatchWeb setup recently and this was my next project.

Also, I am setting the script to run in my windows task scheduler.  Can you please take a look?  Maybe I am not setting it up correctly.

Program/script:

C:\Python27\python.exe

Add arguments (optional): plexEmail.py

Start in (optional): C:\xampp\htdocs\PlexEmail\scripts

The task looks good to me.  If you run the script from the command line does it fail with some exception, state that the email failed to send or it was successfully sent?

Here is a sample config file for Windows: http://pastebin.com/Ebf8u8Wd

Here is what I get:

C:\xampp\htdocs\PlexEmail\scripts>plexEmail.py
Traceback (most recent call last):
  File "C:\xampp\htdocs\PlexEmail\scripts\plexEmail.py", line 588, in
    execfile(configFile, config)
ValueError: invalid \x escape

Here is what I get:

C:\xampp\htdocs\PlexEmail\scripts>plexEmail.py
Traceback (most recent call last):
  File "C:\xampp\htdocs\PlexEmail\scripts\plexEmail.py", line 588, in
    execfile(configFile, config)
ValueError: invalid \x escape

I'm guessing it's an issue with one of the folder paths.  The paths either have to look like this: 'C:\\path\ o\\location' or like this: 'C:/path/to/folder'

If that isn't the issue, feel free to send me your config file and I can take a look (edit out personal info).