Damien Elmes
b165ef3980
fix another tmpdir() reference
2012-07-19 21:00:28 +09:00
Damien Elmes
bd80f31c48
no need to exclude/dedupe audio anymore
...
because audio is stripped from FrontSide, we don't need to jump through hoops
to ensure audio plays correctly anymore
2012-07-15 16:46:34 +09:00
Damien Elmes
5c8f45b2c4
make question replaying a deck property; add exclude arg to play
2012-07-04 18:19:05 +09:00
Damien Elmes
b415aa531e
possible fix for mplayer video quit
2012-05-27 00:16:26 +09:00
Damien Elmes
89eea5f964
clearer message when mplayer missing
2012-04-26 15:01:32 +09:00
Damien Elmes
53c455ff1f
fix sound file return when not encoding
2012-04-24 15:52:10 +09:00
Damien Elmes
2f2a483a49
when queue cleared, force current audio to stop
2012-04-11 20:17:56 +09:00
Damien Elmes
cebcce4a34
race condition in sound code
2012-03-25 00:32:59 +09:00
Damien Elmes
7d3698e2c7
don't play audio files more than once
2012-03-24 23:58:37 +09:00
Damien Elmes
1800f30776
correctly detect when we don't have a deck conf
2012-01-30 07:31:15 +09:00
Damien Elmes
92ee7597a9
make sure we zero the queue when clearing it
2012-01-24 22:59:52 +09:00
Damien Elmes
302541e0c0
fix some audio issues
...
- add a pause between feeding mplayer multiple files, as it loses some of them
otherwise
- in order to do the above, we use mplayerEvt only as a flag and don't make
the main thread wait anymore
- use a different temporary name for each audio file on windows so we can
queue up multiple files at a time
2012-01-24 22:57:39 +09:00
Damien Elmes
5129913f25
fix audio playing on win32
2011-12-16 08:49:27 +09:00
Damien Elmes
9bcfc9e1d4
use devnull instead of reader thread; fix cleanup code
...
thanks to robert siemer for the devnull idea
2011-12-11 03:34:51 +09:00
Damien Elmes
279a942642
deck -> collection
2011-11-23 17:47:44 +09:00
Damien Elmes
5da3bba1df
initial work on media syncing
2011-10-03 12:45:08 +09:00
Damien Elmes
344b111b80
centralize all tmp dir access
2011-04-28 09:24:03 +09:00
Damien Elmes
2dfdfad6f2
update license link
2011-04-28 09:24:01 +09:00
Damien Elmes
8fcc6b3085
gpl3->agpl
2011-04-28 09:24:01 +09:00
Damien Elmes
95b3f60353
strip sox munging
2011-04-28 09:24:01 +09:00
Damien Elmes
82d006d145
strip noise profile code
2011-04-28 09:24:01 +09:00
Damien Elmes
ab3a86d44e
add noautosub arg to mplayer
2011-04-28 09:24:01 +09:00
Damien Elmes
7acda0f06d
remove some unused hooks
2011-04-28 09:23:55 +09:00
Damien Elmes
174b13f7df
speed up new card fetching, add a text factory arg to the db, fix stopMplayer()
2011-04-28 09:23:55 +09:00
Damien Elmes
9421a037f6
remove self explanatory module docstrings; strip trailing whitespace
2011-04-28 09:21:07 +09:00
Damien Elmes
b8711fe853
fix win32 audio issue when temp dir has foreign chars
2011-01-18 02:22:55 +09:00
Damien Elmes
f7a813831c
don't error out if sound is missing on win32
2011-01-14 05:28:32 +09:00
Damien Elmes
eec317bfc3
work around mplayer on win32 not handling foreign characters
2011-01-13 21:27:35 +09:00
Damien Elmes
7cb17e6e8d
restart mplayer if it's died
2011-01-07 21:42:24 +09:00
Damien Elmes
d717be8849
move to a thread event to fix race condition
...
The old conditional objects had a problem where the calling code was
notifyAll()ing before the helper threads had started waiting.
2011-01-04 12:32:33 +09:00
Damien Elmes
3a7f8fdc7a
change win32 mplayer testing location
2011-01-04 11:59:24 +09:00
Damien Elmes
5a9c75dfe4
don't stop audio playing on clear
2011-01-03 13:01:05 +09:00
Damien Elmes
d56bddea2d
refactor sound code
...
this addresses a bug where mplayer was sometimes not being restarted when
opening a new deck, and should remove the need for atexit or hacks in the GUI
code to make sure mplayer is closed
2010-12-28 03:53:30 +09:00
Damien Elmes
a18abb0f97
add timestamp to recording files
2010-12-27 04:32:25 +09:00
Damien Elmes
e3838464a2
use rec instead of tmp for recording name
2010-12-11 02:20:36 +09:00
Damien Elmes
8e9d14a0fd
avoid passing the second fade argument, as it seems to be more robust
2010-11-16 18:04:04 +09:00
Damien Elmes
d1f1f914ad
python2.7 win32 compat fix
2010-10-23 13:58:03 +09:00
Damien Elmes
ecb6dbe69a
unicode in error messages
2010-07-26 20:59:56 +09:00
Damien Elmes
554d7021e0
don't specify an input index by default
2010-04-21 13:31:59 +09:00
Damien Elmes
c3833a6a10
quote loadfile cmd
2009-11-08 14:47:17 +09:00
Damien Elmes
76376d9040
move the simple player code into a plugin
2009-09-26 23:05:30 +09:00
Damien Elmes
faea67e14b
add primitive player back, and fall back to it on osx 10.3
2009-09-26 08:57:36 +09:00
Damien Elmes
03ae1d6ca7
patch from saturnien to make mp3 encoding optional
2009-09-06 17:16:02 +09:00
Damien Elmes
4be3de322c
tweak pyaudio error message
2009-07-18 18:11:57 +09:00
Damien Elmes
a12878347a
force always on top for the video window, add a hook to fix an osx issue
2009-06-26 10:51:22 +09:00
Damien Elmes
1bd5c988b1
create mplayer threads lazily on play, make sure not to deadlock
2009-06-25 04:35:58 +09:00
Damien Elmes
a4d1c55d4f
if mplayerCond is none, finish thread
2009-06-23 06:29:52 +09:00
Damien Elmes
b079df2a13
don't use communicate(), catch win32 error
2009-06-18 07:11:39 +09:00
Damien Elmes
d0653f2f7a
make mplayer threads daemons
2009-06-18 06:43:12 +09:00
Damien Elmes
22efbaaf81
fix mplayer blocking on debug output
2009-06-18 06:39:21 +09:00