Plex Notify

Alpha v0.0.0.91
 - If notification message text is too long, it will no longer overflow.
 - If the clients IP has not been seen yet the token will now appear as *IP Address Unknown*
 - {Player} Token Fixed

So, the look-ahead. Post Beta 1.

Here's the  Current list (in no order):

- Notification when Plex pass PMS server updates are available

- Add picture and Music support

- Ability to migrate data when a new database is selected

- PMS server Monitoring

- User notifications (utilizing the current notifications providers and email)

- Notification settings per user.

- Auto backup of database

- Change Notification Position

any more beta 2 Ideas?

Nice work JBurlison, the last update's fixed all my issues now :)

Wonderful and robust work James... One question it's posible that statistic window from shared users was exported or migrated at XML Web Page or I can be sent a URL with his resumed use... EMail notification or WhatsUp note from their mobiles devices?

Regards

I would like that Added Recently was sent by Pushover to my shared users or was sent at their devices mobiles... For example, if I have created a Plex shared User group in WatsApp I can send to them new notifications...

I just found the fix for some video posters being small in notifications.

I’m now using PlexNotify v0.0.0.93, and I confirm that the tokens {player} and {platform} are now expanded correctly in notifications and log entries.

But the ETA values are still badly bugged. If a video is launched which has been played at an earlier date, its new ETA value is calculated based on the old launch timestamp, even if that is several months ago. As far as I can tell this bug has not changed at all since the last time I reported on it, in post #1357 of this thread.

eg: My brother started a video today, the calculated ETA in the notification and log entry of this launch is for a time three months ago… (the first time he played that video).

Best regards: dlanor

I'm now using PlexNotify v0.0.0.93, and I confirm that the tokens {player} and {platform} are now expanded correctly in notifications and log entries.

But the ETA values are still badly bugged. If a video is launched which has been played at an earlier date, its new ETA value is calculated based on the old launch timestamp, even if that is several months ago. As far as I can tell this bug has not changed at all since the last time I reported on it, in post #1357 of this thread.

eg: My brother started a video today, the calculated ETA in the notification and log entry of this launch is for a time three months ago... (the first time he played that video).

Best regards: dlanor

ahh I see I did make a mistake I will be fixed in the next patch

rO7VEqL.png

There Estimated end time looks better.

ok, since a couple of versions, without anything from the logs, PN doesn't notify me of any PMS playback, progress, etc.. nothing.

confirmed it's correctly configured.

PMS 0.9.9.11

I see the PN updates ones so it's really the link to PMS (well in my environment...)

logs, that's all I have since (and a lot have been going on on my PMS):

    0.0.0.90
    Sending notification for Walk of Shame status RecentlyAdded
 
 
    0.0.0.90
    Notification sent for Walk of Shame status RecentlyAdded
 
 
    0.0.0.90
    Application started.
 
 
    0.0.0.91
    Application started.
 
 
    0.0.0.92
    Application started.
 
 
    0.0.0.92
    Application started.
 
 
    0.0.0.93
    Application started.
 

ok, since a couple of versions, without anything from the logs, PN doesn't notify me of any PMS playback, progress, etc.. nothing.

confirmed it's correctly configured.
PMS 0.9.9.11

I see the PN updates ones so it's really the link to PMS (well in my environment...)


Humm what database are you using? MsSqlCE? Check the advanced settings tab.

Sent from my SM-N900P using Tapatalk

Humm what database are you using? MsSqlCE? Check the advanced settings tab.

Sent from my SM-N900P using Tapatalk

ok, never mind, I'm stupid, I had to reinstall PN (and clear PN data, reconfigure to MySQL. etc...) for issues I was having and it was set to OFF for the primary... all OK now...

So sorry...

Afraid to say I have started to see high CPU creep back in, currently fluctuating between 15% & 30% in idle, anyone else experiencing this?

Regards

Tylor

rO7VEqL.png
 
There Estimated end time looks better.


Of course it does, with "Number Views: 1"

The problem with ETA that I described only exists for videos which have been viewed more than once within the span of the total log. For such cases the ETA is based on the first launching, regardless of how old that event is.

At least this is how it works in v0.0.0.93 and a few preceding ones.

