# Plex Notify

**URL:** <https://forums.plex.tv/t/plex-notify/53345>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [January 9, 2014, 12:54am UTC](https://forums.plex.tv/t/plex-notify/53345 "2014-01-09T00:54:30Z")\
**Posts on this page:** 20\
**Page:** 90

<div class="post-metadata">

**Author:** ![Yoritomo](https://avatars.discourse-cdn.com/v4/letter/y/bb73d2/32.png) [@Yoritomo](https://forums.plex.tv/u/Yoritomo)\
**Post date:** [November 24, 2014, 2:36pm UTC](https://forums.plex.tv/t/plex-notify/53345/1781 "2014-11-24T14:36:14Z")

</div>

Here's a fun one.  
  
Without any other updates, the transition from .107 to alpha .111 now fails to start plex notify. I've tried deleting the programdata\Plex Notify folder and I still get the same error.  
  
I've confirmed that I have .net 4.5.2 installed via the registry and Sql Server CE is also installed.  
  
Every time I run the launcher I get this message.

&nbsp; ![omvYw4e.jpg](http://i.imgur.com/omvYw4e.jpg)

With this error log  
  
[http://pastebin.com/3kRVfhqk](http://pastebin.com/3kRVfhqk)

Also this happens in my default browser chrome

 ![JJRiy37.jpg](http://i.imgur.com/JJRiy37.jpg)

Note the "does not fall within the expected range"  
  
Everything was working perfectly using .107. Don't know what happened but would like to figure it out.

---

<div class="post-metadata">

**Author:** ![JimBurlison](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jimburlison/32/117872_2.png) [@JimBurlison](https://forums.plex.tv/u/JimBurlison)\
**Post date:** [November 24, 2014, 2:47pm UTC](https://forums.plex.tv/t/plex-notify/53345/1782 "2014-11-24T14:47:59Z")

</div>

> Here's a fun one.  
>   
> Without any other updates, the transition from .107 to alpha .111 now fails to start plex notify. I've tried deleting the programdata\Plex Notify folder and I still get the same error.  
>   
> I've confirmed that I have .net 4.5.2 installed via the registry and Sql Server CE is also installed.  
>   
> Every time I run the launcher I get this message.
> 
> &nbsp; ![omvYw4e.jpg](http://i.imgur.com/omvYw4e.jpg)
> 
> With this error log  
>   
> [http://pastebin.com/3kRVfhqk](http://pastebin.com/3kRVfhqk)
> 
> Also this happens in my default browser chrome  
>   
> ![JJRiy37.jpg](http://i.imgur.com/JJRiy37.jpg)
> 
> Note the "does not fall within the expected range"  
>   
> Everything was working perfectly using .107. Don't know what happened but would like to figure it out.

try this:

Open a command prompt as Administrator and try running the following command:&nbsp;rundll32 %windir%\system32\dfshim.dll CleanOnlineAppCache

If that does not work, &nbsp;Try uninstalling and re-installing. You will not lose any of your data.

---

<div class="post-metadata">

**Author:** ![Yoritomo](https://avatars.discourse-cdn.com/v4/letter/y/bb73d2/32.png) [@Yoritomo](https://forums.plex.tv/u/Yoritomo)\
**Post date:** [November 24, 2014, 4:38pm UTC](https://forums.plex.tv/t/plex-notify/53345/1783 "2014-11-24T16:38:17Z")

</div>

> try this:
> 
> Open a command prompt as Administrator and try running the following command:&nbsp;rundll32 %windir%\system32\dfshim.dll CleanOnlineAppCache
> 
> If that does not work, &nbsp;Try uninstalling and re-installing. You will not lose any of your data.

Uninstalling and Reinstalling worked, thanks.

---

<div class="post-metadata">

**Author:** ![Wolfeman0101](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/wolfeman0101/32/2232_2.png) [@Wolfeman0101](https://forums.plex.tv/u/Wolfeman0101)\
**Post date:** [November 24, 2014, 7:00pm UTC](https://forums.plex.tv/t/plex-notify/53345/1784 "2014-11-24T19:00:46Z")

</div>

How do I transition from the old version to this new one?

---

<div class="post-metadata">

**Author:** ![JimBurlison](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jimburlison/32/117872_2.png) [@JimBurlison](https://forums.plex.tv/u/JimBurlison)\
**Post date:** [November 24, 2014, 7:05pm UTC](https://forums.plex.tv/t/plex-notify/53345/1785 "2014-11-24T19:05:15Z")

</div>

> How do I transition from the old version to this new one?

The release of beta 1 will be on december 25th. This is a dev release. It allows any developers to create programs using the api, so their programs can be ready at the launch of Beta 1.

---

<div class="post-metadata">

**Author:** ![JimBurlison](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jimburlison/32/117872_2.png) [@JimBurlison](https://forums.plex.tv/u/JimBurlison)\
**Post date:** [November 25, 2014, 2:19am UTC](https://forums.plex.tv/t/plex-notify/53345/1786 "2014-11-25T02:19:53Z")

</div>

[http://www.plexnotify.com/Forums/viewtopic.php?f=3&t=4&p=5#p5](http://www.plexnotify.com/Forums/viewtopic.php?f=3&t=4&p=5#p5)

another build is up.

---

<div class="post-metadata">

**Author:** ![sraptor](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sraptor/32/1305_2.png) [@sraptor](https://forums.plex.tv/u/sraptor)\
**Post date:** [November 25, 2014, 4:49am UTC](https://forums.plex.tv/t/plex-notify/53345/1787 "2014-11-25T04:49:02Z")

</div>

I have this problem with the alpha.

i have windows 2008 and get this error. How can I unistall it?

Thanks

Problem signature:  
&nbsp; Problem Event Name:&nbsp;&nbsp; &nbsp;CLR20r3  
&nbsp; Problem Signature 01:&nbsp;&nbsp; &nbsp;plex notify.exe  
&nbsp; Problem Signature 02:&nbsp;&nbsp; &nbsp;1.0.0.0  
&nbsp; Problem Signature 03:&nbsp;&nbsp; &nbsp;54278343  
&nbsp; Problem Signature 04:&nbsp;&nbsp; &nbsp;System.Data.SqlServerCe  
&nbsp; Problem Signature 05:&nbsp;&nbsp; &nbsp;4.0.8876.1  
&nbsp; Problem Signature 06:&nbsp;&nbsp; &nbsp;4fcd17f1  
&nbsp; Problem Signature 07:&nbsp;&nbsp; &nbsp;401  
&nbsp; Problem Signature 08:&nbsp;&nbsp; &nbsp;0  
&nbsp; Problem Signature 09:&nbsp;&nbsp; &nbsp;System.Data.SqlServerCe.SqlCe  
&nbsp; OS Version:&nbsp;&nbsp; &nbsp;6.1.7601.2.1.0.272.7  
&nbsp; Locale ID:&nbsp;&nbsp; &nbsp;1033  
&nbsp; Additional Information 1:&nbsp;&nbsp; &nbsp;0a9e  
&nbsp; Additional Information 2:&nbsp;&nbsp; &nbsp;0a9e372d3b4ad19135b953a78882e789  
&nbsp; Additional Information 3:&nbsp;&nbsp; &nbsp;0a9e  
&nbsp; Additional Information 4:&nbsp;&nbsp; &nbsp;0a9e372d3b4ad19135b953a78882

---

<div class="post-metadata">

**Author:** ![JimBurlison](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jimburlison/32/117872_2.png) [@JimBurlison](https://forums.plex.tv/u/JimBurlison)\
**Post date:** [November 25, 2014, 11:10am UTC](https://forums.plex.tv/t/plex-notify/53345/1788 "2014-11-25T11:10:30Z")

</div>

> I have this problem with the alpha.  
>   
> i have windows 2008 and get this error. How can I unistall it?  
>   
> Thanks  
>   
> Problem signature:  
> Problem Event Name: CLR20r3  
> Problem Signature 01: plex notify.exe  
> Problem Signature 02: 1.0.0.0  
> Problem Signature 03: 54278343  
> Problem Signature 04: System.Data.SqlServerCe  
> Problem Signature 05: 4.0.8876.1  
> Problem Signature 06: 4fcd17f1  
> Problem Signature 07: 401  
> Problem Signature 08: 0  
> Problem Signature 09: System.Data.SqlServerCe.SqlCe  
> OS Version: 6.1.7601.2.1.0.272.7  
> Locale ID: 1033  
> Additional Information 1: 0a9e  
> Additional Information 2: 0a9e372d3b4ad19135b953a78882e789  
> Additional Information 3: 0a9e  
> Additional Information 4: 0a9e372d3b4ad19135b953a78882

[http://www.microsoft.com/en-us/download/details.aspx?id=17876](http://www.microsoft.com/en-us/download/details.aspx?id=17876)  
  
Also before you uninstall go into the settings and uncheck Launch on startup  
  
  
Sent from my Nexus 6 using Tapatalk

---

<div class="post-metadata">

**Author:** ![JimBurlison](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jimburlison/32/117872_2.png) [@JimBurlison](https://forums.plex.tv/u/JimBurlison)\
**Post date:** [November 25, 2014, 12:08pm UTC](https://forums.plex.tv/t/plex-notify/53345/1789 "2014-11-25T12:08:38Z")

</div>

For those using postman for beta 1 I will also update this when there is an API change. It will import all the Plex Notify API calls for you.

Postman Collection:

http://www.plexnotify.com/Releases/api/PlexNotify.json.postman\_collection.zip

&nbsp;

Import this by opening postman and switching from the History tab to the Collections tab. Click the import button.

---

<div class="post-metadata">

**Author:** ![sraptor](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sraptor/32/1305_2.png) [@sraptor](https://forums.plex.tv/u/sraptor)\
**Post date:** [November 25, 2014, 10:13pm UTC](https://forums.plex.tv/t/plex-notify/53345/1790 "2014-11-25T22:13:48Z")

</div>

That worked.

Thanks

---

<div class="post-metadata">

**Author:** ![JimBurlison](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jimburlison/32/117872_2.png) [@JimBurlison](https://forums.plex.tv/u/JimBurlison)\
**Post date:** [November 25, 2014, 10:45pm UTC](https://forums.plex.tv/t/plex-notify/53345/1791 "2014-11-25T22:45:01Z")

</div>

> That worked but now when I try to click in setting give me this error  
>   
> Problem signature:  
> Problem Event Name: CLR20r3  
> Problem Signature 01: plex notify.exe  
> Problem Signature 02: 1.0.0.0  
> Problem Signature 03: 54278343  
> Problem Signature 04: mscorlib  
> Problem Signature 05: 4.0.30319.18444  
> Problem Signature 06: 52717edc  
> Problem Signature 07: 3e69  
> Problem Signature 08: 0  
> Problem Signature 09: PSZQOADHX1U5ZAHBHOHGHLDGIY4QIXHX  
> OS Version: 6.1.7601.2.1.0.272.7  
> Locale ID: 1033  
> Additional Information 1: 0a9e  
> Additional Information 2: 0a9e372d3b4ad19135b953a78882e789  
> Additional Information 3: 0a9e  
> Additional Information 4: 0a9e372d3b4ad19135b953a78882e789  
>   
> Read our privacy statement online:  
> [http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409](http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409)  
>   
> If the online privacy statement is not available, please read our privacy statement offline:  
> C:\Windows\system32\en-US\erofflps.txt

  
Are you an administrator? Its some kind of access violation error.  
  
Sent from my Nexus 6 using Tapatalk

---

<div class="post-metadata">

**Author:** ![sraptor](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sraptor/32/1305_2.png) [@sraptor](https://forums.plex.tv/u/sraptor)\
**Post date:** [November 26, 2014, 1:58am UTC](https://forums.plex.tv/t/plex-notify/53345/1792 "2014-11-26T01:58:04Z")

</div>

Worked after I rebooted the server. I runned the compact sql

---

<div class="post-metadata">

**Author:** ![JimBurlison](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jimburlison/32/117872_2.png) [@JimBurlison](https://forums.plex.tv/u/JimBurlison)\
**Post date:** [November 26, 2014, 3:08am UTC](https://forums.plex.tv/t/plex-notify/53345/1793 "2014-11-26T03:08:34Z")

</div>

[http://www.plexnotify.com/Forums/viewtopic.php?f=3&t=4&p=116#p116](http://www.plexnotify.com/Forums/viewtopic.php?f=3&t=4&p=116#p116)

Tonight's additions:

Added additional API calls:

- GetTopMovies

- GetTopEpisodes

- GetTopTrack

- GetTopPhoto

&nbsp;

Also added a node to the mediaobject that will tell you how many view counts are in that object.

Added additional logging for API calls. Now displays how long it took to process the call.

&nbsp;

Postman file also updated for the new calls.

---

<div class="post-metadata">

**Author:** ![JimBurlison](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jimburlison/32/117872_2.png) [@JimBurlison](https://forums.plex.tv/u/JimBurlison)\
**Post date:** [November 26, 2014, 10:51pm UTC](https://forums.plex.tv/t/plex-notify/53345/1794 "2014-11-26T22:51:11Z")

</div>

Anyone not have a plexpass account and has the latest PMS&nbsp;0.9.11.4 Check if you can use Plex Notify. I think they changed the latest version to not require plexpass for accessing their now playing API.

If someone could check that for me it would be great.

---

<div class="post-metadata">

**Author:** ![rogueosb](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/rogueosb/32/84098_2.png) [@rogueosb](https://forums.plex.tv/u/rogueosb)\
**Post date:** [November 27, 2014, 11:04am UTC](https://forums.plex.tv/t/plex-notify/53345/1795 "2014-11-27T11:04:36Z")

</div>

I'm trying to set the plex.tv login on the latest build, but it returns the following error in the log:  
  
&nbsp;

```
Attempting to authenticate to MyPlex with User name rogueosb.
  
  
    There is an error in XML document (2, 34).
       at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
   at PlexNotify.Shared.APIs.WebAPI.GetPage[T](String url, HTTPRequestType requestType, Dictionary`2 parametersDictionary, Dictionary`2 headersDictionary, String username, String password) in e:\WinDev\PlexNotify\PlexNotify.Shared\APIs\WebAPI.cs:line 66
    Line Number: 28; There is an error in XML document (2, 34).
    Line Number: 29 at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
   at PlexNotify.Shared.APIs.WebAPI.GetPage[T](String url, HTTPRequestType requestType, Dictionary`2 parametersDictionary, Dictionary`2 headersDictionary, String username, String password) in e:\WinDev\PlexNotify\PlexNotify.Shared\APIs\WebAPI.cs:line 66
    Line Number: 28; Value was either too large or too small for a UInt16.
    Line Number: 29 at System.UInt16.Parse(String s, NumberStyles style, NumberFormatInfo info)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderPlexUser.Read9_PlexUser(Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderPlexUser.Read10_user()
    
    
  
  
    Authenticate to MyPlex with User name rogueosb failed.
  
  
    Object reference not set to an instance of an object.
       at PlexNotify.Shared.APIs.PlexMediaServer.GetSessions() in e:\WinDev\PlexNotify\PlexNotify.Shared\APIs\PlexMediaServer.cs:line 25
   at PlexNotify.Service.PnService.UpdateTimer_Elapsed(Object sender, ElapsedEventArgs e) in e:\WinDev\PlexNotify\PlexNotifyService\PlexNotifyService\PNService.cs:line 113
    Line Number: 28; Object reference not set to an instance of an object.
    Line Number: 29 at PlexNotify.Shared.APIs.PlexMediaServer.GetSessions() in e:\WinDev\PlexNotify\PlexNotify.Shared\APIs\PlexMediaServer.cs:line 25
   at PlexNotify.Service.PnService.UpdateTimer_Elapsed(Object sender, ElapsedEventArgs e) in e:\WinDev\PlexNotify\PlexNotifyService\PlexNotifyService\PNService.cs:line 113
```

I have PlexPass and have enabled Plex Home in the latest version (authorization on local networks is required). I have tried with both my username and my email; same error. The alpha version works just fine.

EDIT: Using the default string provided in the postman collection gives works, as it gives an Unauthorized error rather than XML error.

EDIT2: Tried an incorrect password for my account, also gives Unauthorized error, so maybe it's the reply from the server?

---

<div class="post-metadata">

**Author:** ![JimBurlison](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jimburlison/32/117872_2.png) [@JimBurlison](https://forums.plex.tv/u/JimBurlison)\
**Post date:** [November 27, 2014, 12:41pm UTC](https://forums.plex.tv/t/plex-notify/53345/1796 "2014-11-27T12:41:39Z")

</div>

> I'm trying to set the plex.tv login on the latest build, but it returns the following error in the log:  
>   
> &nbsp;
> 
> ```
> Attempting to authenticate to MyPlex with User name rogueosb.
>   
>   
> There is an error in XML document (2, 34).
> at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
> at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
> at PlexNotify.Shared.APIs.WebAPI.GetPage[T](String url, HTTPRequestType requestType, Dictionary`2 parametersDictionary, Dictionary`2 headersDictionary, String username, String password) in e:\WinDev\PlexNotify\PlexNotify.Shared\APIs\WebAPI.cs:line 66
> Line Number: 28; There is an error in XML document (2, 34).
> Line Number: 29 at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
> at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
> at PlexNotify.Shared.APIs.WebAPI.GetPage[T](String url, HTTPRequestType requestType, Dictionary`2 parametersDictionary, Dictionary`2 headersDictionary, String username, String password) in e:\WinDev\PlexNotify\PlexNotify.Shared\APIs\WebAPI.cs:line 66
> Line Number: 28; Value was either too large or too small for a UInt16.
> Line Number: 29 at System.UInt16.Parse(String s, NumberStyles style, NumberFormatInfo info)
> at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderPlexUser.Read9_PlexUser(Boolean isNullable, Boolean checkType)
> at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderPlexUser.Read10_user()
>     
>     
>   
>   
> Authenticate to MyPlex with User name rogueosb failed.
>   
>   
> Object reference not set to an instance of an object.
> at PlexNotify.Shared.APIs.PlexMediaServer.GetSessions() in e:\WinDev\PlexNotify\PlexNotify.Shared\APIs\PlexMediaServer.cs:line 25
> at PlexNotify.Service.PnService.UpdateTimer_Elapsed(Object sender, ElapsedEventArgs e) in e:\WinDev\PlexNotify\PlexNotifyService\PlexNotifyService\PNService.cs:line 113
> Line Number: 28; Object reference not set to an instance of an object.
> Line Number: 29 at PlexNotify.Shared.APIs.PlexMediaServer.GetSessions() in e:\WinDev\PlexNotify\PlexNotify.Shared\APIs\PlexMediaServer.cs:line 25
> at PlexNotify.Service.PnService.UpdateTimer_Elapsed(Object sender, ElapsedEventArgs e) in e:\WinDev\PlexNotify\PlexNotifyService\PlexNotifyService\PNService.cs:line 113
> ```
> 
> I have PlexPass and have enabled Plex Home in the latest version (authorization on local networks is required). I have tried with both my username and my email; same error. The alpha version works just fine.
> 
> EDIT: Using the default string provided in the postman collection gives works, as it gives an Unauthorized error rather than XML error.
> 
> EDIT2: Tried an incorrect password for my account, also gives Unauthorized error, so maybe it's the reply from the server?

Thanks for the info, I will include more logging info in tonight's build to get the XML that it can't deserialize.

---

<div class="post-metadata">

**Author:** ![JimBurlison](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jimburlison/32/117872_2.png) [@JimBurlison](https://forums.plex.tv/u/JimBurlison)\
**Post date:** [November 27, 2014, 12:53pm UTC](https://forums.plex.tv/t/plex-notify/53345/1797 "2014-11-27T12:53:47Z")

</div>

I can confirm that you no longer need Plexpass to use Plex Notify.

---

<div class="post-metadata">

**Author:** ![JimBurlison](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jimburlison/32/117872_2.png) [@JimBurlison](https://forums.plex.tv/u/JimBurlison)\
**Post date:** [November 28, 2014, 2:05am UTC](https://forums.plex.tv/t/plex-notify/53345/1798 "2014-11-28T02:05:11Z")

</div>

Hello everyone and happy thanksgiving for all those celebrating it today. Here are the release notes for tonight's build:

The Following API calls have been added:

- GetMoviesForUser

- GetTopMoviesForUser

- GetMoviesForPlayer

- GetTopMoviesForPlayer

- GetEpisodesForUser

- GetTopEpisodesForUser

- GetEpisodesForPlayer

- GetTopEpisodesForPlayer

- GetPhotosForUser

- GetTopPhotosForUser

- GetPhotosForPlayer

- GetTopPhotosForPlayer

- GetTracksForUser

- GetTopTracksForUser

- GetTracksForPlayer

- GetTopTracksForPlayer

&nbsp;

Also:

Response Content Type of the rest call is now properly "text/xml;charset=utf-8"

Sped up Web calls. They respond twice as fast.

Fixed some issues with logging into Plex.tv

&nbsp;

As always postman file also updated.

---

<div class="post-metadata">

**Author:** ![JimBurlison](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jimburlison/32/117872_2.png) [@JimBurlison](https://forums.plex.tv/u/JimBurlison)\
**Post date:** [November 28, 2014, 4:06am UTC](https://forums.plex.tv/t/plex-notify/53345/1799 "2014-11-28T04:06:02Z")

</div>

I just pushed tonights build again to hot fix a problem with tracks and photos.

---

<div class="post-metadata">

**Author:** ![rogueosb](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/rogueosb/32/84098_2.png) [@rogueosb](https://forums.plex.tv/u/rogueosb)\
**Post date:** [November 28, 2014, 9:30am UTC](https://forums.plex.tv/t/plex-notify/53345/1800 "2014-11-28T09:30:16Z")

</div>

New build fixed my issue :).  
  
I noticed there's some autoupdate related files in the preview; are these activated in the current builds, or are they for the future?

[Previous page](https://forums.plex.tv/t/plex-notify/53345.md?page=89)

[Next page](https://forums.plex.tv/t/plex-notify/53345.md?page=91)
