Plex Notify

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/ ... 

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/ ... 

have you followed the steps here?

https://plexnotify.codeplex.com/documentation

oops, must have missed that previously.

All is working now, sorry for the inconvenience. 

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

beucase I get nothing at localhost:8082/rss/

oops, must have missed that previously.

All is working now, sorry for the inconvenience. 

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!

oops, must have missed that previously.

All is working now, sorry for the inconvenience. 

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. C:\ProgramData\Plex Notify\WebServer\www\rss

make sure there is an index.xml.

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.

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

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.

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

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

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.

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

Fpb2WDX.png

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

Thanks

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. 

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
Thank you for the information, I look at it tonight and I come to you!

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

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!

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

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.