Jellyfin Forum
SOLVED: Scan through API not showing metadata - 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: SOLVED: Scan through API not showing metadata (/t-solved-scan-through-api-not-showing-metadata)



Scan through API not showing metadata - latumus - 2024-08-04

curl -X POST "http://10.0.2.12:8096/Items/3574cb053f6254ace5435ac550e444b8/Refresh" \
    -H "Content-Type: application/json" \
    -H "Authorization: MediaBrowser Token=xxxx" \
        -d '{"metadataRefreshMode":"FullRefresh","imageRefreshMode":"FullRefresh","replaceAllMetadata":false,"replaceAllImages":false}'

i initiatie this curl command and it scans my tv folder after i call it from my script but for some reason it doesnt get metadata for the show/episode not poster art etc
am i missing something in the last line (when i just click refresh library in the app and choose search for missing metadata everything does show up)

help greatly appreciated!

[Edited by TDP]


RE: Scan through API not showing metadata - latumus - 2024-08-04

this is what it looks like after the api call:
   

but when i run a rescan for missing metadata in the normal client it does find it, so this leads me to believe im missing something in my api call:
   


RE: Scan through API not showing metadata - latumus - 2024-08-04

mcarlton helped me and found the solution i dont know why, but this is how it works:
curl -X POST -H "Authorization: MediaBrowser Token=myapikey" 'http://192.168.68.61:8096/Items/5c677727c909f4feff6f8ccd3a7e1f9c/Refresh?ImageRefreshMode=FullRefresh&MetadataRefreshMode=FullRefresh&ReplaceAllImages=false&ReplaceAllMetadata=false

all values are the same