Jump to content

Scan of library after media added


Recommended Posts

adminExitium
Posted
3 minutes ago, Marc0 said:

Complete not clear what "UpdateType" is...

Present in the corresponding file in Sonarr: https://github.com/Sonarr/Sonarr/blob/ad42d4a14c814d5911dafb5e78e97ec09b4b13a5/src/NzbDrone.Core/Notifications/MediaBrowser/MediaBrowser.cs i.e. Created, Modified & Deleted.

 

3 minutes ago, Marc0 said:

Doesn't seem the work for me.... I run the latest develop version

As Luke pointed out earlier, we need debug logs from your Emby instance when the corresponding Sonarr/Radarr event was received: 

 

  • Thanks 1
Posted
6 hours ago, Marc0 said:

Complete not clear what "UpdateType" is...

Created/Modified/Deleted

But it can also be omitted.

Posted
1 minute ago, Luke said:

Created/Modified/Deleted

But it can also be omitted.

@Luke: thanks got it working now. 

Question: still have problems with the trigger sonarr/radarr with is build in default. I will report a problem soon. I don't use it anymore because this script runs now. But maybe you can improve Emby when it gets clear why the default trigger from sonarr and radarr aren't working. 

  • Thanks 1
Posted
On 1/20/2023 at 6:20 PM, Luke said:

Don't know. We'd have to look at an example.

Thanks.

 

Hi Luke, The Sonarr and Radarr triggers are also solved now!

Problem (or fact if you want to call it that way), is that the path for (son)(rad)arr content must be the same as for Emby , just the same when you want to use 

/emby/Library/Media/Updated?api_key

So by solving that problem, the native triggers from (son)(rad)arr were solved... too.

Since I run all services in containers, I could easily fix this problem with the paths..... 

  • Like 1
  • 8 months later...
plexstreams1
Posted

Did you ever resolve this? I am having the same issue. For example, when a file is deleted on a file system and I use the API 

/emby/Library/Media/Updated

To inform Emby of it, the movie/file is still in the library.

  • 1 year later...
  • 1 month later...
Posted
On 3/8/2025 at 11:03 AM, Marc0 said:

The blog post contains some useful information, but there is a much easier way to handle differing paths that isn't mentioned.

The Emby connection in sonarr/radarr has an option to map one path to another, which is visible when you enable advanced settings. This method works perfectly for me.

image.png.722983596df0b856790acf76a98cff42.png

  • Thanks 1

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