Ah, awesome! Any ETA on v13? If it's relatively close, I may wait for that version before pushing out my update.hugbug wrote:In the next version (v13) I'm going to rework the internal queue. Post-queue will be integrated into the main download queue. There will be a new RPC-method for download queue. The merging of groups and post-jobs on client side will not be necessary anymore.
Good tip about fields "status" and "estimated time", this should make things easier for developers.
Despite the changes current RPC-methods "listgroups" and "postqueue" will still work, for compatibility with existing software.
Sure. Remember, every function in web-app works through RPC-API and since there is nzb upload in web-app there is an API function for that.Kev1000000 wrote:Oh, is there any way to upload an NZB file through your API?
Code: Select all
bool append(string NZBFilename, string Category, int Priority, bool AddToTop, string Content, bool AddPaused, string DupeKey, int DupeScore, string DupeMode);
bool appendurl(string NZBFilename, string Category, int Priority, bool AddToTop, string URL, bool AddPaused, string DupeKey, int DupeScore, string DupeMode);
Sorry, I should have been more specific. This looks like it accepts an NZB file that is already on the same local machine. Is there a method that allows it to accept a remote NZB file, from say a mobile device?hugbug wrote:Sure. Remember, every function in web-app works through RPC-API and since there is nzb upload in web-app there is an API function for that.Kev1000000 wrote:Oh, is there any way to upload an NZB file through your API?
See methods append and appendurl and python-example Adding file to download queue.
The corresponding part in web-app is in file upload.js.
V12 introduces additional parameters such as an ability to add file in paused state. These parameters are not yet documented in wiki (like all other changes made in v12):Code: Select all
bool append(string NZBFilename, string Category, int Priority, bool AddToTop, string Content, bool AddPaused, string DupeKey, int DupeScore, string DupeMode); bool appendurl(string NZBFilename, string Category, int Priority, bool AddToTop, string URL, bool AddPaused, string DupeKey, int DupeScore, string DupeMode);
Users browsing this forum: No registered users and 59 guests