![]() |
Re: [HOW TO] Assign Ringtone by Caller-group for N900
okay. I guess that is why the script hangs on start. am not sure... anyways thanks for offering the start script. Just to let you know, the script hangs after a while, say like 4hrs etc. do u expect that? also it sometimes picks the caller tune that shud have been for the prev call!!! is that becos of the race condition?
|
Re: [HOW TO] Assign Ringtone by Caller-group for N900
I love the script... I have a suggestion (and a neat tip) that I'd love to see integrated, but I'm not totally up on the dbus stuff enough to do it. Maybe you are?
One interesting feature/hack for texting groups of people is that you can use the "Nickname" field to group people together. If you gave 5 people the nickname "GroupA", for example, then type GroupA into the To: field for a new SMS and hit the To: button, it lists those 5 people for quick selection. I use this already for texting groups of friends. I would love if this script could (instead of making it's own mini database) use calls to ask the address book for people with a Nickname containing "GroupA" to setup the ring tone (and/or text tone?). That would make grouping a lot more integrated. I'm hopeful that someone will make an extension (like the IM extensions) that adds a "Group" field to the address book that everyone can key off of, instead of (ab)using the Nickname field. :) |
Re: [HOW TO] Assign Ringtone by Caller-group for N900
Thank you for giving an extensive test to my script ^^
I wondered if the process would be reniced after idling for quite sometime. I've been testing the script all day but hasn't encountered the race condition...yet... Let me try if it helps if the process started with renice. |
Re: [HOW TO] Assign Ringtone by Caller-group for N900
Quote:
However, reading the address book would further delay the ringtone changing process and cause even worse race condition...I must find a way to hold a call before the ringtone is changed. |
Re: [HOW TO] Assign Ringtone by Caller-group for N900
i have used renice. thanks for this tip. set it to the highest priority. lets c how this affects. will keep u posted matey.
|
Re: [HOW TO] Assign Ringtone by Caller-group for N900
ok i guess there is no effect. i does hang after a while!!
|
Re: [HOW TO] Assign Ringtone by Caller-group for N900
hang? The entire device locked?
|
Re: [HOW TO] Assign Ringtone by Caller-group for N900
no no.... just the program. device is fine. Anyways, did u guys have a look at eSpeakCaller. Some ideas cud be borrowed from that. esp one global settings for normal profile, and then other bits of configs for exceptions. It guess it also uses py scripts. Just a thought matey, may be wrong.
|
Re: [HOW TO] Assign Ringtone by Caller-group for N900
First of all let me say: Thank you 9000!
I tried implementing this different ways but ended up on the same place you did - pretty much same constraints: only wav files (for now) and trying to compete with the phone application to change the symbolic link before it opens the file. I don't mean to say that I have developed a complete solution for this problem but thought that some people on this thread may want to know that I just release an application (MyContacts) that allow for some ring tone by group. |
Re: [HOW TO] Assign Ringtone by Caller-group for N900
Quote:
|
All times are GMT. The time now is 02:06. |
vBulletin® Version 3.8.8