What fix was that for? Is it so we can use mysql instead of mssqlce?
Yeah I currently have 3 supported databases. I added Mysql support. This way you can have plex notify running on multiple computers using the same database. This configuration can be done with MySql or MsSql
Yeah I currently have 3 supported databases. I added Mysql support. This way you can have plex notify running on multiple computers using the same database. This configuration can be done with MySql or MsSql
Sent from my SM-N900P using Tapatalk
Ok. It works with mysql server even with me setting it to use mssqlce in Plex Notify, but I assume thats not optimal?
Updated and swtiched to mysql. Deleted DB and recreated but still doesnt seem to work. Oh well, ima get some sleep too.
Ok. It works with mysql server even with me setting it to use mssqlce in Plex Notify, but I assume thats not optimal?
It's fine if you don't get a lot of traffic to your server. Also it limits you to a single install of plex notify. If you have a central database you can have 1 computer monitor the server and you can have other only for remote viewing of statistics and desktop notifications. The functionality will be expanded as alpha evolves to full server administration and more the list of planned features on codeplex.
I suggest you use a central database if you can. The msSqlCE is limited to 4 gb and was not made for high traffic servers. Also having plex notify installed on multiple computers is awesome :)
I looked in the upcoming feature section in codeplex but didn't see a plan to implement TV shows (or all other media types for that matter) as a seperate entity in statistics. That could be nice :)
I looked in the upcoming feature section in codeplex but didn't see a plan to implement TV shows (or all other media types for that matter) as a seperate entity in statistics. That could be nice :)
0.0.0.12
YES!!!! MySQL works fine now!!! :D :D :D Excellent job!
I didn't recreate the database.
Tested some notifications, etc.. All good so far.
I'll do more tests today.
***BTW, I really tried and never was able to fix the MyPlex connection issue still on Windows 2008 R2 server:
PlexNotifyLog>
Application started.
Table 'servaraliases' already exists 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)
Specified cast is not valid. at PlexNotify.DatabaseHelper.RegisterClientWithDatabase()
at PlexNotify.MainWindow..ctor()
Table 'plexnotify.user' doesn't exist 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.ExecuteReader()
at PlexNotify.Databases.MySqlDB.RunReturnQuery(String sql, Dictionary`2 sqlParameters)
Table 'plexnotify.user' doesn't exist 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.ExecuteReader()
at PlexNotify.Databases.MySqlDB.RunReturnQuery(String sql, Dictionary`2 sqlParameters)
Table 'plexnotify.user' doesn't exist 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.ExecuteReader()
at PlexNotify.Databases.MySqlDB.RunReturnQuery(String sql, Dictionary`2 sqlParameters)
Table 'plexnotify.user' doesn't exist 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.ExecuteReader()
at PlexNotify.Databases.MySqlDB.RunReturnQuery(String sql, Dictionary`2 sqlParameters)
Table 'plexnotify.user' doesn't exist 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.ExecuteReader()
at PlexNotify.Databases.MySqlDB.RunReturnQuery(String sql, Dictionary`2 sqlParameters)
Table 'plexnotify.user' doesn't exist 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.ExecuteReader()
at PlexNotify.Databases.MySqlDB.RunReturnQuery(String sql, Dictionary`2 sqlParameters)
Table 'plexnotify.user' doesn't exist 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.ExecuteReader()
at PlexNotify.Databases.MySqlDB.RunReturnQuery(String sql, Dictionary`2 sqlParameters)
Table 'plexnotify.user' doesn't exist 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.ExecuteReader()
at PlexNotify.Databases.MySqlDB.RunReturnQuery(String sql, Dictionary`2 sqlParameters)
Table 'plexnotify.user' doesn't exist 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.ExecuteReader()
at PlexNotify.Databases.MySqlDB.RunReturnQuery(String sql, Dictionary`2 sqlParameters)
Thanks for you hard work man!
It sounds like you are on a old version of plex notify on your server. What version of plex notify is the server running?
I'm not sure what's possible for you but I would add some of the settings in the SQL database to centralized them also:
-Users (with their friendly name, email, toggles, etc...)
-PMS server IP/name
-MyPlex credentials
In my mind, when having multiple Plex Notify on the same SQL database, user shouldn't be able to configure PushOver, Prowl, etc... separately, this should be exclusive to primary one (secondary ones should have those disabled automatically
Just think it could get confusing not giving exclusivity to those features only to main one.
But, I'll wait for your fix first to actually really test this because now I'm talking theory until I actually test this concept.
***This is really coming together man, you are the man!
I really gave a good testing to PlexWatch (and Plexwatch Web) and it works but IMO, there are too many custom configuration with config in file, scheduled task settings, WebServer, etc... Just seems alpha too much for me. (just my personal opinion BTW)
You really understood the Plex community need in this area when starting this project; I really think this project will go very far with future web interface, plugins, etc...
I'm not sure what's possible for you but I would add some of the settings in the SQL database to centralized them also:
-Users (with their friendly name, email, toggles, etc...)
-PMS server IP/name
-MyPlex credentials
In my mind, when having multiple Plex Notify on the same SQL database, user shouldn't be able to configure PushOver, Prowl, etc... separately, this should be exclusive to primary one (secondary ones should have those disabled automatically
Just think it could get confusing not giving exclusivity to those features only to main one.
But, I'll wait for your fix first to actually really test this because now I'm talking theory until I actually test this concept.
***This is really coming together man, you are the man!
I really gave a good testing to PlexWatch (and Plexwatch Web) and it works but IMO, there are too many custom configuration with config in file, scheduled task settings, WebServer, etc... Just seems alpha too much for me. (just my personal opinion BTW)
You really understood the Plex community need in this area when starting this project; I really think this project will go very far with future web interface, plugins, etc...
These are already stored in the central database. if this is not working you have 2 databases.
-Users (with their friendly name, email, toggles, etc...)
-PMS server IP/name
I have considered this but I have not put the logic in for it
In my mind, when having multiple Plex Notify on the same SQL database, user shouldn't be able to configure PushOver, Prowl, etc... separately, this should be exclusive to primary one (secondary ones should have those disabled automatically
Just think it could get confusing not giving exclusivity to those features only to main one.
The Web plugins are coming this weekend with full doc. Just as an idea of what im going to do it there will be an Index page like http(s):\\*ip:*port*\
In the index will have a list of all the plugins and their url's will be custom to what the plugin name is and then the page name (or alias). so, something like *root url*\pluginname\mypluginIndex
the plugin interface for this will have a lot to offer and will have access to all the functionality of the desktop application.