@random.server said: @smckay79 pushed through an update addressing your issue (now monitors shared channels) and updated the orphan job watcher for sync and optimizer jobs.
Can you explain to me how the transcoding settings work in the backend? the Min Video and Min Audio? I would like to allow people to transcode from a 1.5mb stream and up.
If i want my users to be able to transcode, however only be allowed 1 stream, what settings should I setup for?
Also, can you add a mass update button for hosts with multiple users? Maybe at the top of the column?
also, sidenote, does anyone know how to remove a user’s synced content? I have some users that when i started the script it sent out the notices. Would like to remove the content for them!
@Deano316 yeah not a problem. Unlike PlexPY which uses the logs, PlexSentry uses the web api. So technically it doesn’t even need to be on the same computer, just network accessible.
Quick question. Will this app help me kill users that are sharing? I don’t mind multiple streams from the same IP, but when I get multiple streams from the same user but coming from different IP’s, then I want to disconnect them.
I keep getting this error…thinking its something simple
Program has started, loading configuration
Database Updates
Unhandled Exception: System.ArgumentException: Invalid value for key ‘attachdbfilename’.
at System.Data.SqlClient.SqlConnectionString.VerifyLocalHostAndFixup(String& host, Boolean enforceLocalHost, Boolean fixup)
at System.Data.SqlClient.SqlConnectionString…ctor(String connectionString)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, Db
ConnectionOptions previous)
at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, D
bConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions)
at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key)
at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value)
at PlexSentry.ServerVariables.DB_Update()
at PlexSentry.Monitor.Main(String[] args)
Page shows the basic layout but the rest is blank - database.plex.aspx is showing in red when checking console so that is my next guess
I’ve managed to get the right DB file seen but now its giving me this error:
Program has started, loading configuration
Database Updates
Retrieving authorization token from plex.tv
Retrieving server info from local server
Updating database with local server info
Updating shared users list from plex.tv to database
Updating shared users list from plex.tv to database
2016-01-06 18:03:17- Starting timer to check status at a interval of 5 seconds
Accessing user list from database
Checking for currently connected clients
Connected clients-: 0
Checking for currently playing sessions
Current sessions-: 1
Transcode Sessions -:s7qo7ciy5yqoajor
Checking for previous sessions
Previous Sessions -: 0
Error when checking user sessions
2016-01-06 18:03:23- Checking current syncs
Error when checking sync sessions
Checking for orphaned transcode sessions
Current sessions (sync and play) -: 1
s7qo7ciy5yqoajor
Querying current sync jobs -:
Sync jobs in queue -: 0
Querying active sessions in database -:
s7qo7ciy5yqoajor
2016-01-06 18:03:29- Starting timer to check status at a interval of 5 seconds
Edit: Seems I cant get the right connection string to get the info to show up in the webpage.
I would like to see this available for Linux without having to run a VM to get it working. And I know I can set up on a remote Windows machine, but the NAS I have Plex on has all of the stuff Plex related. I would like to have this installed on that same device, so I don’t have to have a laptop or desktop dedicated to this one app always on.
Seems rather foolish to have more than a single device to support the functionality for Plex that should be in the main app itself, IMO.
@random.server quick one for you. Say all I want is transcoded sessions, how can I kill everything except 3mbps transcoded sessions?
Also, is there a way to remove all shared sections for offenders except say 1 shared section. My plan is to have a message in there about having multiple streams running or sharing of account info.
@tedeling , give me a couple of days and I’ll take care of that. @smckay79 there’s not enough info from the web api to see the transcode bit rate, so I can’t do anything about it. I’ve look at removing libraries on the fly and have some code ready, I’ll take another look this weekend.
Another question, the log file… does it automatically clean itself up ergo, does is reduce itself in size? or is this someting that has to be done manually. Since it’s size is 16MB in 1 day