# 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:** 63

<div class="post-metadata">

**Author:** ![liiight](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/liiight/32/3689_2.png) [@liiight](https://forums.plex.tv/u/liiight)\
**Post date:** [May 25, 2014, 6:34am UTC](https://forums.plex.tv/t/plex-notify/53345/1241 "2014-05-25T06:34:25Z")

</div>

I get an error when trying to start the webserver:

In the gui:

```
The system cannot find the path specified.
For more information about the error, run iisexpress with the tracing switch enabled (/trace:error).
```

And the logs:

```
    0.0.0.81
    Object reference not set to an instance of an object.
      at PlexNotify.DatabaseHelper.StoreMediaContainer(MediaContainer mc) in c:\Users\James\Source\Workspaces\PlexNotify\PlexNotify\Database\DatabaseHelper.cs:line 350
   at PlexNotify.MainWindow.BW_DoWork(Object sender, DoWorkEventArgs e) in c:\Users\James\Source\Workspaces\PlexNotify\PlexNotify\MainWindow.xaml.cs:line 224
    Object reference not set to an instance of an object.
      at PlexNotify.DatabaseHelper.StoreMediaContainer(MediaContainer mc) in c:\Users\James\Source\Workspaces\PlexNotify\PlexNotify\Database\DatabaseHelper.cs:line 350
   at PlexNotify.MainWindow.BW_DoWork(Object sender, DoWorkEventArgs e) in c:\Users\James\Source\Workspaces\PlexNotify\PlexNotify\MainWindow.xaml.cs:line 224
    
    
 
```

Note the directory structure is looking for /James/ ...&nbsp;

---

<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:** [May 25, 2014, 6:38am UTC](https://forums.plex.tv/t/plex-notify/53345/1242 "2014-05-25T06:38:56Z")

</div>

> I get an error when trying to start the webserver:
> 
> In the gui:
> 
> ```
> The system cannot find the path specified.
> For more information about the error, run iisexpress with the tracing switch enabled (/trace:error).
> ```
> 
> And the logs:
> 
> ```
>     0.0.0.81
>     Object reference not set to an instance of an object.
>       at PlexNotify.DatabaseHelper.StoreMediaContainer(MediaContainer mc) in c:\Users\James\Source\Workspaces\PlexNotify\PlexNotify\Database\DatabaseHelper.cs:line 350
>    at PlexNotify.MainWindow.BW_DoWork(Object sender, DoWorkEventArgs e) in c:\Users\James\Source\Workspaces\PlexNotify\PlexNotify\MainWindow.xaml.cs:line 224
>     Object reference not set to an instance of an object.
>       at PlexNotify.DatabaseHelper.StoreMediaContainer(MediaContainer mc) in c:\Users\James\Source\Workspaces\PlexNotify\PlexNotify\Database\DatabaseHelper.cs:line 350
>    at PlexNotify.MainWindow.BW_DoWork(Object sender, DoWorkEventArgs e) in c:\Users\James\Source\Workspaces\PlexNotify\PlexNotify\MainWindow.xaml.cs:line 224
>     
>     
>  
> ```
> 
> Note the directory structure is looking for /James/ ...&nbsp;

have you followed the steps here?

[https://plexnotify.codeplex.com/documentation](https://plexnotify.codeplex.com/documentation)

---

<div class="post-metadata">

**Author:** ![liiight](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/liiight/32/3689_2.png) [@liiight](https://forums.plex.tv/u/liiight)\
**Post date:** [May 25, 2014, 7:00am UTC](https://forums.plex.tv/t/plex-notify/53345/1243 "2014-05-25T07:00:51Z")

</div>

oops, must have missed that previously.

All is working now, sorry for the inconvenience.&nbsp;

Also, I'm not sure but is the RSS feature supposed to work?

beucase I get nothing at localhost:8082/rss/

---

<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:** [May 25, 2014, 7:34am UTC](https://forums.plex.tv/t/plex-notify/53345/1244 "2014-05-25T07:34:52Z")

</div>

> oops, must have missed that previously.
> 
> All is working now, sorry for the inconvenience.&nbsp;
> 
> Also, I'm not sure but is the RSS feature supposed to work?
> 
> beucase I get nothing at localhost:8082/rss/

I did fix that exception though thanks for the report!

---

<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:** [May 25, 2014, 7:37am UTC](https://forums.plex.tv/t/plex-notify/53345/1245 "2014-05-25T07:37:18Z")

</div>

> oops, must have missed that previously.
> 
> All is working now, sorry for the inconvenience.&nbsp;
> 
> Also, I'm not sure but is the RSS feature supposed to work?
> 
> beucase I get nothing at localhost:8082/rss/

Yeah it should be there. It updates it on every update. Check to see if it populated in the webserver.&nbsp;C:\ProgramData\Plex Notify\WebServer\www\rss

make sure there is an index.xml.

---

<div class="post-metadata">

**Author:** ![liiight](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/liiight/32/3689_2.png) [@liiight](https://forums.plex.tv/u/liiight)\
**Post date:** [May 25, 2014, 7:42am UTC](https://forums.plex.tv/t/plex-notify/53345/1246 "2014-05-25T07:42:06Z")

</div>

I do not have a www folder under the WebServer folder.

Also, I recommend splitting the log file after a specific size, as mine is currently over 50MB and is very difficult to view.

---

<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:** [May 25, 2014, 7:43am UTC](https://forums.plex.tv/t/plex-notify/53345/1247 "2014-05-25T07:43:48Z")

</div>

> I do not have a www folder under the WebServer folder.
> 
> Also, I recommend splitting the log file after a specific size, as mine is currently over 50MB and is very difficult to view.

The log settings are in Advanced tab in the settings window

---

<div class="post-metadata">

**Author:** ![liiight](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/liiight/32/3689_2.png) [@liiight](https://forums.plex.tv/u/liiight)\
**Post date:** [May 25, 2014, 7:52am UTC](https://forums.plex.tv/t/plex-notify/53345/1248 "2014-05-25T07:52:37Z")

</div>

Ahh, missed that too :)

however, I can see that by default ir set to rotate after 10 kb and it does not perform that way for me.

---

<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:** [May 25, 2014, 7:53am UTC](https://forums.plex.tv/t/plex-notify/53345/1249 "2014-05-25T07:53:25Z")

</div>

> Ahh, missed that too :)
> 
> however, I can see that by default ir set to rotate after 10 kb and it does not perform that way for me.

ok just rename the log it must be bugged, I will look into it

---

<div class="post-metadata">

**Author:** ![liiight](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/liiight/32/3689_2.png) [@liiight](https://forums.plex.tv/u/liiight)\
**Post date:** [May 25, 2014, 7:54am UTC](https://forums.plex.tv/t/plex-notify/53345/1250 "2014-05-25T07:54:26Z")

</div>

ok, and don't forget about the missing rss thing.

---

<div class="post-metadata">

**Author:** ![alilou](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/alilou/32/141239_2.png) [@alilou](https://forums.plex.tv/u/alilou)\
**Post date:** [May 25, 2014, 10:20am UTC](https://forums.plex.tv/t/plex-notify/53345/1251 "2014-05-25T10:20:34Z")

</div>

I return with my idea of ​​home automation integration :)&nbsp;

&nbsp;

I just tested a joint base IFTTT but the period of execution of IFTTT routines can be considered in a home automation solution.&nbsp;

&nbsp;

Example: When I start a movie and it is dark when the lights go out. If I put the movie paused then it comes back, etc..&nbsp;

&nbsp;

To do this I just have to make an http request to a sensor box my home automation.&nbsp;

&nbsp;

It should therefore be a field somewhere to just add this request but for a specific user.&nbsp;

&nbsp;

Do you think this can be possible?&nbsp;

&nbsp;

Thank you for your reply.

---

<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:** [May 26, 2014, 3:33pm UTC](https://forums.plex.tv/t/plex-notify/53345/1252 "2014-05-26T15:33:18Z")

</div>

New settings Layout coming soon with recently added, facebook and twitter support!

![Fpb2WDX.png](http://i.imgur.com/Fpb2WDX.png)

---

<div class="post-metadata">

**Author:** ![miniop](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@miniop](https://forums.plex.tv/u/miniop)\
**Post date:** [May 26, 2014, 3:40pm UTC](https://forums.plex.tv/t/plex-notify/53345/1253 "2014-05-26T15:40:14Z")

</div>

Rock Star amazing work ! are you planning to have also statistics over web ?

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:** [May 26, 2014, 3:57pm UTC](https://forums.plex.tv/t/plex-notify/53345/1254 "2014-05-26T15:57:58Z")

</div>

> Rock Star amazing work ! are you planning to have also statistics over web ?
> 
> Thanks

I am making a web API and a Plugins landing page so users can make a web stats through plugins. It would be a huge learning curve for me as I am a desktop developer.&nbsp;

---

<div class="post-metadata">

**Author:** ![abuttino](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@abuttino](https://forums.plex.tv/u/abuttino)\
**Post date:** [May 27, 2014, 11:21am UTC](https://forums.plex.tv/t/plex-notify/53345/1255 "2014-05-27T11:21:14Z")

</div>

> I return with my idea of ​​home automation integration :)   
>   
> I just tested a joint base IFTTT but the period of execution of IFTTT routines can be considered in a home automation solution.   
>   
> Example: When I start a movie and it is dark when the lights go out. If I put the movie paused then it comes back, etc..   
>   
> To do this I just have to make an http request to a sensor box my home automation.   
>   
> It should therefore be a field somewhere to just add this request but for a specific user.   
>   
> Do you think this can be possible?   
>   
> Thank you for your reply.

  
Don't bother with IFTTT that would be extremely slow in comparison to Eventghost. You can use the growl plugin and it would be immediate, not having to wait for a message to propagate the internet.  
  
PM me if you are interested.   
  
Sent from my DROID RAZR HD using Tapatalk

---

<div class="post-metadata">

**Author:** ![alilou](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/alilou/32/141239_2.png) [@alilou](https://forums.plex.tv/u/alilou)\
**Post date:** [May 27, 2014, 11:45am UTC](https://forums.plex.tv/t/plex-notify/53345/1256 "2014-05-27T11:45:48Z")

</div>

Thank you for the information, I look at it tonight and I come to you!

---

<div class="post-metadata">

**Author:** ![dlanor](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dlanor/32/4522_2.png) [@dlanor](https://forums.plex.tv/u/dlanor)\
**Post date:** [May 27, 2014, 5:13pm UTC](https://forums.plex.tv/t/plex-notify/53345/1257 "2014-05-27T17:13:38Z")

</div>

> Alpha v0.0.0.81  
> New Users screen. Remote desktop friendly and easier to use!

  
I've noticed one problem with this new 'Users' screen, in that it ignores existing user images, as used in notifications.  
Those images are not displayed in the new 'Users' screen, showing only the gray generic outline image for every user, even though the previously defined images are still used in notifications and event logs.  
  
Best regards: dlanor

---

<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:** [May 27, 2014, 5:29pm UTC](https://forums.plex.tv/t/plex-notify/53345/1258 "2014-05-27T17:29:31Z")

</div>

> I've noticed one problem with this new 'Users' screen, in that it ignores existing user images, as used in notifications.  
> Those images are not displayed in the new 'Users' screen, showing only the gray generic outline image for every user, even though the previously defined images are still used in notifications and event logs.  
>   
> Best regards: dlanor

Thanks for the report i will look into it!

---

<div class="post-metadata">

**Author:** ![dlanor](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dlanor/32/4522_2.png) [@dlanor](https://forums.plex.tv/u/dlanor)\
**Post date:** [May 27, 2014, 5:55pm UTC](https://forums.plex.tv/t/plex-notify/53345/1259 "2014-05-27T17:55:13Z")

</div>

Another problem I just noticed:  
  
The log rotation at 10KB does not seem to be working at all for me. (Like ‘liiight’ previously reported for his log.)  
Mine’s a bit smaller than his, at just 1519 KB, but that’s still a lot more than the supposed 10 KB limit…  
  
There’s no trace whatever that the log file ever has been ‘rotated’.  
The “C:\ProgramData\Plex Notify\Logs” folder only contains the single file “PlexNotify.log.xml” of 1519 KB.  
This appears to include log events dating back to early March, which is probably when I last did a full uninstall+reinstall.  
  
I also question some contents of that log file, which has numerous references to a nonexistent OS user folder.  
(“c:\Users\James\Source\Workspaces\PlexNotify\VARIOUS\_FILE\_NAMES”)  
  
I think that may be the original location of your source code for app parts involved in the logged events.  
  
I understand the usefulness of having debug logs specifying affected source files and even line numbers, as seems to have been added to the logging recently. It seems to have started in v0.0.0.79, as my older log entries don’t use such path/file specifications.  
  
But I suggest that you trim off the full path string, reducing it to just the local subfolder and file names as used within your PlexNotify source folder. This would remove redundant bulk from the logs, as numerous repetitions of that “c:\Users\James\Source\Workspaces\PlexNotify” substring are pointless.  
  
Best regards: dlanor

---

<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:** [May 28, 2014, 2:43am UTC](https://forums.plex.tv/t/plex-notify/53345/1260 "2014-05-28T02:43:22Z")

</div>

> Another problem I just noticed:  
>   
> The log rotation at 10KB does not seem to be working at all for me. (Like 'liiight' previously reported for his log.)  
> Mine's a bit smaller than his, at just 1519 KB, but that's still a lot more than the supposed 10 KB limit...  
>   
> There's no trace whatever that the log file ever has been 'rotated'.  
> The "C:\ProgramData\Plex Notify\Logs" folder only contains the single file "PlexNotify.log.xml" of 1519 KB.  
> This appears to include log events dating back to early March, which is probably when I last did a full uninstall+reinstall.  
>   
> I also question some contents of that log file, which has numerous references to a nonexistent OS user folder.  
> ("c:\Users\James\Source\Workspaces\PlexNotify\VARIOUS\_FILE\_NAMES")  
>   
> I think that may be the original location of your source code for app parts involved in the logged events.  
>   
> I understand the usefulness of having debug logs specifying affected source files and even line numbers, as seems to have been added to the logging recently. It seems to have started in v0.0.0.79, as my older log entries don't use such path/file specifications.  
>   
> But I suggest that you trim off the full path string, reducing it to just the local subfolder and file names as used within your PlexNotify source folder. This would remove redundant bulk from the logs, as numerous repetitions of that "c:\Users\James\Source\Workspaces\PlexNotify\" substring are pointless.  
>   
> Best regards: dlanor

Thanks for the report. I fixed the logging bug, it will be in the next patch.

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

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