2023-04-06, 16:33
I am trying to update only update specific TV shows when a new episode has been added.
I have a python script that generated a several curl commands with the specific folder that kodi need to scan for new episodes
When I update only one show this works perfectly. The problem I'm having is when I try to update two or more shows, every other show gets scanned in. I can manually run curl on the skipped shows, so I know I don't have a syntax problem.
I have a python script that generated a several curl commands with the specific folder that kodi need to scan for new episodes
Code:
'{ "jsonrpc": "2.0", "method": "VideoLibrary.Scan","params":{"directory": "nfs://synology/volume1/media/TV/The Mandalorian"}, "id": "mybash"}'
When I update only one show this works perfectly. The problem I'm having is when I try to update two or more shows, every other show gets scanned in. I can manually run curl on the skipped shows, so I know I don't have a syntax problem.