Banquero 30 Posted August 7, 2021 Share Posted August 7, 2021 Buenos dias, desde que he cambiado de DSM6 a DSM7, con la instalación del nuevo paquete para Emby Server 4.6.4.0 (DSM7), no consigo que cuando añado alguna pelicula, se añada automáticamente a Emby..Tengo picado el "monitoreo en tiempo real", pero tarda alrededor de 15 minutos en reconocer dicho cambio en la biblioteca...Alguna sugerencia? Muchas gracias... Link to comment Share on other sites More sharing options...
Carlo 4330 Posted August 7, 2021 Share Posted August 7, 2021 Hi, It's working but delayed? Link to comment Share on other sites More sharing options...
Banquero 30 Posted August 7, 2021 Author Share Posted August 7, 2021 Si, así es. Tarda mucho en identificar la película o serie, entre 15 o 20 minutos... Link to comment Share on other sites More sharing options...
Carlo 4330 Posted August 7, 2021 Share Posted August 7, 2021 Do you know how to get to the config folder in SSH on DSM7? If so take a look at system.xml in that folder. There will be an entry like this <LibraryMonitorDelay>60</LibraryMonitorDelay> Does your say 60 or a different value? BTW, the path should be /volume1/@appdata/EmbyServer/config/system.xml Link to comment Share on other sites More sharing options...
Banquero 30 Posted August 8, 2021 Author Share Posted August 8, 2021 Buenos cayars, no me deja entrar...Te envío pantallazo...A ver si puedes ayudarme, porque estoy perdido...Gracias.. @cayars Link to comment Share on other sites More sharing options...
Banquero 30 Posted August 8, 2021 Author Share Posted August 8, 2021 13 hours ago, cayars said: Do you know how to get to the config folder in SSH on DSM7? If so take a look at system.xml in that folder. There will be an entry like this <LibraryMonitorDelay>60</LibraryMonitorDelay> Does your say 60 or a different value? BTW, the path should be /volume1/@appdata/EmbyServer/config/system.xml Buenos dias, Cayars, me Dice "Permiso denegado"..Debo de hacer algo en el NAS? Gracias... Link to comment Share on other sites More sharing options...
Luke 37060 Posted August 8, 2021 Share Posted August 8, 2021 @cayars Link to comment Share on other sites More sharing options...
Carlo 4330 Posted August 9, 2021 Share Posted August 9, 2021 On 8/8/2021 at 6:04 AM, Banquero said: Good morning, Cayars, It tells me "Permission denied" .. Should I do something on the NAS? Thanks... Hi not sure what you're tryin to do in that screen shot but there is no command given. Try changing to the directory and then list the files with cd /volume1/@appdata/EmbyServer/config ls -l You should then see the system.xml file. if you can see the file you should be able to copy it to a location that you have access to in File Station or a PC mounted to your NAS You could do that with a command similar to this but you have to use a share name setup on your NAS cp -rv /volume1/@appdata/EmbyServer/config/system.xml /volume1/ShareNameHere Link to comment Share on other sites More sharing options...
Banquero 30 Posted August 9, 2021 Author Share Posted August 9, 2021 On 8/7/2021 at 10:51 PM, cayars said: Do you know how to get to the config folder in SSH on DSM7? If so take a look at system.xml in that folder. There will be an entry like this <LibraryMonitorDelay>60</LibraryMonitorDelay> Does your say 60 or a different value? BTW, the path should be /volume1/@appdata/EmbyServer/config/system.xml Buenas noches. Efectivamente el valor que pone en system.xml es 60.. Link to comment Share on other sites More sharing options...
Carlo 4330 Posted August 9, 2021 Share Posted August 9, 2021 OK so Emby Server should be responding to the inotify messages about 60 seconds after they happen. Any other slowdown is likely going to be on the NAS side. Link to comment Share on other sites More sharing options...
Banquero 30 Posted August 9, 2021 Author Share Posted August 9, 2021 1 minute ago, cayars said: OK so Emby Server should be responding to the inotify messages about 60 seconds after they happen. Any other slowdown is likely going to be on the NAS side. El NAS funciona perfectamente. Esto ha ocurrido desde la actualización a DSM 7... Link to comment Share on other sites More sharing options...
Carlo 4330 Posted August 9, 2021 Share Posted August 9, 2021 What are the inotify setting on your DSM 7 setup? Link to comment Share on other sites More sharing options...
Banquero 30 Posted August 10, 2021 Author Share Posted August 10, 2021 5 hours ago, cayars said: What are the inotify setting on your DSM 7 setup? Te refieres a la configuración en Emby de las notificaciones, no? Link to comment Share on other sites More sharing options...
Carlo 4330 Posted August 10, 2021 Share Posted August 10, 2021 inotify settings in Synology. What do you get if you run the following command in SSH/Putty? cat /proc/sys/fs/inotify/max_user_watches Link to comment Share on other sites More sharing options...
Banquero 30 Posted August 10, 2021 Author Share Posted August 10, 2021 2 hours ago, cayars said: inotify settings in Synology. What do you get if you run the following command in SSH/Putty? cat /proc/sys/fs/inotify/max_user_watches Buenas tardes, cayars...El resultado es 8192...Que significa? Link to comment Share on other sites More sharing options...
Carlo 4330 Posted August 10, 2021 Share Posted August 10, 2021 That means you have the default "out of box" inotify settings which most people need to change and raise much higher as the count of media files increases. via Putty/SSH login and go root with sudo -i You will then want to modify /etc.defaults/sysctl.conf to include these two lines sysctl fs.inotify.max_user_watches=204800 sysctl fs.inotify.max_user_instances=1000 You can then run sudo sysctl -p /etc.defaults/sysctl.conf which will reload those settings and increase your watches and user instances. Link to comment Share on other sites More sharing options...
Banquero 30 Posted August 10, 2021 Author Share Posted August 10, 2021 13 minutes ago, cayars said: That means you have the default "out of box" inotify settings which most people need to change and raise much higher as the count of media files increases. via Putty/SSH login and go root with sudo -i You will then want to modify /etc.defaults/sysctl.conf to include these two lines sysctl fs.inotify.max_user_watches=204800 sysctl fs.inotify.max_user_instances=1000 You can then run sudo sysctl -p /etc.defaults/sysctl.conf which will reload those settings and increase your watches and user instances. cayars, como voy exactamente a ese archivo de configuración...Cual es el camino exacto dentro de volume1? Link to comment Share on other sites More sharing options...
Carlo 4330 Posted August 10, 2021 Share Posted August 10, 2021 The path of the file is /etc.defaults/sysctl.conf If you know how to edit files via SSH/Putty then that's fine otherwise copy that file to a share you have access to on Windows and then use notepad to edit the file adding the 2 lines. Then just copy it back to /etc.defaults/sysctl.conf and continue with the rest of the post. Link to comment Share on other sites More sharing options...
Banquero 30 Posted August 11, 2021 Author Share Posted August 11, 2021 19 hours ago, cayars said: The path of the file is /etc.defaults/sysctl.conf If you know how to edit files via SSH/Putty then that's fine otherwise copy that file to a share you have access to on Windows and then use notepad to edit the file adding the 2 lines. Then just copy it back to /etc.defaults/sysctl.conf and continue with the rest of the post. Buenas tardes, cayars, ya he incluido las líneas en el fichero conf...Sin embargo cuando ejecuto la última línea que indicas en el post, me arroja esto...Es correcto, o estoy haciendo algo mal? Muchas gracias por tu ayuda... Link to comment Share on other sites More sharing options...
Banquero 30 Posted August 11, 2021 Author Share Posted August 11, 2021 De todas maneras, sigue igual..De hecho, ya ni añade el contenido automaticamente a Emby...Tengo que reescanear la biblioteca en cuestión..No sé que puede ser, pero no consigo dar con el problema... Link to comment Share on other sites More sharing options...
Carlo 4330 Posted August 11, 2021 Share Posted August 11, 2021 Sorry, edit the file and add these 2 lines: fs.inotify.max_user_watches = 204800 fs.inotify.max_user_instances = 1000 Sorry about that. Link to comment Share on other sites More sharing options...
Banquero 30 Posted August 11, 2021 Author Share Posted August 11, 2021 15 minutes ago, cayars said: Sorry, edit the file and add these 2 lines: fs.inotify.max_user_watches = 204800 fs.inotify.max_user_instances = 1000 Sorry about that. Modificado el archivo y ejecutada la ultima instrucción del post, y nada, no funciona..Emby no reescanea automáticamente la biblioteca..Ya no sé que hacer...Que raro... Link to comment Share on other sites More sharing options...
Solution Carlo 4330 Posted August 11, 2021 Solution Share Posted August 11, 2021 Did you reboot your NAS after setting the startup file? Link to comment Share on other sites More sharing options...
Banquero 30 Posted August 11, 2021 Author Share Posted August 11, 2021 1 minute ago, cayars said: Did you reboot your NAS after setting the startup file? No cayars, eso no lo he hecho..he ejecutado la ultima instruccion, pero no he reiniciado..Ahora mismo no puedo reiniciar, pero en cuanto lo haga, reporto el resultado...Muchas gracias... 1 Link to comment Share on other sites More sharing options...
Banquero 30 Posted August 11, 2021 Author Share Posted August 11, 2021 Vaya, ha tardado un par de minutos más de lo habitual, pero ahora si que escanea automaticamente la biblioteca..Haré algunas pruebas más...Muchas gracias cayars, por tu impagable ayuda...Saludos.. Link to comment Share on other sites More sharing options...
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