Xbmc not working for blind users.
(2014-04-25, 04:48)eckythump Wrote: I probably should've been a little clearer for that suggestion. I was thinking this might be worth doing for when PLAYSFX_HAS_USECACHE is False where we currently use time.time(). My thinking was that if you're on a system that's inevitably going to run out of memory because of the wav's being cached, using a hash will at least delay that a bit longer as it'll be able to make use of the cache occasionally for things it's said before.
I'll go ahead and add that in, it's an easy change Smile
(2014-04-25, 04:48)eckythump Wrote: I don't think it is a memory issue, at least, not in the sense that it's running out. I have no issues at all on 0.95.5 with speech of any duration. It only seems to have started since the playsf usecache feature appeared in xbmc, and I suspect there's something weird going on there. Especially since it happens consistently on the same strings. I can go boot my pi now from being off, go System -> settings -> addons -> enabled addons -> services -> simple addon downloader somethingorother, and boom, it'll die, guaranteed, even though there's plenty of RAM left. I've also tested using non-tmpfs for writing the wavs and it happened then, too. I'll go and double check that right now...

Yep, dies regardless of tmpfs or not.

Hopefully OpenELEC 3.95.7 will appear soon. I'll be very interested to see how it goes. I really do think the issue is in XBMC, not the addon and I'd hate to see you spending time looking for bugs that aren't in your code. If I have time later, I'll see about reporting this as an OpenELEC bug.
I guess we can wait and see if it goes away in the next version. If it's still there, I'll see if I can find any commits betwwen .5 and .6 that could possibly be affecting playSFX().
Did you happen do any testing that would make it clear that the issue is in fact with playSFX(). It just occurred to me that it could be something else in the code chain between getting the text and speaking it, especially since it has problems with specific texts. I think I'll do some testing - find a text it dies on, then comment out the playSFX() code and see if it still dies.


Messages In This Thread
[No subject] - by natethomas - 2011-12-19, 05:25
[No subject] - by Ned Scott - 2011-12-19, 05:43
[No subject] - by Banjer - 2011-12-19, 18:58
[No subject] - by jhsrennie - 2011-12-19, 19:05
[No subject] - by Anders74 - 2011-12-20, 17:54
[No subject] - by Anders74 - 2011-12-20, 17:55
[No subject] - by Ned Scott - 2011-12-20, 19:08
[No subject] - by skybird1980 - 2011-12-21, 00:47
Xbmc not working for blind users. - by hellow - 2014-03-15, 16:55
v0.0.34 - by ruuk - 2014-03-31, 01:28
v0.0.37 - by ruuk - 2014-04-16, 02:20
v0.0.38 - by ruuk - 2014-04-17, 02:54
v0.0.40 - by ruuk - 2014-04-18, 19:59
v0.0.42 - by ruuk - 2014-04-24, 02:29
v0.0.43 - by ruuk - 2014-04-24, 21:39
v0.0.44 - by ruuk - 2014-04-27, 23:32
v0.0.46 - by ruuk - 2014-04-29, 03:15
v0.0.47 - by ruuk - 2014-05-01, 02:25
v0.0.48 - by ruuk - 2014-05-02, 22:02
v0.0.49 - by ruuk - 2014-05-06, 01:49
v0.0.51 - by ruuk - 2014-05-08, 08:08
v0.0.52 - by ruuk - 2014-05-09, 19:16
v0.0.53 - by ruuk - 2014-05-11, 01:22
v0.0.54 - by ruuk - 2014-05-15, 04:05
v0.0.56 - by ruuk - 2014-05-22, 02:04
v0.0.59 - by ruuk - 2014-05-23, 19:42
v0.0.60 - by ruuk - 2014-05-23, 21:35
RE: Xbmc not working for blind users. - by ruuk - 2014-04-25, 19:49
v0.0.62 - by ruuk - 2014-05-25, 03:09
v0.0.63 - by ruuk - 2014-05-25, 22:14
v0.0.64 - by ruuk - 2014-05-26, 03:07
v0.0.65 - by ruuk - 2014-05-26, 15:19
v0.0.66 - by ruuk - 2014-05-31, 21:01
Logout Mark Read Team Forum Stats Members Help
Xbmc not working for blind users.5