GreatFlashMan 91 Posted December 20, 2024 Posted December 20, 2024 Hopefully this is a quick and simple question. The nas unit containing my Television library discovered it had errors and needed a reboot and hopeful volume repair. This (it's 100tb) can take 290 hours or so. So, in the mean time, the TV library is visible in Emby, but of course not accessible. What i would like to do it Disable it, so Emby does not try to access it, and so that users cannot try and play anything from it. I cannot find an "enabled" button, and, of course, do not want to delete it, i just want it "out of the loop" whilst the nas does it's thing as it's causing some issues with emby. What's the best solution so that nothing is lost and it can be restored "as was" after? Thanks in advance.
Neminem 1519 Posted December 20, 2024 Posted December 20, 2024 Under each user you can disable access to that library.
rbjtech 5284 Posted December 20, 2024 Posted December 20, 2024 (edited) While this will stop user access, it will not stop emby itself from scanning the folder - so you'll also need to disable/remove the library scanning schedules and RTM if you have that enabled. Edited December 20, 2024 by rbjtech 1
GreatFlashMan 91 Posted December 20, 2024 Author Posted December 20, 2024 a simple "enable" tick would be SO much easier. Going into every user and disabling access would be a pain (there's only about 25 users, but even so..)
rbjtech 5284 Posted December 20, 2024 Posted December 20, 2024 4 hours ago, GreatFlashMan said: What's the best solution so that nothing is lost and it can be restored "as was" after? The 'disable' button doesn't exist - thus the above will provide a solution. I think the disable library exists already in FR somewhere..
visproduction 315 Posted December 20, 2024 Posted December 20, 2024 GF, Removing the folder from Admin / Libraries, of course will work, but then turning it back on, after your repair, may cause a new scan and perhaps change some media info. I have not tested this. Another quick method would be to rename all the media in the folder to *.mp4.off and *.mkv.off. Recursing through subfolders is possible, but command line ren alone can't do it. See: https://superuser.com/questions/16007/how-can-i-mass-rename-files Turning everything back on is just reversing your renamed media files back to just .mp4 and .mkv.
Neminem 1519 Posted December 20, 2024 Posted December 20, 2024 (edited) @visproductionthat would have the same effect a removing the library. With you metode the library would scan changes, and again when flipped back. Adding : The NAS is under reconstruction ie don't mess with it. Renaming shit when that's going on might led to data loss. Edited December 20, 2024 by Neminem 1 1
GreatFlashMan 91 Posted December 20, 2024 Author Posted December 20, 2024 1 hour ago, Neminem said: @visproductionthat would have the same effect a removing the library. With you metode the library would scan changes, and again when flipped back. Adding : The NAS is under reconstruction ie don't mess with it. Renaming shit when that's going on might led to data loss. i cannot access the nas at all atm, when a volume rebuild is active, all services are stopped, so no webui and not mounts.
GreatFlashMan 91 Posted December 20, 2024 Author Posted December 20, 2024 5 hours ago, rbjtech said: While this will stop user access, it will not stop emby itself from scanning the folder - so you'll also need to disable/remove the library scanning schedules and RTM if you have that enabled. scanning is en masse though, ie. it either scans all libraries, or none.
Neminem 1519 Posted December 20, 2024 Posted December 20, 2024 (edited) I would suggest turning Emby off till its done, its all about you data integrity and health. You might run into a rescan after data integrity is restored, if it sees your library offline. Then Sms, email or other means tell your users " Do to hardware failure Emby will be offline... When issue is resolved, you can resume your watching.." Edited December 20, 2024 by Neminem
Neminem 1519 Posted December 20, 2024 Posted December 20, 2024 15 minutes ago, GreatFlashMan said: scanning is en masse though, ie. it either scans all libraries, or none. Jep that what happens after a breakdown. The library is not online. I would turn off all services that have something to do with that NAS.
GreatFlashMan 91 Posted December 20, 2024 Author Posted December 20, 2024 all this when all it would have taken was an "enabled" toggle on the library haha
Neminem 1519 Posted December 20, 2024 Posted December 20, 2024 Well you can take or leave it, its your current choice. But its all about what you want to risk, its your server, your responsibility. So its all up to you, to chose what you want. But yes it would be a "nice to have". Not a "Must have feature". But again you choice to add an FF here Feature Requests - Emby Community 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now