![]() |
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. RE: One-click way to force a library rescan on a remote computer? - BlueberryJelly - 2025-04-08 The real time monitoring does not appear to work in my environment. (I noticed the same thing with Emby before I moved to Jellyfin). In my newest setup, I have two WD Passport USB drives (one movies and one tv shows) hooked into the back of my Qnap NAS which is running Jellyfin 10.10.6. I move movies into the USB drive for movies and they do not appear unless I do a manual scan or the scheduled scan sometime later. Definitely not "it will just add new content immediately." I could I assume make the scheduled scan more frequent, but as I understand it, it scans everything again. Where an immediate scan on just the new items would be ideal. The same was true with Emby and my SMB shares with my other NAS drives. RE: One-click way to force a library rescan on a remote computer? - TheDreadPirate - 2025-04-09 How well real time monitoring works over SMB depends on the device running SMB server. Each file being monitored over needs an individual inotify watcher process/thread and the host OS caps that number. 8196 is the default most of the time. That can be increased on plain Linux, but each inotify watcher uses a fixed amount of memory. If you have more files than the allowed number of inotify watchers, real time monitoring won't work for the remaining files. Because your SMB server is a QNAP NAS, I am not sure whether their OS will allow you to modify how many inotify watchers are allowed. |