diff --git a/scripts/store/setters/src_country.js b/scripts/store/setters/src_country.js deleted file mode 100644 index 6eaa9d4d30..0000000000 --- a/scripts/store/setters/src_country.js +++ /dev/null @@ -1,13 +0,0 @@ -const { file } = require('../../core') -const countries = require('../../data/countries') - -module.exports = function ({ filepath }) { - if (filepath) { - const basename = file.basename(filepath) - const [_, code] = basename.match(/([a-z]{2})(|_.*)\.m3u/i) || [null, null] - - return code ? countries[code.toUpperCase()] : null - } - - return null -}