Jellyfin Forum
scanning per folder - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Media Scanning & Identification (https://forum.jellyfin.org/f-media-scanning-identification)
+---- Thread: scanning per folder (/t-scanning-per-folder)



scanning per folder - latumus - 2024-07-19

in plex i run " curl -s -k "https://127.0.0.1:32400/library/sections/$1/refresh?path=$2&X-Plex-Token=$plextoken"  " after moving a folder to my nas so that it rescans that folder straight into the database and dont have to run full scans, is this functionality available in jellyfin?


RE: scanning per folder - TheDreadPirate - 2024-07-19

The default behavior for Jellyfin scans is to only look for new/updated content. It doesn't do full scans every time. Is that not what you're seeing.


RE: scanning per folder - latumus - 2024-07-19

yes but it still has to iterate through all the folders and because my library is rather large i would like it to just check the folder with the scan command


RE: scanning per folder - TheDreadPirate - 2024-07-19

Ah. For a network share, yes. It would have would need to traverse the library. For local storage it does not.

Looking over the API docs, this looks like the closest to what you're asking.

https://api.jellyfin.org/#tag/LibraryStructure/operation/AddMediaPath


RE: scanning per folder - latumus - 2024-07-19

does this scan a folder within the library it looks more like it adds a folder to the library as opposed to issueing the scan of a singular item


RE: scanning per folder - TheDreadPirate - 2024-07-19

Re-reading it, yep. You're right. I couldn't find anything else in the Library section of the API docs.


RE: scanning per folder - latumus - 2024-07-19

thats very unfortunate its nice functionality to have so with proper scripting new stuff pops up in seconds no matter the size of your library