Emby real time monitoring

Anyone figure out autoscanning for emby like the 'plex_autoscan' script?

I 'connect'ed my emby to sonarr and radarr but that doesnt work, and emby isn't going to pick up an rclone/mergerfs mount when doing it's 'real time monitor'ing so i was wondering what my options are.

This will be a great it depends answer :slight_smile:

The way the real time monitoring works in Plex and Emby is based on the inotify working and that does not work on a rclone fuse mount.

What does work though if mergerfs is setup and the first write is on the local disk. Real time monitoring does work on that disk and it would get picked up by Emby.

Do you not use Sonarr or Radarr or is your flow different in terms of how media gets added?

i use sonarr, radarr, and 'connect' sonarr and radarr ro emby.
i also have the exact same mergerfs mount you have.

When Sonarr/Radarr add something, they would get added via the connect in each. Is that not working? You shouldn't need to use plex-autoscan at all if it's all local.

yeah sonarr/radarr isnt adding anything via connect.
when i 'test' the tests pass.
are you saying that on top of adding my mergerfs location in emby i should add the locally mapped version as well?

When something is added in Sonarr for example, you should be able to see this in your embyserver.txt:

2019-09-21 06:01:28.825 Info HttpServer: HTTP POST http://localhost:8096/mediabrowser/Library/Media/Updated. UserAgent: Sonarr/3.0.3.644 (fedora 30)
2019-09-21 06:01:28.846 Info HttpServer: HTTP Response 204 to 127.0.0.1. Time: 22ms. http://localhost:8096/mediabrowser/Library/Media/Updated

Or something along those lines if the library is updated.

What do you mean by locally mapped? I point everything to my mergerfs mount so there isn't any mapping that I do.

ok cool.
i will check the embyserver.txt and see if sonarr or radarr ever worked

here are the mentions of sonarr

2019-09-21 01:36:17.288 Info HttpServer: HTTP POST http://xxx.xx.xx.xxx:8096/mediabrowser/Notifications/Admin. UserAge
nt: Sonarr/3.0.3.638 (ubuntu 18.04)
2019-09-21 01:36:21.518 Info HttpServer: HTTP POST http://xxx.xx.xx.xxx:8096/mediabrowser/Notifications/Admin. UserAge
nt: Sonarr/3.0.3.638 (ubuntu 18.04)

nothing that says /Media/Updated by sonarr

if 'inotify' on mergerfs is supposed to allow emby to update either way, why is it both inotify and sonarr/radarr arent working?

Those looks like when you press "Test":

2019-09-21 06:17:40.971 Info HttpServer: HTTP POST http://localhost:8096/mediabrowser/Notifications/Admin. UserAgent: Sonarr/3.0.3.644 (fedora 30

I have mine setup for these options when a file is added:

image

this is how mine is set up


i guess i'll disable on grab and see if that fixes it?

I'm guessing that's the V2 version as I'm running V3 since the dialogue looks a bit different.

You'd need to validate it's actually sending an update though as if you aren't see those in the logs, that could be something.

My update is checked on the bottom:

image

i will disable that as well
41%20AM