digitalirony 22 Posted March 8, 2019 Share Posted March 8, 2019 If I wanted to call/curl the FileOrganizationService from my torrent client with a finished hook, how would I do this? I really don't understand the API documentation very well, cause I am not a great developer. But, I think I can pass in the directory of the torrent and have it run auto organize on it for me right? I think I want to try this out instead of using Filebot, as this gives me the ability to go look at the activity log later, and fix and any mistakes that have happened manually, in a much cleaner way than filebot I think. Thanks! Link to comment Share on other sites More sharing options...
Luke 36876 Posted March 8, 2019 Share Posted March 8, 2019 Hi, this API is embedded inside the auto-organize plugin and is not intended to be used for other purposes. If you really want to, then I suppose you can. I would start by going over how far you've gotten so that others can help try and fill in the blanks. Thanks. Link to comment Share on other sites More sharing options...
BillOatman 492 Posted March 8, 2019 Share Posted March 8, 2019 Hi, this API is embedded inside the auto-organize plugin and is not intended to be used for other purposes. If you really want to, then I suppose you can. I would start by going over how far you've gotten so that others can help try and fill in the blanks. Thanks. Yeah I took a look at the code and that was my assumption as well. Does this plugin need to get run manually all of the time? I would think having it monitor a folder for files to be picked up would be much more efficient. Link to comment Share on other sites More sharing options...
Luke 36876 Posted March 8, 2019 Share Posted March 8, 2019 No, it has a scheduled task that handles monitoring the configured folder. Link to comment Share on other sites More sharing options...
BillOatman 492 Posted March 8, 2019 Share Posted March 8, 2019 (edited) No, it has a scheduled task that handles monitoring the configured folder. Thanks Luke. DigitalIrony, I have a little windows app now that runs the guide refresh task on demand. If you are running windows I can either modify it to run this task, or give you my code and you can do it if you like. Edited March 8, 2019 by BillOatman Link to comment Share on other sites More sharing options...
digitalirony 22 Posted March 8, 2019 Author Share Posted March 8, 2019 (edited) I am not running windows. But I bet I could convert it from your code if I look at it. I don't want to run it on the timer/watch folder, because my folder contains a mix of TV and Movies, and I have found this sort of confuses the organizer when its running in 'tv mode' and finds a 'movie' and vice versa. Also this way I only scan once on demand, instead of on a timer when unneeded. Edited March 8, 2019 by digitalirony Link to comment Share on other sites More sharing options...
BillOatman 492 Posted March 8, 2019 Share Posted March 8, 2019 I sent you a private message. 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