manolomartinez / greg

A command-line podcast aggregator
GNU General Public License v3.0
298 stars 37 forks source link

greg data save creates empty files instead - also cannot update forward from past date #27

Closed ghost closed 9 years ago

ghost commented 9 years ago

With greg on Ubuntu 14.04 when I run an edit the data is not saved, for example running:

greg edit 'Name of Podcast' -d 2015-05-15

Instead of saving data into the file ~/.local/share/greg/data/Name of Podcast it just wipes the file and leaves it empty.

Any idea why this is happening?

manolomartinez commented 9 years ago

Hi, please see if the fix I've pushed does it.

Thanks for reporting!

Manolo

ghost commented 9 years ago

Perfect, thanks for fixing!! (now it's updating the files, but only backwards, see below)

ghost commented 9 years ago

Oops, now it won't update to a newer date. For instance, setting a Podcast back to a date in Jan 2015 works fine, but I cannot then update that same Podcast forward to March 2015. So I can date backwards but not forwards.

manolomartinez commented 9 years ago

All right, I think greg now behaves as it should every time. But please do check it and let me know if I'm still missing something!

Thanks M

ghost commented 9 years ago

Yep it's works well now, I can date forwards and backwards in time. Thanks again!! :+1: :trophy: