PlexEmail - Email Recently Added Media

@foebik said:

@Eyelinerdevil said:
Any Idea?

32 or 64 bit?

I believe 64 bit. It has been a while since I installed Python so I don’t remember which version I chose, But when I load Python from the CMD it lists “MSC v.1500 64 bit (AMD64)”

@Eyelinerdevil said:

@foebik said:

@Eyelinerdevil said:
Any Idea?

32 or 64 bit?

I believe 64 bit. It has been a while since I installed Python so I don’t remember which version I chose, But when I load Python from the CMD it lists “MSC v.1500 64 bit (AMD64)”

uninstall and install the 32bit version.

@foebik said:

@Eyelinerdevil said:

@foebik said:

@Eyelinerdevil said:
Any Idea?

32 or 64 bit?

I believe 64 bit. It has been a while since I installed Python so I don’t remember which version I chose, But when I load Python from the CMD it lists “MSC v.1500 64 bit (AMD64)”

uninstall and install the 32bit version.

Uninstalled 64 bit and installed 32 bit. Did some tweaking on the config file and BAM! Test email successfully sent. Thank you Sir for helping a programming n00b figure this out. Should you ever come to Columbus, OH drink are on me!

@Eyelinerdevil said:

@foebik said:

@Eyelinerdevil said:

@foebik said:

@Eyelinerdevil said:
Any Idea?

32 or 64 bit?

I believe 64 bit. It has been a while since I installed Python so I don’t remember which version I chose, But when I load Python from the CMD it lists “MSC v.1500 64 bit (AMD64)”

uninstall and install the 32bit version.

Uninstalled 64 bit and installed 32 bit. Did some tweaking on the config file and BAM! Test email successfully sent. Thank you Sir for helping a programming n00b figure this out. Should you ever come to Columbus, OH drink are on me!

http://16-bitbar.com/

I may have been premature in my excitement…I can successfully send a test email to myself but when I try to automatically send it to all of my users I’m getting this error.

Suggestions?

@Eyelinerdevil said:

@Eyelinerdevil said:

@foebik said:

@Eyelinerdevil said:

@foebik said:

@Eyelinerdevil said:
Any Idea?

32 or 64 bit?

I believe 64 bit. It has been a while since I installed Python so I don’t remember which version I chose, But when I load Python from the CMD it lists “MSC v.1500 64 bit (AMD64)”

uninstall and install the 32bit version.

Uninstalled 64 bit and installed 32 bit. Did some tweaking on the config file and BAM! Test email successfully sent. Thank you Sir for helping a programming n00b figure this out. Should you ever come to Columbus, OH drink are on me!

http://16-bitbar.com/

I may have been premature in my excitement…I can successfully send a test email to myself but when I try to automatically send it to all of my users I’m getting this error.

Suggestions?

Web page note created part is normal if you are using Cloudinary.

Seems like something is not quite right in the config file for ##Email. I would double check what you have in there.

It’s been a while since I had to mess around with this so someone else can jump in and correct me if I am wrong, but… I believe you have to use one or the other of these options (not both).

email_individually = False
(pick which emails you want to send it to based on which ones you typed in the config)

email_to_send_to_shared_users = False
(sends out to all your users/friends within Plex)

@foebik said:

@Eyelinerdevil said:

@Eyelinerdevil said:

@foebik said:

@Eyelinerdevil said:

@foebik said:

@Eyelinerdevil said:
Any Idea?

32 or 64 bit?

I believe 64 bit. It has been a while since I installed Python so I don’t remember which version I chose, But when I load Python from the CMD it lists “MSC v.1500 64 bit (AMD64)”

uninstall and install the 32bit version.

Uninstalled 64 bit and installed 32 bit. Did some tweaking on the config file and BAM! Test email successfully sent. Thank you Sir for helping a programming n00b figure this out. Should you ever come to Columbus, OH drink are on me!

http://16-bitbar.com/

I may have been premature in my excitement…I can successfully send a test email to myself but when I try to automatically send it to all of my users I’m getting this error.

Suggestions?

Web page note created part is normal if you are using Cloudinary.

Seems like something is not quite right in the config file for ##Email. I would double check what you have in there.

It’s been a while since I had to mess around with this so someone else can jump in and correct me if I am wrong, but… I believe you have to use one or the other of these options (not both).

email_individually = False
(pick which emails you want to send it to based on which ones you typed in the config)

email_to_send_to_shared_users = False
(sends out to all your users/friends within Plex)

Tested. Emails verified by users.
email_to_send_to_shared_users was set to False. I misunderstood its use.
THANK YOU! I can’t tell you how much I appreciate your help and time.

I have one LAST quick question, any suggestions you may have would be great.

