Thread: Dialcentral 1.0
View Single Post
epage's Avatar
Posts: 1,684 | Thanked: 1,562 times | Joined on Jun 2008 @ Austin, TX
#168
Originally Posted by icbolsh View Post
okay one issue. It's the same one I had when I installed GV notifier(and later uninstalled it). The LED light keeps going off even when the SMS has been marked as already read. My inbox has to be completely empty before it doesn't go off again. I see that when you read a message in DC it marks it as read in GV.
.
Originally Posted by Clockwork View Post
I've got the same problem with the led not going off.

Edit: Running the script provided for manually shutting off the led doesn't work ether. I figured it wouldn't but...
Right now the way we decide if there is a new message is very simplistic. It downloads all of your messages and performs a diff between a previous download and the current. The files are

Code:
~/.dialcentra/snapshot_voicemail.json
~/.dialcentra/snapshot_voicemail.old.json
~/.dialcentra/snapshot_sms.json
~/.dialcentra/snapshot_sms.old.json
~/.dialcentra/snapshot_missed.json
~/.dialcentra/snapshot_missed.old.json
The files at worst contain labels applied to the items. If someone would feel comfortable sending them to me, or if nothing else post here the results of "ls -l ~/.dialcentral" than I can try and figure out what is going on.

Also if someone could manually run "alarm_notify.py" and "led_handler.py" and send me the debug prints that could be helpful.

Looking at things, the content I download includes unread counts. I could also add a check to not give a notification if the unread counts are 0

EDIT: I think I have an idea of why its causing issues. The content we are caching has "relative time" in it which is "constantly" changing. Looking into a fix
__________________
770, n810, n900, Ideapad S10-3t
TheOneRing, DialCentral, Gonvert, Quicknote, Multilist, ejpi, nQa, Waters of Shiloah
Programming Blog

Last edited by epage; 2009-08-17 at 23:26.
 

The Following User Says Thank You to epage For This Useful Post: