summaryrefslogtreecommitdiffstats
path: root/pyload/remote/pyload.thrift
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-12-13 18:38:53 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-12-13 18:38:53 +0100
commit3e84ea823766adef12946de90b33e62a84b52c46 (patch)
treec6b2345cc3c2f9c4f67a6985bd3c8282cdac9e59 /pyload/remote/pyload.thrift
parentplugin selection for linkgrabber, partial closes #182 (diff)
downloadpyload-3e84ea823766adef12946de90b33e62a84b52c46.tar.xz
added new file states
Diffstat (limited to 'pyload/remote/pyload.thrift')
-rw-r--r--pyload/remote/pyload.thrift19
1 files changed, 14 insertions, 5 deletions
diff --git a/pyload/remote/pyload.thrift b/pyload/remote/pyload.thrift
index c68bf5502..9b8415d0f 100644
--- a/pyload/remote/pyload.thrift
+++ b/pyload/remote/pyload.thrift
@@ -26,6 +26,8 @@ enum DownloadStatus {
TempOffline,
Aborted,
NotPossible,
+ Missing,
+ FileMismatch,
Decrypting,
Processing,
Custom,
@@ -417,9 +419,9 @@ service Pyload {
void addLinks(1: PackageID pid, 2: LinkList links) throws (1: PackageDoesNotExist e),
void addLocalFile(1: PackageID pid, 2: string name, 3: string path) throws (1: PackageDoesNotExist e)
- // these are real file operations and WILL delete files on disk
- void deleteFiles(1: list<FileID> fids),
- void deletePackages(1: list<PackageID> pids), // delete the whole folder recursive
+ // removes the links with out actually deleting the files
+ void removeFiles(1: list<FileID> fids),
+ void removePackages(1: list<PackageID> pids), // remove the whole folder recursive
// Modify Downloads
@@ -430,9 +432,9 @@ service Pyload {
void stopDownloads(1: list<FileID> fids),
void stopAllDownloads(),
- ////////////////////////////
+ ///////////////////////////////
// File Information retrieval
- ////////////////////////////
+ ///////////////////////////////
TreeCollection getAllFiles(),
TreeCollection getFilteredFiles(1: DownloadState state),
@@ -461,6 +463,9 @@ service Pyload {
bool movePackage(1: PackageID pid, 2: PackageID root) throws (1: PackageDoesNotExist e),
bool moveFiles(1: list<FileID> fids, 2: PackageID pid) throws (1: PackageDoesNotExist e),
+ bool deletePackages(1: list<PackageID> pids), // remove the whole folder recursive
+ bool deleteFiles(1: list<FileID> fids),
+
void orderPackage(1: list<PackageID> pids, 2: i16 position),
void orderFiles(1: list<FileID> fids, 2: PackageID pid, 3: i16 position),
@@ -525,6 +530,10 @@ service Pyload {
JSONString invokeAddonHandler(1: PluginName plugin, 2: string func, 3: PackageID pid_or_fid)
throws (1: ServiceDoesNotExist e, 2: ServiceException ex),
+ ///////////////////////
+ // Media finder
+ ///////////////////////
+
//scheduler