goulinkh / podcast-cli

Podcast CLI player

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

take time to load podcast-cli

Monirzadeh opened this issue · comments

one of advantage of go is the speed
podcast-cli try to get rss data everytime you launch that.
this method has two important Cons

  1. if you don't have access to the internet you can't use that
  2. startup time is so slow

for a better experience:

  1. it is better to podcast-cli save data in a local database (something like sqlite).
  2. podcast-cli read data from local database and load ui.
  3. when load database and gui finish, it try to update feeds in background.

it make startup time so much faster

Thank you for your ideas. It's interesting to have a sort of cache system, I am not sure that you will be able to use the app without Internet (It wasn't my intention) I think it's better to stream the audio file directly from internet, this way you download only the data that you need.
A useful use case of streaming instead of downloading, is when you listen only to the intro of a podcast and don't like the episode.

my internet connection is not stable enough and it is limited too so listen to downloaded file tis so crucial
if it possible please add option to save to the disk if anybody need that.

Okey, I will add an option to launch the app in download mode.