@saitoh183 wow that’s an oversight on my part, I’m changing it all up so there’s greater integration between the webui and the binary. Sync-Video/Audio refers to the quality level of the Sync on Plex’s end (>=99 is Highest or whatever they call it now), so it’s a way (ugly way) to stop video transcoding for syncs. Audio is for music not for the audio portion of videos.
@random.server said:
@saitoh183 wow that’s an oversight on my part, I’m changing it all up so there’s greater integration between the webui and the binary. Sync-Video/Audio refers to the quality level of the Sync on Plex’s end (>=99 is Highest or whatever they call it now), so it’s a way (ugly way) to stop video transcoding for syncs. Audio is for music not for the audio portion of videos.
Could that be why it wiped all sync content because everyone was set to 0 at the start? Now im affraid to turn it back on because i dont want to wipe the syncs again.
@saitoh183 oops SYnc - Video\Audio is for number of sync items, I was referring to Min - Video\Audio before. In your SQL console type
use PlexSentry
update users
set syncLimitVideo = 100, syncLimitAudio = 100
and then execute, if you need higher numbers user higher numbers. Or use the webUI without the binary being loaded and you can do the same thing there but one by one
@random.server said:
@saitoh183 oops SYnc - Video\Audio is for number of sync items, I was referring to Min - Video\Audio before. In your SQL console typeuse PlexSentry
update users
set syncLimitVideo = 100, syncLimitAudio = 100and then execute, if you need higher numbers user higher numbers. Or use the webUI without the binary being loaded and you can do the same thing there but one by one
thanks
how do we killi sessions manually…like i have a user that has been on pause since yesterday, so i wanted to kill his session… is this possible?
@saitoh183 there’s nothing you can do really outside of removing the library and hoping their client has error checking. It’s not an instance of the client sending a pause message and no follow up, but the client sending out a pause message every so often. What I have noticed is that it doesn’t matter to your server resources outside the slight level of spamming from the client.
@random.server said:
@saitoh183 there’s nothing you can do really outside of removing the library and hoping their client has error checking. It’s not an instance of the client sending a pause message and no follow up, but the client sending out a pause message every so often. What I have noticed is that it doesn’t matter to your server resources outside the slight level of spamming from the client.
Ok, thanks for the input. So Sentry is about just managing transcoding of synced content?
@saitoh183 it’s about transcoding of streams and syncs, and applying limits to syncs and concurrent streams and usage tracking. If there was more it could do from the api, it would do it, it’s only limited by the options that are made available by the plex devs.
@random.server said:
@saitoh183 it’s about transcoding of streams and syncs, and applying limits to syncs and concurrent streams and usage tracking. If there was more it could do from the api, it would do it, it’s only limited by the options that are made available by the plex devs.
I wish it was able to cut off streams that were not transcodes, but direct play. Oh well. I wanted to use it to control the users that are sharing accounts. I guess Ill just keep and eye on it through PlexPy. Currently when I see it, I disable their account (unshare my shares) for 24hrs.
@foebik said:
@random.server said:
@saitoh183 it’s about transcoding of streams and syncs, and applying limits to syncs and concurrent streams and usage tracking. If there was more it could do from the api, it would do it, it’s only limited by the options that are made available by the plex devs.I wish it was able to cut off streams that were not transcodes, but direct play. Oh well. I wanted to use it to control the users that are sharing accounts. I guess Ill just keep and eye on it through PlexPy. Currently when I see it, I disable their account (unshare my shares) for 24hrs.
Harsh:)
@foebik the version I’m currently using removes the shares from those that go above a stream limit
@random.server said:
@foebik the version I’m currently using removes the shares from those that go above a stream limit
To clarify for my understanding, this only looks at transcode streams correct? If I’m wrong that is wonderful news. But as I understand it now, it doesn’t taken into account Direct Play.
I want it to look for users that are streaming (transcode or direct play) from multiply IPs at the same time (concurrently). And have it kill those streams. Disabling the account is another option I’m open to as well.
PS Is there a variable to set how long you want to disable the shares? And after that time period is up, does it re-enable the same ones or all of them (I have some shares like 3D movies that I don’t share to anyone)?
@foebik the version I’m using is a beta, still needs some tweaks. But to clear things up, PlexSentry looks at and logs all streams -:
- if a stream is transcoding, and a user doesn’t have permissions to stream, it kills it and emails the user and admin
- if a user has more concurrent streams (direct play\stream, transcoding), it emails the user and the admin with the details of the streams
Because plex doesn’t have a way to kill direct play\streams I’ve been experimenting with different methods, one being removal of libraries. I never released it earlier because the old iOS app was very “sensitive” and prone to starting playback if you looked at it too hard while browsing a library. Now I’m tweaking the timing issues of “punishment”, because now I see that with all of my users, the only time they go above their limit is when they want to cast, but start locally, stop, then start casting, but plex lags a bit on what’s happening. The good news for me is that PlexSentry has shaped all of my users into compliance because they know “something” is watching their every move, but the bad news is that it makes them awful for testing transgressions.
Interesting, for me I would try streaming locally and then off 4G from the same account to simulate the sharing of an account. Because I dont care if a user has multiple streams from the same IP (home). Or even a new IP (Friends house) just so long the 2 different IPs dont try to stream at the same time (Sharing).
@random.server
just a quick question, does your app control the server through API commands only?
Edit: Found my answer, yes it does, thanks.
On another note this badly needs documentation, your instructions on how to install is terrible mate!
So figure it out to a point. then found @charlas ’ guide which was also helpful to a point…
Chrome console spits out “https://localhost/PLEXSENTRY/database.plex.aspx 500 (Internal Server Error)” which points to an issue with my connection string withing the web.config file right?
well whats the fix for that?
- tried permissions (username and password)
- tried different ways of doing the string but no joy,
Using Windows Server 2008 R2 /SQL 2008 R2
PlexSentry.exe works, and it also populates the Database, only problem is the website only shows the menus and no data.
Deleted…
I notice that the email alerts send out 7 emails for each alert., is this something that can be tweaked?
@mr3rown 7 emails? It sends out 1 to admin and another to user (if error alert), start and stop alerts can be modified from the users section
Did you add a SQL connection string for IIS?
@mr3rown Let me know what’s missing/wrong from my guide and I’ll fix it, but all working from my end… although I’ll admit, I could have forgotten a step 
@charlas that’s funny, I just replied to you over in the DFS thread