mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Use channel name for RSS channel feeds
This commit is contained in:
parent
f0da580245
commit
0099b5092e
1 changed files with 4 additions and 0 deletions
|
@ -299,6 +299,10 @@ public class FeedHandlers {
|
||||||
entry.setTitle(video.getTitle());
|
entry.setTitle(video.getTitle());
|
||||||
entry.setPublishedDate(new Date(video.getUploaded()));
|
entry.setPublishedDate(new Date(video.getUploaded()));
|
||||||
entries.add(entry);
|
entries.add(entry);
|
||||||
|
|
||||||
|
if (filtered.size() == 1) {
|
||||||
|
feed.setTitle(channel.getUploader());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
feed.setEntries(entries);
|
feed.setEntries(entries);
|
||||||
|
|
Loading…
Reference in a new issue