Plex Notify

Okay I will look into it this weekend.

Sent from my SM-N900P using Tapatalk

Thanks again for your work maintaining MySQL 

I have a question/request…


If I pause a movie I also get the notification when the movie resumes play from pause…


Honestly, I don’t care who is pausing and playing, but I did turn on resume notifications for resuming a movie from full stop.


I know that the idea here is to be as comprehensive as possible, but could there be a checkbox for “Pause resumes movie” and “Play from Stop Resumes movie”.


That way, you can check them both and get both types of notifications, or uncheck one to get selective notifications.


Sent from my Nexus 7 using Tapatalk

I have a question/request...

If I pause a movie I also get the notification when the movie resumes play from pause..

Honestly, I don't care who is pausing and playing, but I did turn on resume notifications for resuming a movie from full stop.

I know that the idea here is to be as comprehensive as possible, but could there be a checkbox for "Pause resumes movie" and "Play from Stop Resumes movie".

That way, you can check them both and get both types of notifications, or uncheck one to get selective notifications.

Sent from my Nexus 7 using Tapatalk


Yeah I will do that this weekend.

Sent from my SM-N900P using Tapatalk

The Statisics page is taking upwards of 15 seconds to load. The app will crash if I try to exit the page before it loads up.

PlexNotify.log.zip (13.2 KB)

The Statisics page is taking upwards of 15 seconds to load. The app will crash if I try to exit the page before it loads up.
attachicon.gifPlexNotify.log.zip


Okay I will look into it this weekend. Thanks for the info!

Sent from my SM-N900P using Tapatalk
Alpha v0.0.0.35
 - Notify Resumed has been broken out to Notify Pause Resume and Notify Stop Resume.
- All Previous Pauses have been set to Resumed_FromPause. 
(You can clear your database/Re-import your plexwatch database if you want the pause states to be accurate)
 - Added the ability to edit Progress title notification text in settings.
 - Changed the default stats screen update interval to 30 seconds so it does not seem like the screen is forever refreshing.
 - Fixed Video posters not showing up on all controls.
 - You can now click on desktop notification to view the details about the Video.
 - More crash Fixes in Statistics
 - Episodes will now appear in the correct order By Season => Episode
 - All pages on statistics screen properly refresh
 - Sometimes Plex Notify will "Hang" on a refresh interval. If it "Hangs" for more than 2 intervals, 
the refresh is canceled so the next refresh can happen.

A lot of those now:

 
    Requested value 'Resumed' was not found.
      at System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument)
   at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
   at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
   at PlexNotify.DatabaseHelper.GetStates(String transcodeID, DatabaseInterface dbi)
   at PlexNotify.DatabaseHelper.GetVideoSession(String transcodeID, DatabaseInterface dbi)
   at PlexNotify.DatabaseHelper.GetTranscodeSessions(DateTime startTime, DateTime endTime)
    Requested value 'Resumed' was not found.
      at System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument)
   at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
   at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
   at PlexNotify.DatabaseHelper.GetStates(String transcodeID, DatabaseInterface dbi)
   at PlexNotify.DatabaseHelper.GetVideoSession(String transcodeID, DatabaseInterface dbi)
   at PlexNotify.DatabaseHelper.GetTranscodeSessions(DateTime startTime, DateTime endTime)
   
   
 
 
    Requested value 'Resumed' was not found.
      at System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument)
   at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
   at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
   at PlexNotify.DatabaseHelper.GetStates(String transcodeID, DatabaseInterface dbi)
   at PlexNotify.DatabaseHelper.GetVideoSession(String transcodeID, DatabaseInterface dbi)
   at PlexNotify.DatabaseHelper.GetTranscodeSessions(DateTime startTime, DateTime endTime)
    Requested value 'Resumed' was not found.
      at System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument)
   at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
   at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
   at PlexNotify.DatabaseHelper.GetStates(String transcodeID, DatabaseInterface dbi)
   at PlexNotify.DatabaseHelper.GetVideoSession(String transcodeID, DatabaseInterface dbi)
   at PlexNotify.DatabaseHelper.GetTranscodeSessions(DateTime startTime, DateTime endTime)
   
   
Alpha v0.0.0.36
 - Fixed a bunch of crashes.
 - HUGE bug fix for PlexWatch Database Import.

I am running Alpha v0.0.0.36 and Plex Notify is not displaying notifications and crashes when I attempt to enter the Statistics page. Logs below and a screenshot of refresh being paused.

PlexNotify.log.zip (13.2 KB)

![post-73398-0-20644100-1392482094.png|220x40](upload://ns0L3CjN9rYWtHIHVbouGbrULKS.png)

I am running Alpha v0.0.0.36 and Plex Notify is not displaying notifications and crashes when I attempt to enter the Statistics page. Logs below and a screenshot of refresh being paused.

attachicon.gifPlexNotify.log.zip

attachicon.gifplex notify.PNG

delete your log file and re-launch plex notify

delete your log file and re-launch plex notify

How do you to delete the log file?

How do you to delete the log file?

In File explorer. Just go to C:\ProgramData\Plex Notify\Logs select PlexNotify.log.xml and press Delete

In File explorer. Just go to C:\ProgramData\Plex Notify\Logs select PlexNotify.log.xml and press Delete

I deleted the logs and the app still crashes while in the Statistics page.

I deleted the logs and the app still crashes while in the Statistics page.

can you send me the log?

Just thought I would ask if you are still planning to add the Finish time to the statistic section as discussed in the earlier thread?

The project really seems to be coming together

:D

Just thought I would ask if you are still planning to add the Finish time to the statistic section as discussed in the earlier thread?

The project really seems to be coming together

:D


Oh yeah I forgot I'll do it now so it's in the next release

Sent from my SM-N900P using Tapatalk

Oh yeah I forgot I'll do it now so it's in the next release

Sent from my SM-N900P using Tapatalk

Excellent, much appreciated

A lot of those now:

 
    Requested value 'Resumed' was not found.
      at System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument)
   at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
   at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
   at PlexNotify.DatabaseHelper.GetStates(String transcodeID, DatabaseInterface dbi)
   at PlexNotify.DatabaseHelper.GetVideoSession(String transcodeID, DatabaseInterface dbi)
   at PlexNotify.DatabaseHelper.GetTranscodeSessions(DateTime startTime, DateTime endTime)
    Requested value 'Resumed' was not found.
      at System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument)
   at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
   at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
   at PlexNotify.DatabaseHelper.GetStates(String transcodeID, DatabaseInterface dbi)
   at PlexNotify.DatabaseHelper.GetVideoSession(String transcodeID, DatabaseInterface dbi)
   at PlexNotify.DatabaseHelper.GetTranscodeSessions(DateTime startTime, DateTime endTime)
   
   
 
 
    Requested value 'Resumed' was not found.
      at System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument)
   at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
   at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
   at PlexNotify.DatabaseHelper.GetStates(String transcodeID, DatabaseInterface dbi)
   at PlexNotify.DatabaseHelper.GetVideoSession(String transcodeID, DatabaseInterface dbi)
   at PlexNotify.DatabaseHelper.GetTranscodeSessions(DateTime startTime, DateTime endTime)
    Requested value 'Resumed' was not found.
      at System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument)
   at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
   at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
   at PlexNotify.DatabaseHelper.GetStates(String transcodeID, DatabaseInterface dbi)
   at PlexNotify.DatabaseHelper.GetVideoSession(String transcodeID, DatabaseInterface dbi)
   at PlexNotify.DatabaseHelper.GetTranscodeSessions(DateTime startTime, DateTime endTime)
   
   

Additionally to this, I also has those:

 
    Data too long for column 'state' at row 3
      at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
   at PlexNotify.Databases.MySqlDB.RunQuery(String sql, Dictionary`2 sqlParameters)
    Data too long for column 'state' at row 3
      at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
   at PlexNotify.Databases.MySqlDB.RunQuery(String sql, Dictionary`2 sqlParameters)
   
   
 

Additionally to this, I also has those:

 
    Data too long for column 'state' at row 3
      at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
   at PlexNotify.Databases.MySqlDB.RunQuery(String sql, Dictionary`2 sqlParameters)
    Data too long for column 'state' at row 3
      at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
   at PlexNotify.Databases.MySqlDB.RunQuery(String sql, Dictionary`2 sqlParameters)
   
   
 

Humm your SQL is not executing when the program starts.

Here:

ALTER TABLE transcodestate MODIFY COLUMN state nvarchar(20)

ALTER TABLE transcodesession MODIFY COLUMN state nvarchar(20)

Additionally to this, I also has those:

 
    Data too long for column 'state' at row 3
      at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
   at PlexNotify.Databases.MySqlDB.RunQuery(String sql, Dictionary`2 sqlParameters)
    Data too long for column 'state' at row 3
      at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
   at PlexNotify.Databases.MySqlDB.RunQuery(String sql, Dictionary`2 sqlParameters)
   
   
 

and

UPDATE transcodestate SET state = 'Resumed_FromPause' WHERE state = 'Resumed'";