Plex Notify

I have it installed ok - and pointed at my plex server but nothing is showing up as plying / stats etc.
The log file contains lots of entries like below :

**********************


-

There is an error in XML document (17, 220).

at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader) at PlexNotify.Core.XmlDeserializeFromString(String objectData, Type type) at PlexNotify.Core.XmlDeserializeFromString[T](String objectData) at PlexNotify.PmsFactory.GetMediaInformation(String url, PlexUrl pu, Boolean updateGet)

There was a problem deserializing the response XML


-

<?xml version="1.0" encoding="UTF-8"?>






I will look into this when I get home. What version of plex media server are you using.

Sent from my SM-N900P using Tapatalk

I will look into this when I get home. What version of plex media server are you using.

Sent from my SM-N900P using Tapatalk

Version 0.9.8.18 - Thanks the xml log is growing very big, very fast!

Version 0.9.8.18 - Thanks the xml log is growing very big, very fast!


Yeah the default update interval is 5 seconds it will log the error once every 5 seconds

Sent from my SM-N900P using Tapatalk

This is looking very interesting indeed. Sadly the notifications won't work for me as neither Growl or Pushover have a windows phone app...I had a look and found https://pushalot.com/ which seems to be for WP and Windows 8, would it be feasible to incorporate that? 

This is looking very interesting indeed. Sadly the notifications won't work for me as neither Growl or Pushover have a windows phone app...I had a look and found https://pushalot.com/ which seems to be for WP and Windows 8, would it be feasible to incorporate that?


Can you send me your log file? Also I can certainly incorporate that. It needs a windows phone notification solution.

To get your logs, go into settings then click Logs at the top on the window bar.

Also what version of plex media server are you running?

Sent from my SM-N900P using Tapatalk

I always get the popup saying it cannot connect on MyPLex and PushIver doesn't work (I entered the user key, but not sure what is the app key)

As for Prowl, it crashes the app if enabled when notifications occur.

check those logs:

 
    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()
   
   
 
 
    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()
   
   
 
 
    The remote server returned an error: (400) Bad Request.
      at System.Net.WebClient.UploadValues(Uri address, String method, NameValueCollection data)
   at System.Net.WebClient.UploadValues(String address, NameValueCollection data)
   at DojoNorthSoftware.Pushover.Pushover.SendNotification(String appToken, String userKey, String title, String message, Priority pri, PushoverSound sound, String device, String supplementaryUrl, String urlTitle, Int32 emergencyRetry, Int32 emergencyExpire, Exception& except)
    There was a problem connecting to Pushover.net
    Pushover
 
 
Also, when using on Windows 2008 R2 (rdp management), colors are not great and also, would like to be able to disable balloon popup (not interesting in RDP only)
2014-02-02%202-48-08%20PM.png
 
But in general, great! (when not focusing on PushOver and Prowl)

I always get the popup saying it cannot connect on MyPLex and PushIver doesn't work (I entered the user key, but not sure what is the app key)
As for Prowl, it crashes the app if enabled when notifications occur.

check those logs:


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()




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()




The remote server returned an error: (400) Bad Request.
at System.Net.WebClient.UploadValues(Uri address, String method, NameValueCollection data)
at System.Net.WebClient.UploadValues(String address, NameValueCollection data)
at DojoNorthSoftware.Pushover.Pushover.SendNotification(String appToken, String userKey, String title, String message, Priority pri, PushoverSound sound, String device, String supplementaryUrl, String urlTitle, Int32 emergencyRetry, Int32 emergencyExpire, Exception& except)
There was a problem connecting to Pushover.net
Pushover



Also, when using on Windows 2008 R2 (rdp management), colors are not great and also, would like to be able to disable balloon popup (not interesting in RDP only)
2014-02-02%202-48-08%20PM.png

But in general, great! (when not focusing on PushOver and Prowl)


To disable desktop notifications just disable notifications in the basic settigs. Also for pushover setup you can find full documentation here https://plexnotify.codeplex.com/wikipage?title=Notification%20Providers&referringTitle=Setup

