DOWORK 1 Posted November 30, 2020 Share Posted November 30, 2020 I have been trying to figure out how to scan only certain folders as my Emby library is quite large and takes 9-10 hours to scan the whole library. I can not use real time monitoring as I use gdrive. I have specific folders where all my new media goes. I noticed I can go into the Metadata Manager and run a single scan on 1 folder but I would like to automate this process. When I look at the logs it shows the following: http://localhost:8096/emby/Items/1118434/Refresh?Recursive=true&ImageRefreshMode=Default&MetadataRefreshMode=Default&ReplaceAllImages=false&ReplaceAllMetadata=false&X-Emby-Client=Emby Whenever I run this command I get the following error... Unable to find the specified file. Also what is the best way to find folder library item IDs? Link to comment Share on other sites More sharing options...
Happy2Play 8334 Posted November 30, 2020 Share Posted November 30, 2020 Little dated but something like this. https://emby.media/community/index.php?/topic/50862-trigger-a-library-rescan-via-cmd-line/&do=findComment&comment=487759 You can generate a apikey Dashboard-API Keys curl -X POST "https://localhost/emby/Items/1118434/Refresh?Recursive=true&ImageRefreshMode=Default&MetadataRefreshMode=Default&ReplaceAllImages=false&ReplaceAllMetadata=false?api_key=yourapikey" -d "" Have you looked at the api, link at the bottom of the dashboard. I usually click on the folder and look at the url to see the itemid/parentid. Link to comment Share on other sites More sharing options...
DOWORK 1 Posted November 30, 2020 Author Share Posted November 30, 2020 22 minutes ago, Happy2Play said: Little dated but something like this. https://emby.media/community/index.php?/topic/50862-trigger-a-library-rescan-via-cmd-line/&do=findComment&comment=487759 You can generate a apikey Dashboard-API Keys curl -X POST "https://localhost/emby/Items/1118434/Refresh?Recursive=true&ImageRefreshMode=Default&MetadataRefreshMode=Default&ReplaceAllImages=false&ReplaceAllMetadata=false?api_key=yourapikey" -d "" Have you looked at the api, link at the bottom of the dashboard. I usually click on the folder and look at the url to see the itemid/parentid. I get String 'false?api_key=b8b2ca3ebad0490ca79d51034512cdc6' was not recognized as a valid Boolean when I run the following cmd. Link to comment Share on other sites More sharing options...
DOWORK 1 Posted November 30, 2020 Author Share Posted November 30, 2020 2 minutes ago, DOWORK said: I get String 'false?api_key=b8b2ca3ebad0490ca79d51034512cdc6' was not recognized as a valid Boolean when I run the following cmd. Got it working! false?api should be false& not with a ?. Thank you so much! @Happy2Play Link to comment Share on other sites More sharing options...
Luke 37183 Posted December 1, 2020 Share Posted December 1, 2020 Thanks for the feedback. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now