Skip to content

Commit

Permalink
Disable minimum file size check for .srt files. Refs #11618
Browse files Browse the repository at this point in the history
  • Loading branch information
stichnot committed Jun 23, 2013
1 parent 32966e4 commit c691ddf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mythtv/programs/mythbackend/mainserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1678,7 +1678,8 @@ void MainServer::HandleAnnounce(QStringList &slist, QStringList commands,
for (it = checkfiles.begin(); it != checkfiles.end(); ++it)
{
if (dir.exists(*it) &&
QFileInfo(dir, *it).size() >= kReadTestSize)
((*it).endsWith(".srt") ||
QFileInfo(dir, *it).size() >= kReadTestSize))
{
retlist<<*it;
}
Expand Down

0 comments on commit c691ddf

Please sign in to comment.