fogleman / FeedNotifier

Feed Notifier is a Windows application that resides in the system tray and displays pop-up notifications on your desktop when new items arrive in your subscribed RSS or Atom feeds
http://www.feednotifier.com/
BSD 3-Clause "New" or "Revised" License
165 stars 49 forks source link

How to set the default duration and polling interval? #85

Closed onlinesid closed 7 years ago

onlinesid commented 7 years ago

I'm trying to set these two defaults for installation:

Set popup duration to infinite Set polling interval to 2 minutes

For popup duration, I tried POPUP_DURATION to 0 or -1 but that does not work.

I tried setting DEFAULT_POLLING_INTERVAL = 60 * 2 but it always defaulted to 1 day.

Please help

onlinesid commented 7 years ago

Actually I can see errors in the log:

WARNING: yacc table file version is out of date WARNING: Couldn't open 'parser.out'. [Errno 2] No such file or directory: 'C:\Program Files (x86)\Feed Notifier\library.zip\parser.out' Generating LALR tables WARNING: Couldn't create 'parsetab'. [Errno 2] No such file or directory: 'C:\Program Files (x86)\Feed Notifier\library.zip\parsetab.py' C:\Program Files (x86)\Feed Notifier\notifier.exe:39: wxPyDeprecationWarning: Using deprecated class PySimpleApp.

What does that mean?

fogleman commented 7 years ago

POPUP_AUTO_PLAY = False for infinite duration.

Feed Notifier tries to guess a good interval based on the RSS feed:

https://github.com/fogleman/FeedNotifier/blob/786111338790e0031c58b4286a361af3452442b8/util.py#L141

onlinesid commented 7 years ago

I've figured it out now, thanks :+1: