Skip to content

Commit

Permalink
relaxed .ts filter to 500MB
Browse files Browse the repository at this point in the history
  • Loading branch information
tsynik committed Sep 11, 2023
1 parent 10e282e commit 5bd7056
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import ru.yourok.torrserve.R
import ru.yourok.torrserve.app.App
import ru.yourok.torrserve.atv.Utils
import ru.yourok.torrserve.settings.Settings
import ru.yourok.torrserve.ui.fragments.TSFragment
import ru.yourok.torrserve.utils.Format
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ object TorrentHelper {
File(path).extension.lowercase() == "mts" ||
File(path).extension.lowercase() == "ts"
) {
if (size > 1073741824L)
if (size > 524288000L) // 500MB 1073741824 = 1GB
retList.add(it)
} else
retList.add(it)
Expand Down

0 comments on commit 5bd7056

Please sign in to comment.