(It would be an error even if closer in time, as the ETA for each event should be based on the timestamp of that same event plus the playtime remaining at the time, ignoring all other events.)

Sorry if I seem to be nagging on this subject.
I just want to ensure that the problem is clear to you.

It's easy to miss if you view a log without repeated viewing of videos by the same user.
Because for such a log there will be NO instances of this ETA error.

But you should be able to replicate the issue yourself, simply by launching some movie or episode that you've already viewed recently, so that the old entry remains in your log. Then check the resulting ETA of the log entry for the new launch of that video.

Best regards: dlanor

Of course it does, with "Number Views: 1"

The problem with ETA that I described only exists for videos which have been viewed more than once within the span of the total log. For such cases the ETA is based on the first launching, regardless of how old that event is.

At least this is how it works in v0.0.0.93 and a few preceding ones.

(It would be an error even if closer in time, as the ETA for each event should be based on the timestamp of that same event plus the playtime remaining at the time, ignoring all other events.)

Sorry if I seem to be nagging on this subject.
I just want to ensure that the problem is clear to you.

It's easy to miss if you view a log without repeated viewing of videos by the same user.
Because for such a log there will be NO instances of this ETA error.

But you should be able to replicate the issue yourself, simply by launching some movie or episode that you've already viewed recently, so that the old entry remains in your log. Then check the resulting ETA of the log entry for the new launch of that video.

Best regards: dlanor

More states you say...

L8F6eud.png

Alpha v0.0.0.94
 - Fixed some video posters on notifications being small.
 - Fixed Estimated end time.

I added steps to manually update the webserver config and bind it to multiple addresses: https://plexnotify.codeplex.com/documentation

Afraid to say I have started to see high CPU creep back in, currently fluctuating between 15% & 30% in idle, anyone else experiencing this?

Regards

Tylor

Fairly sure it's turning the web server on that's killing the CPU - is 20- 30% to be expected (PN not running any open windows in the background)?

Fairly sure it's turning the web server on that's killing the CPU - is 20- 30% to be expected (PN not running any open windows in the background)?

Turing the web server on, it populates the RSS feed on every update. So, on each update you should see a spike. I will try and optimize this more.

Turing the web server on, it populates the RSS feed on every update. So, on each update you should see a spike. I will try and optimize this more.

I am seeing a constant variance between 15 - 40% when in idle, this is without loading PN statistics or looking at rss etc.

pn01.jpg

Alpha v0.0.0.94
 - Fixed some video posters on notifications being small.
 - Fixed Estimated end time.


I've just tested this version 0.0.0.94, and the ETA calculation is now perfect for the notifications and main screen. But something seems to go wrong for the corresponding entries in the "Log Of Events".

Here is a snapshot of the main screen showing correct ETA calculation of an episode of "The Big Bang Theory".
![post-96491-0-88146700-1402163534.jpg|541x500](upload://cLVeXpMjSXYMcSultna6rP4aJcK.jpg)

But in the next snapshot from the "Log Of Events" you can see that the ETA of the corresponding entry is wrong.
It shows a different ETA than that used for the same event in the main screen.
![post-96491-0-81112000-1402163698.jpg|690x426](upload://j7ZbXr143jT9F84Tmbi7KQKMW0Y.jpg)

For many cases the ETA shown in the log seems correct, though I can no longer compare them to the ETA values of the original notifications. But for some cases the ETA in the log has a large offset, in some cases representing a doubling of the estimated remaining play time. For example, the episode of "Star Trek Voyager" listed in that snapshot has a total play time of 43 minutes and 22 seconds, but the difference between the logged timestamp and the ETA is over 86 minutes. So that's almost exactly twice the correct amount...

Best regards: dlanor

Soooo This is happening...

ir6IAhC.png

EDIT:

Also the patch notes for the update later today:

Alpha v0.0.0.95
 - Fixed Recently Added Table database errors, This will fix recently added notifications.
 - Fix for IP address detection.
 - Added version information to SQL error logs.
 - Fixed bug with extremely long URLs causes infinite notifications
 - Added Connected Clients to main window.
 - Added Notifications for Clients connecting and disconnecting.