Add TODO for enclosure file size check

This commit is contained in:
Bart De Vries 2021-04-09 00:03:19 +02:00
parent 8159e5a2ce
commit 71c86d5645
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ Enclosure::Enclosure(Entry *entry)
m_url = query.value(QStringLiteral("url")).toString();
m_playposition = query.value(QStringLiteral("playposition")).toInt();
// TODO: what to do if the rss-reported filesize doesn't match the real file size???
QFile file(path());
if(file.size() == m_size) {
m_status = Downloaded;