12 lines
491 B
Bash
12 lines
491 B
Bash
#!/bin/sh
|
|
|
|
# You need to remake this script with every provider,
|
|
# so you need one for sonarr, one for radarr and so on.
|
|
# Add it to your custom script in that provider.
|
|
# To get your library id, you need to send a GET
|
|
# request to http://jellyfin:port/Library/VirtualFolders
|
|
# The API key from that indexer is also needed,
|
|
# that's found in the settings of that indexer.
|
|
|
|
curl -X POST "http://jellyfin:8096/Library/Refresh?libraryId=<YOUR_LIBRARY_ID>" \
|
|
-H "X-Emby-Token: <YOUR_API_KEY>"
|