Roshan-R / termv

A terminal iptv player written in bash
GNU General Public License v3.0
232 stars 21 forks source link

[Feature] Add option to update the json file #8

Closed Roshan-R closed 3 years ago

Roshan-R commented 3 years ago

We could download the new json file to a temporary directory like /tmp for linux and then replace the file with the new one. This way we can make sure it replaces the file only if the download was complete

image

We could use something like this for checking whether the file was updated, but I'm not sure about the reliability of this methord