I was looking through the forum and noticed that there isn’t a BCC option for the email, so everyone can see everyone elses email by default. Do you know if there has been any luck with setting up a mailing list and adding that list to the Python script?

@Eyelinerdevil said:

@foebik said:

@Eyelinerdevil said:

@Eyelinerdevil said:

@foebik said:

@Eyelinerdevil said:

@foebik said:

@Eyelinerdevil said:
Any Idea?

32 or 64 bit?

I believe 64 bit. It has been a while since I installed Python so I don’t remember which version I chose, But when I load Python from the CMD it lists “MSC v.1500 64 bit (AMD64)”

uninstall and install the 32bit version.

Uninstalled 64 bit and installed 32 bit. Did some tweaking on the config file and BAM! Test email successfully sent. Thank you Sir for helping a programming n00b figure this out. Should you ever come to Columbus, OH drink are on me!

http://16-bitbar.com/

I may have been premature in my excitement…I can successfully send a test email to myself but when I try to automatically send it to all of my users I’m getting this error.

Suggestions?

Web page note created part is normal if you are using Cloudinary.

Seems like something is not quite right in the config file for ##Email. I would double check what you have in there.

It’s been a while since I had to mess around with this so someone else can jump in and correct me if I am wrong, but… I believe you have to use one or the other of these options (not both).

email_individually = False
(pick which emails you want to send it to based on which ones you typed in the config)

email_to_send_to_shared_users = False
(sends out to all your users/friends within Plex)

Tested. Emails verified by users.
email_to_send_to_shared_users was set to False. I misunderstood its use.
THANK YOU! I can’t tell you how much I appreciate your help and time.

I have one LAST quick question, any suggestions you may have would be great.

I was looking through the forum and noticed that there isn’t a BCC option for the email, so everyone can see everyone elses email by default. Do you know if there has been any luck with setting up a mailing list and adding that list to the Python script?

I dont use the email_to_send_to_shared_users myself. I put in the individual emails I want, so Im not sure how if this option works for it. But I set this to true email_use_bcc = False and they are all BCC.

@foebik said:

@Eyelinerdevil said:

@foebik said:

@Eyelinerdevil said:

@Eyelinerdevil said:

@foebik said:

@Eyelinerdevil said:

@foebik said:

@Eyelinerdevil said:
Any Idea?

32 or 64 bit?

I believe 64 bit. It has been a while since I installed Python so I don’t remember which version I chose, But when I load Python from the CMD it lists “MSC v.1500 64 bit (AMD64)”

uninstall and install the 32bit version.

Uninstalled 64 bit and installed 32 bit. Did some tweaking on the config file and BAM! Test email successfully sent. Thank you Sir for helping a programming n00b figure this out. Should you ever come to Columbus, OH drink are on me!

http://16-bitbar.com/

I may have been premature in my excitement…I can successfully send a test email to myself but when I try to automatically send it to all of my users I’m getting this error.

Suggestions?

Web page note created part is normal if you are using Cloudinary.

Seems like something is not quite right in the config file for ##Email. I would double check what you have in there.

It’s been a while since I had to mess around with this so someone else can jump in and correct me if I am wrong, but… I believe you have to use one or the other of these options (not both).

email_individually = False
(pick which emails you want to send it to based on which ones you typed in the config)

email_to_send_to_shared_users = False
(sends out to all your users/friends within Plex)

Tested. Emails verified by users.
email_to_send_to_shared_users was set to False. I misunderstood its use.
THANK YOU! I can’t tell you how much I appreciate your help and time.

I have one LAST quick question, any suggestions you may have would be great.

I was looking through the forum and noticed that there isn’t a BCC option for the email, so everyone can see everyone elses email by default. Do you know if there has been any luck with setting up a mailing list and adding that list to the Python script?

I dont use the email_to_send_to_shared_users myself. I put in the individual emails I want, so Im not sure how if this option works for it. But I set this to true email_use_bcc = False and they are all BCC.

I will test it out later this evening. I believe I am done for the day. Thank you again! I will pay it forward.

So it’s been said that it can run on FreeNAS and that the developer has it running in a jail, but can someone please be a little more specific about how to set this up? Saying “Copy the contents of scripts to where you want the script to run from” and “Copy the contents of web to your web folder” don’t say much. Where should the scripts run from? Where’s the web folder? I’m trying to figure out how to set this up but every single thread I’ve found online about how to do it on FreeNAS has either had zero replies or someone saying “just copy the stuff to where you want it”. Please, can someone be specific here?

: ) I was dumb, got it figured out

