Plex Notify

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

Found it, tried it, same issue...

UAC, DEP, Firewall and antivirus disabled BTW.

Logged on as domain admin.

But everything "seems" to work fine though...

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


Okay so I looked into this. It's another issue with the assembly being unsigned. I will release do another release with a signed assembly when I get home tonight.

Sent from my SM-N900P using Tapatalk

Found it, tried it, same issue...
UAC, DEP, Firewall and antivirus disabled BTW.
Logged on as domain admin.

But everything "seems" to work fine though...


I looked into this your app configuration could have the permissions issue it you look at http://msdn.microsoft.com/en-us/library/ms228995.aspx it says it deploys the app configuration file to documents and settings in the users directory. The configuration file will be called "Plex Notify.exe.config"

Sent from my SM-N900P using Tapatalk

Alright, finally - Installed and running.

Now, the bugs :D
 

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
 

I´m having a similar problem with Windows Server 2012 through RDP. The check mark isn't visible unless I have the mouse over it, and sometimes not at all. However, when I save changes and go to another tab, and return to Users it looks like none of the settings were saved. Is there an xml file somewhere or something that I can look at for settings when the GUI fails?

I´m also wondering why is it only picking up 7 of my users? Many of the users missing have played something since I installed it. I tried restarting the app, no luck.

And just some pointers:

It would be nice to go right away to some sort of step by step setup or just open the Settings 'page' right away.
 
I have no way of knowing if the plex login worked or not, a field that says "logged in/not logged in" would be nice.
 
In the Setup instructions you've got written "192.168.1.120" - that should probably just say "yourPMSip" :)

I looked into this your app configuration could have the permissions issue it you look at http://msdn.microsoft.com/en-us/library/ms228995.aspx it says it deploys the app configuration file to documents and settings in the users directory. The configuration file will be called "Plex Notify.exe.config"

Sent from my SM-N900P using Tapatalk

OK... everything is in "C:\Users\Administrator\AppData\Local\Apps\2.0\O1ECYCAE.5KG\39GT44ZC.4HH\plex..tion_74c4c3a5386d1f89_0000.0000_b993716897b50dc8"

No permission issue here... 

I'm sorry, I might misundertand something...

the config file say:

     
       
     
     
       
     
 
So there is no value which makes sense (and also missing values for other settings there) but settings are really there in the app settings...

OK... everything is in "C:\Users\Administrator\AppData\Local\Apps\2.0\O1ECYCAE.5KG\39GT44ZC.4HH\plex..tion_74c4c3a5386d1f89_0000.0000_b993716897b50dc8"
No permission issue here...

I'm sorry, I might misundertand something...

the config file say:








So there is no value which makes sense (and also missing values for other settings there) but settings are really there in the app settings...


It's encrypted I don't store any passwords in plain text.

Sent from my SM-N900P using Tapatalk

It's encrypted I don't store any passwords in plain text.

Sent from my SM-N900P using Tapatalk

ok, good, so.... I'll figure it out if it's only me I guess.

Because from windows 8; no issue at all... 

Issue is only on my Win 2008 R2 server (DC and PMS)

I'll let you know.

ok, good, so.... I'll figure it out if it's only me I guess.
Because from windows 8; no issue at all...

Issue is only on my Win 2008 R2 server (DC and PMS)

I'll let you know.


Yeah I'm confident it's some kind of permissions issue. I will add the windows login to the permissions later tonight.

Sent from my SM-N900P using Tapatalk

Alright, found the configuration file, but there's nothing there that can tell me which users are enabled or not, but it seems to be picking up new users, although slowly. Like it doesn't update the User list in realtime?

Are users enabled by default?

Alright, found the configuration file, but there's nothing there that can tell me which users are enabled or not, but it seems to be picking up new users, although slowly. Like it doesn't update the User list in realtime?


It should update the user list every time you open the configuration screen also the user configuration is in the database

Sent from my SM-N900P using Tapatalk

Alright, thanks. It seem's to be picking up watched items, but not in real time. I've been playing a show now for about 10 minutes locally via Web interface and it's not registering anywhere. It's basicly like it stopped logging anything half an hour ago.

I killed the app and restarted it and now it's not displaying anything playing, but there are 9 users streaming from me atm. Does it have to be running to catch ongoing streams? 

(Btw I´m fully aware of the fact that this is an alpha version, not expecting anything to work to begin with  :) ) 

Alright, thanks. It seem's to be picking up watched items, but not in real time. I've been playing a show now for about 10 minutes locally via Web interface and it's not registering anywhere. It's basicly like it stopped logging anything half an hour ago.

I killed the app and restarted it and now it's not displaying anything playing, but there are 9 users streaming from me atm. Does it have to be running to catch ongoing streams? 

