Skip to content

Commit 0755e4c

Browse files
committed
Add completed to generated feed
1 parent 149a4e5 commit 0755e4c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

core/src/com/biglybt/core/subs/impl/SubscriptionRSSFeed.java

+7
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,13 @@
288288
pw.println( "<vuze:rank>" + rank + "</vuze:rank>" );
289289
}
290290

291+
Long completed = (Long)result.getProperty( SearchResult.PR_COMPLETED_COUNT );
292+
293+
if ( completed != null && completed >= 0){
294+
295+
pw.println( "<completed>" + completed + "</completed>" );
296+
}
297+
291298
String cat = (String)result.getProperty( SearchResult.PR_CATEGORY );
292299

293300
if ( cat != null && !cat.isEmpty()){

0 commit comments

Comments
 (0)