@rezin8 - though someone with freenas might be a bit more precise in regards to this jail I keep hearing of with that particular system, those instructions are pretty much spot on.
If you’re having trouble understanding them, then it’s possible this project isn’t user friendly enough for your current experience level. (Please realize I’m not trying to be insulting, it’s just that it sounds as though your current technical expertise isn’t yet able to perform the technical step level required for this app at this time)

Here’s what I did in Windows: Perhaps it could help you (or anyone else) more.
Prerequisites -

  • I already had Python installed for another project
  • I went into my python folder and found the pip app, and then installed the requests module as instructed at the plexEmail github readme.md page.
  • I ensured I had the proper SQLite3 version file
    Install
  • I created a folder called plexEmail on my plex server in a folder I keep some other python apps for Plex.
  • I downloaded and opened the plexEmail.0.6.1 ZIP file. inside of that file is a folder called “scripts”.
  • I took the folders and files in “Scripts” and copied them to my newly created plexEmail folder.
  • I did nothing with the files in web as I don’t have a www server, but if I did, I’d copy the web folder files to where I wanted an index file to be created in that particular server folder structure
  • I made a backup of the config.conf file
  • I then edited the settings of config.conf to match my needs.
  • I tested using the -t switch (python plexEmail.py -t) several times while configuring/breaking/re-configuring. =)
  • Once -t working, I configured my Windows machine to run the python executable with plexEmail.py as it’s parameter once a week (as I’d configured my config.conf file for 7 days)

Would it be possible to create an exception list, so I could set email_to_send_to_shared_users as True, but if one of my shared users wanted to “unsubscribe” from the emails, I could add them to a list that it wouldn’t send to?

@Peanutman said:
Would it be possible to create an exception list, so I could set email_to_send_to_shared_users as True, but if one of my shared users wanted to “unsubscribe” from the emails, I could add them to a list that it wouldn’t send to?

Currently the way I handle it, I list out all the emails I want it to send out to manually in the config file and just remove the ones that no longer want to receive it. But this is kind of a pain to administrate and you have to remember to add new users in. I like your idea.

Hello everyone,

It’s possible to add name of libraries for TV show in name ?

Exemple : The Walking Dead (title of tv show) - Séries VO (name of libraries)

thanks for your help.

I’ve been using this great script for a while (Thanks!) and just realized that I haven’t received an e-mail in the past couple weeks. When I manually execute the script, I receive the following messages now:
Traceback (most recent call last): File "plexEmail.py", line 767, in <module> imageInfo = processImage(hash, imageInfo['thumb'], 'movie', 0, 0) File "plexEmail.py", line 233, in processImage category = thumb[0:thumb.index('/')] ValueError: substring not found

Any ideas? TIA!

Hi, first of all, this script rocks!

I am curious about something though. Seems the email takes 15 minutes to send. The script executes successfully and says 1 email sent but the email doesn’t arrive for 15 minutes. And it’s consistently exactly 15 minutes. I’m running PlexEmail.py manually from the command line on Windows server 2012 so it’s not scheduled.

I was using PlexPy notifications before and those send and arrive immediately after it runs. I’m using the same smtp server and from and to addresses as my PlexPy config.

Is there some kind of config somewhere that is causing the PlexEmail emails to wait 15 mins?

Thanks!

@ridiz said:
I’ve been using this great script for a while (Thanks!) and just realized that I haven’t received an e-mail in the past couple weeks. When I manually execute the script, I receive the following messages now:
Traceback (most recent call last): File "plexEmail.py", line 767, in <module> imageInfo = processImage(hash, imageInfo['thumb'], 'movie', 0, 0) File "plexEmail.py", line 233, in processImage category = thumb[0:thumb.index('/')] ValueError: substring not found

Any ideas? TIA!

Please disregard. i just figured out that the DNS filtering configuration on my network had a bug that was causing connections to https://my.plexapp.com to fail. Once I corrected that PlexEmail began to function again.

@Peanutman said:
Would it be possible to create an exception list, so I could set email_to_send_to_shared_users as True, but if one of my shared users wanted to “unsubscribe” from the emails, I could add them to a list that it wouldn’t send to?

second this

@Peanutman said:
Would it be possible to create an exception list, so I could set email_to_send_to_shared_users as True, but if one of my shared users wanted to “unsubscribe” from the emails, I could add them to a list that it wouldn’t send to?

@tooviral said:

@Peanutman said:
Would it be possible to create an exception list, so I could set email_to_send_to_shared_users as True, but if one of my shared users wanted to “unsubscribe” from the emails, I could add them to a list that it wouldn’t send to?

second this

Had a little free time at work (don’t tell my boss ;)) so decided to implement this. It can be found here:

Please let me know if there are any issues.

How do you install this on OSX? I see it has been tested (via github) but there are no installation instructions there…