Chiyu 2 Posted January 3 Share Posted January 3 (edited) If I have the path "/home/movie/Oppenheimer (2023)", and Emby have not scan it yet, because emby can't detect fuse changes. Is there any api I can use to let emby scan this path? I see /Library/Media/Updated in dev document, but It's doesn't work Edited January 3 by Chiyu Link to comment Share on other sites More sharing options...
Luke 37100 Posted January 3 Share Posted January 3 2 hours ago, Chiyu said: I see /Library/Media/Updated in dev document, but It's doesn't work Hi, it works just fine. It's not an api to scan a path. It's an api to report to the server that something has changed, which ultimately will lead to scanning it. Link to comment Share on other sites More sharing options...
Chiyu 2 Posted January 4 Author Share Posted January 4 (edited) 12 hours ago, Luke said: Hi, it works just fine. It's not an api to scan a path. It's an api to report to the server that something has changed, which ultimately will lead to scanning it. Here is the thing: I create a new series library which I add path "A:\test\test" (mount by rclone) , and then I move the media folder named "精神病房也会迎来清晨 (2023) {tmdb-205319}" to A:\test\test . I use python to create requests, I get 204 status code, but emby have not scan the library. Below has the image information. Where is the problem?? Library setting: Request1: Request2: Edited January 4 by Chiyu Link to comment Share on other sites More sharing options...
Chiyu 2 Posted January 4 Author Share Posted January 4 And if there is not the api to scan specific folder, Can I ask to add feature that maybe you guys can add one in 4.8? Link to comment Share on other sites More sharing options...
Luke 37100 Posted January 4 Share Posted January 4 Quote I get 204 status code, but emby have not scan the library. give it a minute or two. Link to comment Share on other sites More sharing options...
Chiyu 2 Posted January 5 Author Share Posted January 5 7 hours ago, Luke said: give it a minute or two. I have already wait like 1 day, nothing happened, though. futhermore, I use local drive to test this api, also failed. Emby Verson:4.7.14.0 OS: windows11 So, I request to add an API to enable scanning of individual folders, OR update some exist api, such as I can past a scan_path param to /Items/{Id}/Refresh? About that Do I need to create new topic in Feature Requests Section? That means a lot for me, I am tired to fully scan a huge library which build at fuse file system Link to comment Share on other sites More sharing options...
Luke 37100 Posted January 5 Share Posted January 5 HI there, let's look at a specific example: How to Report a Problem Thanks. Link to comment Share on other sites More sharing options...
adminExitium 173 Posted January 5 Share Posted January 5 The payload is incorrect. Refer this for a python example: https://github.com/NiNiyas/autoscan/blob/master/jelly_emby.py#L88 Link to comment Share on other sites More sharing options...
Chiyu 2 Posted January 5 Author Share Posted January 5 57 minutes ago, adminExitium said: The payload is incorrect. Refer this for a python example: https://github.com/NiNiyas/autoscan/blob/master/jelly_emby.py#L88 You are my hero!!!!!!!!! All done! Thanks a lot !!!! Link to comment Share on other sites More sharing options...
Chiyu 2 Posted January 7 Author Share Posted January 7 On 1/5/2024 at 9:22 PM, adminExitium said: The payload is incorrect. Refer this for a python example: https://github.com/NiNiyas/autoscan/blob/master/jelly_emby.py#L88 There is a question I past a sub folder , though ,the result is scan the whole folder rather than only the sub folder that I past in the requests Link to comment Share on other sites More sharing options...
adminExitium 173 Posted January 7 Share Posted January 7 Yeah, that's an Emby issue that Luke has acknowledged to improve sometime in the future, especially for Movies. TV Shows should generally be fine as long as it's not a new show and you send the actual episode path rather than the season or show path. 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