Chiyu 3 Posted January 3, 2024 Posted January 3, 2024 (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, 2024 by Chiyu
Luke 42077 Posted January 3, 2024 Posted January 3, 2024 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.
Chiyu 3 Posted January 4, 2024 Author Posted January 4, 2024 (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, 2024 by Chiyu
Chiyu 3 Posted January 4, 2024 Author Posted January 4, 2024 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?
Luke 42077 Posted January 4, 2024 Posted January 4, 2024 Quote I get 204 status code, but emby have not scan the library. give it a minute or two.
Chiyu 3 Posted January 5, 2024 Author Posted January 5, 2024 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
Luke 42077 Posted January 5, 2024 Posted January 5, 2024 HI there, let's look at a specific example: How to Report a Problem Thanks.
adminExitium 355 Posted January 5, 2024 Posted January 5, 2024 The payload is incorrect. Refer this for a python example: https://github.com/NiNiyas/autoscan/blob/master/jelly_emby.py#L88
Chiyu 3 Posted January 5, 2024 Author Posted January 5, 2024 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 !!!!
Chiyu 3 Posted January 7, 2024 Author Posted January 7, 2024 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
adminExitium 355 Posted January 7, 2024 Posted January 7, 2024 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.
syvcxm 23 Posted October 25, 2024 Posted October 25, 2024 Reply to continue following this issue. (API to scan single given path instead of scan whole library)
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