Before we switched over to a database instead of json, if the index file was empty you would see a nice error.
Run movielst PATH to index your movies directory.
This changed because we only checked for if the index file exists, not if it contains entries. With the database we create the file at start if it does not exists.
Now we see :
>movielst
+-------+-------+------+---------+--------+------+
| TITLE | GENRE | IMDB | RUNTIME | TOMATO | YEAR |
+-------+-------+------+---------+--------+------+
Before we switched over to a database instead of json, if the index file was empty you would see a nice error.
Run movielst PATH to index your movies directory.
This changed because we only checked for if the index file exists, not if it contains entries. With the database we create the file at start if it does not exists.Now we see :