Plex Notify

Hey JB,
I still cannot connect on MyPlex from the Win 2008 R2 server (main PlexNotify)
The server is a DC, DNS server, PMS, FlexRAID-F, CP, SB, SAB. All possible security features are disabled... I'm desperate lol...


Attempting to authenticate to MyPlex with User name sfnetwork.


Length cannot be less than zero.
Parameter name: length
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at PlexNotify.MyPlexFactory.AddPlexHeaders(RestRequest request)
at PlexNotify.MyPlexFactory.Authenticate(String username, String password)
at PlexNotify.MyPlexFactory.MyPlexLogin()

I know you mentioned it could be a permission issue but after A LOT of different tests, I just can't make it connect....
And again, from the Win 8 one, not an issue.
Also, doesn't seem to affect anything, everything still seems to work....


I have a huge settings change coming to fix this. It will be fixed this week.

Sent from my SM-N900P using Tapatalk

I have a huge settings change coming to fix this. It will be fixed this week.

Sent from my SM-N900P using Tapatalk

damn, you seem to have a fix for everything!

You're the man!

Has anybody experienced CPU leakage?

I was just reviewing task manager and upon loading a new instance of PlexNotify it uses aroun 1/2% CPU.

When you then load up the statistics view the CPU jumps from anything between 10 - 30% (guessing this is the realtime monitoring of Plex log/activity).

However once you close the statistical view the CPU still sticks over 10% when it should return to the idle %

Running Windows 8.1 Pro 64bit, 6gig ram dual channel with quad core processor

I've noticed what appears to be an inconsistent error in username display.

Some of the users I've shared my sections with have usernames with an underscore, such as "Ulf_Ronald", "Fredrik_Lif", etc

These underscores are misplaced in exactly half of the username references in the notifications.

The underscores are still present, but beneath the following character instead of using a character 'slot' of its own.

Here is an example of how this looked in the "Plex Notify" Window a little while ago:

![post-96491-0-77842600-1391725133.png|541x500](upload://yv4k1Phlnp5PEtFba2fHLW9vGbA.png)

Best regards: dlanor

Has anybody experienced CPU leakage?

I was just reviewing task manager and upon loading a new instance of PlexNotify it uses aroun 1/2% CPU.

When you then load up the statistics view the CPU jumps from anything between 10 - 30% (guessing this is the realtime monitoring of Plex log/activity).

However once you close the statistical view the CPU still sticks over 10% when it should return to the idle %

Running Windows 8.1 Pro 64bit, 6gig ram dual channel with quad core processor

I will look into this issue. I am already working on lowering the CPU use in the statistics screen. 

I've noticed what appears to be an inconsistent error in username display.

Some of the users I've shared my sections with have usernames with an underscore, such as "Ulf_Ronald", "Fredrik_Lif", etc

These underscores are misplaced in exactly half of the username references in the notifications.

The underscores are still present, but beneath the following character instead of using a character 'slot' of its own.

Here is an example of how this looked in the "Plex Notify" Window a little while ago:

attachicon.gifPlexNotify_test.png

Best regards: dlanor

Interesting I will experiment with different fonts.

I will look into this issue. I am already working on lowering the CPU use in the statistics screen. 

I am seeing spikes of CPU usage all over from as low as 10% to a high of 48%. This can't be normal or the way Plex Notify is intended to run. 

...

How is it going on logging IP addys?

I ask because I have several android devices all logged in under the same plexpass account so plex notify lumps them all together as one user and it makes it hard to decipher what the underage children are watching as opposed to everyone else.
I would love to be able to distinguish them but plex notify doesnt grab the friendly device name from the device itself so perhaps when ip logging is implemented this will correct the issue.

Let me know if I am jumping the gun and you are already working on this.

See my post previously (post #336), you need to add the device name ( {player} ) in the notification settings. It will be easy to see which device it is after even using same plex account.

In there you can really set it up however you need.
Only thing missing after would be more filter options using those in the statistics I guess.


Sent from Tapatalk.

... 

As Ed Mcmahon would say "You are correct sir!!!"

You would think this is my first time using a computer with my stupid questions that have been asked and answered before.

Little daunting thread with 19 pages to decypher.

I thank you for the proper guidance.

I fully understand, Easier for me in this tread as I've been actively following it since first post.

JB, Maybe consider changing default settings in notification settings to include the player variable.... 

Yeah ill do that tonight. I’m going to do a release to address the cpu issues


Sent from my SM-N900P using Tapatalk

I'm not sure if anyone else is experiencing this but I still experience crashes sometimes when I click on check for update. And then sometimes when I restart the app after these crashes I immediately get a popup stating that 'a update check is already occurring in the background' or words to that effect. I'm taking a wild guess here, but is the crash happening because I happen to click on check for update when the app is already doing a scheduled check in the background?

It's probably me doing something wrong but,

When I change the "Database Engine" under advanced settings to MySql, dump my DB and try again it does not work. When I use the same database name after dumping it, change to Database Engine MySqlCE it works fine.

Do I need to change the Collation? I am using utf8 and have tried server default.

It's probably me doing something wrong but,

When I change the "Database Engine" under advanced settings to MySql, dump my DB and try again it does not work. When I use the same database name after dumping it, change to Database Engine MySqlCE it works fine.

Do I need to change the Collation? I am using utf8 and have tried server default.


Humm are you pointing it at a empty database in mysql? Also is your connection string correct?

Sent from my SM-N900P using Tapatalk

I'm not sure if anyone else is experiencing this but I still experience crashes sometimes when I click on check for update. And then sometimes when I restart the app after these crashes I immediately get a popup stating that 'a update check is already occurring in the background' or words to that effect. I'm taking a wild guess here, but is the crash happening because I happen to click on check for update when the app is already doing a scheduled check in the background?


I will have this fixed in tonight's update.

Sent from my SM-N900P using Tapatalk

Humm are you pointing it at a empty database in mysql? Also is your connection string correct?

Sent from my SM-N900P using Tapatalk

Yes, empty db. I dump the schema and redo everytime I retry, as far as connection string it seems to be working, i use the same string when it has mysqlce set and it works. I didn't install connectors when I installed mysql, just installed them, maybe thats it?

I am using mysql sever 5.6 db engine is innodb.

I will have this fixed in tonight's update.

Sent from my SM-N900P using Tapatalk

Awesome!

Yes, empty db. I dump the schema and redo everytime I retry, as far as connection string it seems to be working, i use the same string when it has mysqlce set and it works. I didn't install connectors when I installed mysql, just installed them, maybe thats it?


MySql ce does not have a connection string. The one prefilled in is an example. Follow the documentation here for connection strings https://plexnotify.codeplex.com/wikipage?title=Setup&referringTitle=Documentation

Sent from my SM-N900P using Tapatalk

MySql ce does not have a connection string. The one prefilled in is an example. Follow the documentation here for connection strings https://plexnotify.codeplex.com/wikipage?title=Setup&referringTitle=Documentation

Sent from my SM-N900P using Tapatalk

Right, I didn't realize that was an example but I was not using that. I put my own in after going to that link. (Server=127.0.0.1;Database=plex;Uid=root;Pwd=supersecretpwd;) <edited edited for secrecy.