Lumpe86 0 Posted December 19, 2021 Posted December 19, 2021 Dear Members, I do some monitoring and get every 15 minutes images about my current data. (see attachment to see an example) I use curl in order to refresh this specific folder and it works very well: curl --data '' "http://embyserver:8096/emby/Items/XXXX/Refresh?Recursive=true&ImageRefreshMode=Default&MetadataRefreshMode=Default&ReplaceAllImages=true&ReplaceAllMetadata=true&api_key=yyyy" XXXX: is the parentId, which is changing from time to time Why is the folger ID changing and can I prevent changing the folder ID? Is there another possibility to refresh a specific folder away from curl? Thank you for support and greetings from Germany.
Luke 42077 Posted December 19, 2021 Posted December 19, 2021 Hi, the parentId for a given item does not change.
Lumpe86 0 Posted December 24, 2021 Author Posted December 24, 2021 Hi Luke, I found my mistake. I had a daily task for refreshing the media library at midnight. At the same time, a script deleted all pictures in the specific folder and copied new pictures in it. It seems to be that it comes to an overlapping with those events. So the folder got a new parentID. After disabling the daily refreshing, it works and the parentID remains. Merry Christmas, Simon.
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