Use channel name for RSS channel feeds

This commit is contained in:
Bnyro 2023-01-09 18:15:28 +01:00
parent f0da580245
commit 0099b5092e

View file

@ -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);