Jump to content

New Plugin - Devices Database Cleaner


chef

Recommended Posts

I dragged the button up out of the footer in the console.

 

5e0ac4a7cb343_test.jpg

Ah Okay, thanks for letting me know. I've accidentally set the footer outside the dialog container.

 

I will fix this.

  • Like 1
Link to comment
Share on other sites

symphonichorizon

1) A fellow Canadian made this but even better one fairly close to me ( Lindsay )

2) THANK YOU!!! this has been a pet peeve of mine for so long and I've not been so happy to see a plugin since.....well who knows but again THANK YOU.

  • Like 2
Link to comment
Share on other sites

chef

1) A fellow Canadian made this but even better one fairly close to me ( Lindsay )

2) THANK YOU!!! this has been a pet peeve of mine for so long and I've not been so happy to see a plugin since.....well who knows but again THANK YOU.

Lindsay! Awesome!

Link to comment
Share on other sites

  • 3 months later...
Mobius

Hey  @@chef

 

Just came across this.

Had some 500 odd devices listed. Made it very hard to quickly check the state of things. Your plugin Worked Flawlessly for me. No browser lag either (Do have an SSD installed so maybe why).

In anycase; Thank you very much!

 

Sent you a few bills towards a coffee/beverage etc :)

Cheers and all the best, especially to you and your family given all that's going on in the world.

 



 

Edited by Mobius
  • Like 1
Link to comment
Share on other sites

Sammy

@@chef

 

First off, let me say I hope this finds you well and that soon your kitchen can safely open again.

 

Of course with a bit more free time right I've finally been able to test this out. The device names for some devices are so long I cannot tell who the user is as shown in this screen grab. I think I have a user that is sharing passwords and I want to shut down the devices that are connected to this user but I cannot see who it is.

 

5e9ef185bdbf9_Devices.png

Link to comment
Share on other sites

igeoorge
Hi guys,

 

I notice that when "cleaning" the plugin disconnects some active users.

 

Is there anything I can do?

Link to comment
Share on other sites

chef

 

Hi guys,

 

I notice that when "cleaning" the plugin disconnects some active users.

 

Is there anything I can do?

Hmmm. It is supposed to ignore active sessions. I will take a look.

 

Do the devices happen to be browser windows?

Link to comment
Share on other sites

igeoorge
Hi @@chef

 

Yes, they are in the browser.

 

Sorry for my lack of education, I forgot to thank you for the great plugin, thank you very much.

Link to comment
Share on other sites

chef

 

Hi @@chef

 

Yes, they are in the browser.

 

Sorry for my lack of education, I forgot to thank you for the great plugin, thank you very much.

You're too kind sir,

 

I'll look at the code again and see if it is possible that something had changed or needs updating. I haven't see this issue before. I was able to code conditions into the plugin that made sure the session wasn't in use before it removed the device. However, like I say, there has been some core updates which might be braking something.

 

I'll check it out. It's on my radar.

Link to comment
Share on other sites

  • 2 months later...
pXius

Awesome plugin! Thanx.

 

Over the years my list has accumulated to close to 300. Installed the plugin, didn't change anything and I'm down to 75 which is about right.

What is the behavior when the flag is set to 0?

Link to comment
Share on other sites

  • 1 month later...
CBers

@chef Any updates in this Plugin recently, as I think the DLL is dated from December 2019? 

Would be nice to be able to delete a session for a device or a device totally. 

Thanks. 

Edited by CBers
Link to comment
Share on other sites

  • 11 months later...
Happy2Play
1 minute ago, igeoorge said:

friends,

Is the plugin disabled?
Is it still possible to use?

@Happy2Play

@chef

What do you mean?  The plugin still works for me for what it does.

installed on 4.7.

Link to comment
Share on other sites

igeoorge

What good news.
I moved the plugin to the plugins folder and restarted the server. But unfortunately that didn't work out.

How do I install?

Link to comment
Share on other sites

Happy2Play
1 minute ago, igeoorge said:

What good news.
I moved the plugin to the plugins folder and restarted the server. But unfortunately that didn't work out.

How do I install?

What folder did you put it in?

  • Like 1
Link to comment
Share on other sites

Happy2Play
1 minute ago, igeoorge said:

/var/lib/emby-server/plugins

That should be it as that is your data path.  I know that is all I did on my Windows system, downloaded the file and place it in the plugin folder and restarted Emby.

image.thumb.png.ea1691233cf292b1ef56108d747ab624.png

If it is not loading for you then we may need to see a server log.

  • Like 1
Link to comment
Share on other sites

igeoorge

Friends,

This tool is really amazing, I believe they should already be native to the Emby server.

Thank you very much and congratulations to @chef

 

I notice that there are devices that used a version of the emby app. The last access of these devices was more than 1 year ago and even so they are still in the device base.

Is there any way to solve this?

Link to comment
Share on other sites

3 minutes ago, igeoorge said:

Friends,

This tool is really amazing, I believe they should already be native to the Emby server.

Thank you very much and congratulations to @chef

 

I notice that there are devices that used a version of the emby app. The last access of these devices was more than 1 year ago and even so they are still in the device base.

Is there any way to solve this?

I think so, yes. We should be able to look at the last time the device was used and act on that. 

Let me take another look at the code. It's been a while 😃

 

Link to comment
Share on other sites

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...