Jump to content

Plugin: WatchingEye - Manage viewers


Recommended Posts

Posted

That fixed the problem, thank you very much!

  • Thanks 1
Posted
17 hours ago, Flippz said:

Would it be possible to add a function that adds a Notification or meaasge to the Emby front page?

I sadly don't think that's possible.

The way i do it my self is i make a movies library and then put a custom image with a message on it for people to read.

  • Thanks 1
Posted

New quick version (v1.1.6)

Added "time-out" feature.
This will give selected user a time-out for X number of minutes. Think a long the lines of dinner time for children.

Download here or on the WatchingEye - Github

WatchingEye.dll

  • Like 1
Posted

New version (1.1.9.0)

Just finished something i have been working on for a while.

I've added an API system so the time limits can be controlled remotely through external programs or such.
The readme is located in the settings for the plugin.

!!! I will not make any programs or anything for this, that is up to someone else to do, at least it's a possibility now. !!!

Please consider it beta as i have only tested it with scripts and programs like Postman but it should work 100%.

WatchingEye.dll

feerlessleadr
Posted
1 hour ago, yocker said:

New version (1.1.9.0)

Just finished something i have been working on for a while.

I've added an API system so the time limits can be controlled remotely through external programs or such.
The readme is located in the settings for the plugin.

!!! I will not make any programs or anything for this, that is up to someone else to do, at least it's a possibility now. !!!

Please consider it beta as i have only tested it with scripts and programs like Postman but it should work 100%.

WatchingEye.dll 355 kB · 0 downloads

Thanks for the API. Do you have any examples that you could share that folks could use as a starting point?

Posted
4 minutes ago, feerlessleadr said:

Thanks for the API. Do you have any examples that you could share that folks could use as a starting point?

For now the info is in the readme on the settings page in the plugin.

But i have this script for postman i used for testing.

WatchingEye.postman_collection.json

Posted (edited)
30 minutes ago, feerlessleadr said:

Thanks for the API. Do you have any examples that you could share that folks could use as a starting point?

You can also try this version i used to develop it.

It has a built in webserver so you can just enter a website to control it outside Emby.
For example "http://EmbyServerIP:9988"

In Windows you will need to open command prompt as admin and write: netsh http add urlacl url=http://*:9988/ user="Everyone"
Then in the plugin activate the webserver and then reset Emby.

You will get a webpage like this:

image.png.8c1bce1b92db91002ba1773f20d6db79.png

This should work better for mobiles that going into Emby it self.

I didn't add it because it was for testing and it has that requirement in Windows for it to work, but it's an easy way to use the API system.
The version number is higher because i changed some stuff before uploading it here.

WatchingEye.dll

Edited by yocker
Posted

New version (1.2.7.0)

Added:

1) Ability to stop transcoding of specific formats like for example mkv, av1 and so on.
2) List of libraries to be excluded from notifications and transcode blocks.

Download here or on WatchingEye Github

WatchingEye.dll

Posted

@yockerAny chance for blocking 4K resolution transcoding under Transcode Blocking, with custom message ?

 

Posted
3 hours ago, kikinjo said:

@yockerAny chance for blocking 4K resolution transcoding under Transcode Blocking, with custom message ?

 

Funny you should ask, i have just put the finishing touch on precisely that.

It hasn't been fully tested yet so please consider it beta for now, the testing i have done shows it working 100& though.
If you find a problem or suggestion for a change then please report it to me so i can fix it.

WatchingEye.dll

  • Like 1
Posted

The notifications is god send for me. 🙂

But, is there a way to make the show a litt bit longer. I'm a litte bit slow reader

  • Like 1
Posted (edited)
8 minutes ago, PeteGul said:

The notifications is god send for me. 🙂

But, is there a way to make the show a litt bit longer. I'm a litte bit slow reader

There's no way to get them to show any longer.
Instead there's a setting to show them multiple times.

Edited by yocker
Posted

For resolution blocking we need custom message before stream is killed. Currently there is no option to set message, but i know yocker will deliver :)

Posted (edited)
8 minutes ago, kikinjo said:

For resolution blocking we need custom message before stream is killed. Currently there is no option to set message, but i know yocker will deliver :)

Yep, working on it. :) 
Completely block resolution transcoding with a message or message and THEN stop video?

Edited by yocker
  • Like 1
Posted

Then I don't understand how.

1st It's how many max to send totally

2nd Delay between the messages, but they only show one time. I don't think people can change a movie within 4 seconds?

3rd Between different messages.

As far as I understand, there isn't a choice to show one message twice.

 

Sorry if I don't understand.

Screenshot_20250923_200138_Chrome.jpg

Posted

First message ( user clicks ok on message) , then stream is killed.

Posted
2 hours ago, PeteGul said:

Then I don't understand how.

1st It's how many max to send totally

2nd Delay between the messages, but they only show one time. I don't think people can change a movie within 4 seconds?

3rd Between different messages.

As far as I understand, there isn't a choice to show one message twice.

 

Sorry if I don't understand.

Screenshot_20250923_200138_Chrome.jpg

I should change the wording on those settings, they can indeed be a little confusing.

Max number of notifications is how many times it should send the message.
Initial delay is how long it should take before the first message.
Delay is how long of a delay between the messages.
 

Posted
2 hours ago, kikinjo said:

First message ( user clicks ok on message) , then stream is killed.

That might be hard to do as i don't think the confirmation button can trigger anything.

Posted
2 hours ago, yocker said:

I should change the wording on those settings, they can indeed be a little confusing.

Max number of notifications is how many times it should send the message.
Initial delay is how long it should take before the first message.
Delay is how long of a delay between the messages.
 

I added a confirmation button and a custom message option.
Sadly i can't make it so that the video gets stopped when pressing ok because of how the messaging works.

Btw. please note that these messages might not work for all clients (I don't have one to test with but Roku might be a problem) but they should for the vast majority.

I also quickly made a small performance improvement, the timers now tick every 15 seconds and only checks relevant streams.
As it was before a busy server with many users could have the plugin take a bit more resources than was necessary.

As before this is still a small beta as it's fresh out the oven so please report any problems. :)

Next on todo, clean up the settings page.. It's a bit of a mess.

WatchingEye.dll

  • Like 1
Posted

@yocker

I have tested last version for 4K trascode killing / warning. We have chicken / egg situation here :).

I force it to trancode on 4K and then i get the fist warning about trancoding (the genral one)...it does not get to 4K killing at all. So if have to guess, check should be first check for 4k transcoding than show message and kill it. 4K actions should have priority over others, at least i see it like that. 

  

  • Like 1
Posted
1 hour ago, kikinjo said:

@yocker

I have tested last version for 4K trascode killing / warning. We have chicken / egg situation here :).

I force it to trancode on 4K and then i get the fist warning about trancoding (the genral one)...it does not get to 4K killing at all. So if have to guess, check should be first check for 4k transcoding than show message and kill it. 4K actions should have priority over others, at least i see it like that. 

  

Yeah, i've been a fool and didn't think of that, i noticed it my self last night when doing more testing. :)
It should hopefully be fixed in this version.

Also made the transcoding reason messages a bit more robust so they actually warn about the right thing.

Many thanks for reporting it!! 👍

Please report if you find any other things wrong so it can be fixed.

WatchingEye.dll

  • Like 1
Posted (edited)

Resolution blocking and message test, all working fine :)

Thank you very much for this @yockerthis 4k transcode blocking feature is missing from emby for years, i m pretty sure a lot of users will use this.

Cheers man ! Shoot me some address so i can send some money for few beers.

Edited by kikinjo
  • Like 1
Posted
21 minutes ago, kikinjo said:

Resolution blocking and message test, all working fine :)

Thank you very much for this @yockerthis 4k transcode blocking feature is missing from emby for years, i m pretty sure a lot of users will use this.

Cheers man ! Shoot me some address so i can send some money for few beers.

Many thanks, appreciate the kind words and happy i could help.
A thanks to you as well for testing and reporting!

I have a buy me a coffee here https://buymeacoffee.com/yockser
But you absolutely don't have to, i'm happy as long as i can make something people like to use. :) 

  • Like 1
  • Agree 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...