You need to have the application running in the icon tray in order for it to watch your plex servers. There are Tons of permissions issues on Windows server that I am attempting to resolve as we speak. there is also a known issue with parsing out the Show streams. and application signing. I will have a fix for all these in a few hours.

You need to have the application running in the icon tray in order for it to watch your plex servers. There are Tons of permissions issues on Windows server that I am attempting to resolve as we speak. there is also a known issue with parsing out the Show streams. and application signing. I will have a fix for all these in a few hours.

Just to get it right, If I kill PlexNotify and a user starts streaming while I´m re-starting Notify, it does not pick up already ongoing streams?

Also wierd that it worked to begin with, and just stopped without me making changes. But I´ll just wait calmly for an update :)

Ok so I analyzed a few Log files you guys have sent me. Things I have noticed.

The user Node is coming over like 

 

when it should look like 


so if your missing users from your stream this might be why. This will also cause other side effects because there is no user to link to the session. 

So I got the Assembly signing done and and the Login status done

Q2KC66A.png

su2Wjhh.png

Added a refresh button to Users.

izahRdn.png

I also set Plex Notify to ask for administrator privileges. 

I was unable to get growl or prowl to crash, they seem to be working fine. I put a try catch block around the sends.

I found the show parsing Problem. 

It was a datatype issue. Usually the videoResolution attribute will have a number but on some shows the value of the node is "sd" witch is a string so it was causing a parsing error. I am putting the fix in now then I will upload the new build with all the fixes.

Ugh I was just on my way to doing a build when it told me I cant deploy requiring administrator so I have to work something out,

I pushed the release. I did a personal Signing of the Assembly, the public signing is 200 usd...  

ok...

Prowl:

Now it works (and doesn't crash) but in the logs, it generates an error on each notification:

 
 
    Object reference not set to an instance of an object.
      at PlexNotify.GrowlFactory.NotifyProwl(PlayStatus status, String message, Priority growlPriority)
   
   
    Prowl
 
 
MyPlex:
Still same issue with MyPlex login (BTW, since it doesn't connect and everything seems to work, what's the purpose of it?)
 
Here is exactly what happens in logs when only doing a MyPlex connect (and Prowl is sent successfully on the iOS devices mentioning that there is a connection error):
 
    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 calling thread cannot access this object because a different thread owns it.
      at System.Windows.Threading.Dispatcher.VerifyAccess()
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at PlexNotify.SettingsWindow.SetProwlRemaining(Int32 count)
   at PlexNotify.GrowlFactory.NotifyProwl(PlayStatus status, String message, Priority growlPriority)
   
   
    Prowl
 
 
Email notifications (question):
I tried to get this info, but I'm still not sure... How do I get to get email notifications? because each user has an email field... I'm just a little confused... :huh:
 
Very nice application besides the access denied on win server issues. Does exactly what is missing from PMS.
***I honestly think a web interface will be the next milestone with this app... :ph34r:
 
Thanks for your work BTW, excellent job!

ok...

Prowl:

Now it works (and doesn't crash) but in the logs, it generates an error on each notification:

 
 
    Object reference not set to an instance of an object.
      at PlexNotify.GrowlFactory.NotifyProwl(PlayStatus status, String message, Priority growlPriority)
   
   
    Prowl
 
 
MyPlex:
Still same issue with MyPlex login (BTW, since it doesn't connect and everything seems to work, what's the purpose of it?)
 
Here is exactly what happens in logs when only doing a MyPlex connect (and Prowl is sent successfully on the iOS devices mentioning that there is a connection error):
 
    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 calling thread cannot access this object because a different thread owns it.
      at System.Windows.Threading.Dispatcher.VerifyAccess()
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at PlexNotify.SettingsWindow.SetProwlRemaining(Int32 count)
   at PlexNotify.GrowlFactory.NotifyProwl(PlayStatus status, String message, Priority growlPriority)
   
   
    Prowl
 
 
Email notifications (question):
I tried to get this info, but I'm still not sure... How do I get to get email notifications? because each user has an email field... I'm just a little confused... :huh:
 
Very nice application besides the access denied on win server issues. Does exactly what is missing from PMS.
***I honestly think a web interface will be the next milestone with this app... :ph34r:
 
Thanks for your work BTW, excellent job!

If you are not running Plex Notify on the Machine That PMS is on you need the Login information to verify you have access to that Plex Media Server (in theroy). If you dont have the login information filled out, Plex Notify will still try and get the Now Playing data. If this comes to not be true I will rip it out, I put it in purely on the assumption of what I read from documentation. I do know you need to be logged in as a Plex Pass user on any plex media server you are trying to get information from. 

Emails are there as a future enhancement. I was just future proofing the database.

I put a fix in for this exception thanks for the feedback! https://plexnotify.codeplex.com/SourceControl/changeset/30532