Skip to content

Commit

Permalink
jsonrpc: rename "shares" to "sources" in Files.GetSources
Browse files Browse the repository at this point in the history
  • Loading branch information
Montellese authored and opdenkamp committed Sep 19, 2011
1 parent f20b6d2 commit bfb20e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion xbmc/interfaces/json-rpc/FileOperations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ JSON_STATUS CFileOperations::GetRootDirectory(const CStdString &method, ITranspo
param["fields"] = CVariant(CVariant::VariantTypeArray);
param["fields"].append("file");

HandleFileItemList(NULL, true, "shares", items, param, result);
HandleFileItemList(NULL, true, "sources", items, param, result);
}

return OK;
Expand Down
2 changes: 1 addition & 1 deletion xbmc/interfaces/json-rpc/methods.json
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@
"type": "object",
"properties": {
"limits": { "$ref": "List.LimitsReturned", "required": true },
"shares": { "$ref": "List.Items.Shares", "required": true }
"sources": { "$ref": "List.Items.Sources", "required": true }
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion xbmc/interfaces/json-rpc/types.json
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@
}
}
},
"List.Items.Shares": {
"List.Items.Sources": {
"type": "array",
"items": {
"extends": "Item.Details.Base",
Expand Down

0 comments on commit bfb20e3

Please sign in to comment.