Sent from my SM-N900P using Tapatalk

I’ll look into the Prowl issue


Sent from my SM-N900P using Tapatalk

Working nicely for me, Pushover included. The only issue I have is that if I start watching something and then watch it again later I won't get another notification? I've tried marking the media as watched/unwatched and starting it again but I never get another notification.

Hi I am getting this error when trying to run the click once installer

plexnotify.JPG

Working nicely for me, Pushover included. The only issue I have is that if I start watching something and then watch it again later I won't get another notification? I've tried marking the media as watched/unwatched and starting it again but I never get another notification.


It should. The algorithm for this was very up in the air for me. I settled on it won't count it as a new view unless you where past the 3 minute mark and started over again before the 3 minute mark.

That being said plex will send the view offset of the last point you finished at if you start a movie over sometimes. It seems to cache it or something it you restart a movie a day later you shouldn't have a problem. It you rester minutes later plex is going to send me a bad view offset.

Sent from my SM-N900P using Tapatalk

Hi I am getting this error when trying to run the click once installer

plexnotify.JPG


Interesting. Have you tried re-downloading?

Sent from my SM-N900P using Tapatalk

To disable desktop notifications just disable notifications in the basic settigs. Also for pushover setup you can find full documentation here https://plexnotify.codeplex.com/wikipage?title=Notification%20Providers&referringTitle=Setup

Sent from my SM-N900P using Tapatalk

OK, sorry, about PushOver, I added the application and key and it works great!

I get a lot of those on TV shows (using nfo importer if it matters)

 
 
    There is an error in XML document (4, 176).
      at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
   at PlexNotify.Core.XmlDeserializeFromString(String objectData, Type type)
   at PlexNotify.Core.XmlDeserializeFromString[T](String objectData)
   at PlexNotify.PmsFactory.GetMediaInformation(String url, PlexUrl pu, Boolean updateGet)
    There was a problem deserializing the response XML
    ]]>
 
 
But is notifies me still...

OK, sorry, about PushOver, I added the application and key and it works great!

I get a lot of those on TV shows (using nfo importer if it matters)


There is an error in XML document (4, 176).
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
at PlexNotify.Core.XmlDeserializeFromString(String objectData, Type type)
at PlexNotify.Core.XmlDeserializeFromString[T](String objectData)
at PlexNotify.PmsFactory.GetMediaInformation(String url, PlexUrl pu, Boolean updateGet)
There was a problem deserializing the response XML
<?xml version="1.0" encoding="UTF-8"?>


But is notifies me still...


Yeah I have gotten multiple reports on issues with TV shows. I will look into it when I get home and have a fix for it asap.

Sent from my SM-N900P using Tapatalk

ANd the logs for the "MyPlex website not available" error and clicking "save" in myplex username and password from settings:

 
 
    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()
   
   
 
 
This one seems specific to Windows 2008 r2 server (tested the same in a Win 8 station; not error...)

ANd the logs for the "MyPlex website not available" error and clicking "save" in myplex username and password from settings:



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()




This one seems specific to Windows 2008 r2 server (tested the same in a Win 8 station; not error...)


It may be a permissions issue. Try running it as administrator.

Sent from my SM-N900P using Tapatalk

It may be a permissions issue. Try running it as administrator.

Sent from my SM-N900P using Tapatalk

I thought of that but not an option for this app type.

I thought of that but not an option for this app type.


Ahh the click once framework buries the executable deep within the os you can find it by doing a file search for Plex Notify.Exe I will put a configuration setting in for enhanced permissions so you can enter your windows username and password.

Sent from my SM-N900P using Tapatalk

I thought of that but not an option for this app type.


It should be in C:/appdata somewhere

Sent from my SM-N900P using Tapatalk

Interesting. Have you tried re-downloading?

Sent from my SM-N900P using Tapatalk

I tried downloading it again, same error.  Attached is the error details.