Jump to content

workaround for usb/hdd disconnection and no trashcan inside emby


ManuJapan89
 Share

Recommended Posts

ManuJapan89

Hi, as a Plex user i highly appreciate his Traschcan feature, that, if a hdd video repo goes offline, it will be marked as unavailable but still in library. Looking around for a solution i found out this software:

Safely Remove Hardware better alternative | USB Safely Remove

set it up in this exact way(obviously you can place this .bat wherever you want)

image.png.0b29cb3df5586dc3bbad48c069c2eb25.png

image.png.df13eee3cfb29fecd99bc747ea3b5be3.png

the .bat DO this:

 

TASKKILL /IM EmbyServer.exe* /T /F

when you disconnect any usb,it will kill embyserver so you'll never run into a situation where you have to rebuild your library, totally or partially.

i tested it either with standard and portable emby version. it works fine both situation.

The only downside is this program is not free. there is a 30 day trial. it worth it IMHO.

you can also try out a free option, working around this thread windows - Starting scheduled task by detecting connection of USB device - Super User

you can launch a scheduled task action based on an event viewer EVENT.

but i prefer using this simple program, altrough NOT FREE.

 

Hope this help

 

Have a nice day

embykill.bat

Edited by ManuJapan89
grammar correction
  • Thanks 1
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
 Share

×
×
  • Create New...