Jellyfin Forum
One-click way to force a library rescan on a remote computer? - 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: One-click way to force a library rescan on a remote computer? (/t-one-click-way-to-force-a-library-rescan-on-a-remote-computer)



One-click way to force a library rescan on a remote computer? - thisisbommy - 2025-01-27

I run Jellyfin on a Mac mini with all my players running Infuse and accessing it remotely.

When I need to force a library rescan (to find new content) I do this via the webUI.

I wondered if there'd be a way to force a rescan with "one click" to make it more user-friendly for the others in my household.

I'm one step away, with a bookmark to 
http://192.168.1.100:8096/web/#/dashboard

But I wondered if there might be a URL I could bookmark that effectively pushes the button for me and automatically launches the rescan command?


RE: One-click way to force a library rescan on a remote computer? - TheDreadPirate - 2025-01-28

If the disks are directly attached or are SMB shares, you can enable real time monitoring and it will just add new content immediately.

If real time monitoring isn't an option (cloud storage or NFS share), bookmarks wouldn't be sufficient to "one click" refresh, since using the refresh endpoint requires an authorization header. You'd have to use a script to POST to the refresh endpoint with a valid authorization header.

You can also increase the frequency that the library scan job runs. The default is every 12 hours. Dashboard > Scheduled Tasks > Scan Media Library.

Change the interval to something smaller? Once an hour?


RE: One-click way to force a library rescan on a remote computer? - thisisbommy - 2025-01-28

Oh, I didn't realise that was an option! I've had a look but can't find it either. They're locally USB-connected APFS drives.


RE: One-click way to force a library rescan on a remote computer? - TheDreadPirate - 2025-01-28

The real time monitoring setting is in the config for each library.