Commit Graph

5429 Commits

Author SHA1 Message Date
Warren Dukes
ec234e9855 move time from tag info to song info.
also, if we can't get the time, then don't add the song to the db!

git-svn-id: https://svn.musicpd.org/mpd/trunk@236 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-10 02:38:31 +00:00
Warren Dukes
1459ee22fe clean up logging for creating and updating the db
git-svn-id: https://svn.musicpd.org/mpd/trunk@235 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-09 23:07:26 +00:00
Warren Dukes
efa083c887 when stripping return chars, just replace them with spaces
git-svn-id: https://svn.musicpd.org/mpd/trunk@234 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-09 22:50:52 +00:00
Warren Dukes
e129640141 remove empty directories
git-svn-id: https://svn.musicpd.org/mpd/trunk@233 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-09 22:48:35 +00:00
Warren Dukes
8d95265cc8 use BIGENDIAN for ov_read, instead of changing endianness unneccessarily
git-svn-id: https://svn.musicpd.org/mpd/trunk@232 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-09 21:42:08 +00:00
Warren Dukes
197c046b02 exit on any unknown line in the db
git-svn-id: https://svn.musicpd.org/mpd/trunk@231 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-09 20:59:10 +00:00
Warren Dukes
13a38d3580 lets exit on unknown line in songinfo db
git-svn-id: https://svn.musicpd.org/mpd/trunk@230 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-09 20:58:31 +00:00
Warren Dukes
6599e05a25 strip return characters that are in the id3 tags
git-svn-id: https://svn.musicpd.org/mpd/trunk@229 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-09 20:55:51 +00:00
Warren Dukes
ff1659ed4c fix a compiler error, bug for bigendian
git-svn-id: https://svn.musicpd.org/mpd/trunk@228 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-09 16:55:00 +00:00
Warren Dukes
4a4a3113b5 change release date for 0.10.1
git-svn-id: https://svn.musicpd.org/mpd/trunk@222 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-07 16:59:52 +00:00
Warren Dukes
6eb6985ac1 make some usleeps longer, just to try to stave off busy waiting
git-svn-id: https://svn.musicpd.org/mpd/trunk@219 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-06 23:25:32 +00:00
Warren Dukes
e74eb1cf69 forgot note that libmad and libid3tag were upgraded
git-svn-id: https://svn.musicpd.org/mpd/trunk@214 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-06 16:35:53 +00:00
Warren Dukes
ac8884d3a5 git-svn-id: https://svn.musicpd.org/mpd/trunk@213 09075e82-0dd4-0310-85a5-a0d7c8717e4f 2004-03-06 15:59:22 +00:00
Warren Dukes
9ddfd9aa50 git-svn-id: https://svn.musicpd.org/mpd/trunk@210 09075e82-0dd4-0310-85a5-a0d7c8717e4f 2004-03-05 19:43:16 +00:00
Warren Dukes
936d53bc61 make a set of nested if statements less ambigous
git-svn-id: https://svn.musicpd.org/mpd/trunk@209 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-05 19:05:23 +00:00
Warren Dukes
7dd33a490b make chunk_size 1020, so its divisible for 8,16,24, and 32-bit audio
git-svn-id: https://svn.musicpd.org/mpd/trunk@207 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-05 16:06:13 +00:00
Warren Dukes
09efb14dbb fix crossfading issue with ogg
problem was, ov_read doesn't always fill to CHUNK_SIZE
and we were moving chunk on every ov_read, instead now we only
dump the buffer when its full

git-svn-id: https://svn.musicpd.org/mpd/trunk@206 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-05 16:02:47 +00:00
Warren Dukes
8b214b7c8c fix a minor issue!
git-svn-id: https://svn.musicpd.org/mpd/trunk@205 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-05 14:39:51 +00:00
Warren Dukes
a8d3895e32 fix a booboo
git-svn-id: https://svn.musicpd.org/mpd/trunk@204 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-05 13:25:39 +00:00
Warren Dukes
1cf07bfa40 skip over all bad frames
git-svn-id: https://svn.musicpd.org/mpd/trunk@203 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-05 13:06:31 +00:00
Warren Dukes
170824db8c put it back the way it was
git-svn-id: https://svn.musicpd.org/mpd/trunk@202 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-05 13:01:58 +00:00
Warren Dukes
cc23d2e7e9 mute all frames that are "SKIP"'d
git-svn-id: https://svn.musicpd.org/mpd/trunk@201 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-05 12:59:29 +00:00
Warren Dukes
db82d2fc8c lets SKIP all recorable stream errors
git-svn-id: https://svn.musicpd.org/mpd/trunk@200 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-05 12:48:57 +00:00
Warren Dukes
4e4faf6174 see if we can skip past tags
git-svn-id: https://svn.musicpd.org/mpd/trunk@199 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-05 01:29:08 +00:00
Warren Dukes
124854ff51 obotomize mixing a bit
git-svn-id: https://svn.musicpd.org/mpd/trunk@198 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-05 00:19:02 +00:00
Warren Dukes
92692c0249 cleanup a few errors when compiling libmad and libid3tag
git-svn-id: https://svn.musicpd.org/mpd/trunk@197 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-04 23:29:20 +00:00
Warren Dukes
e2d2baece9 update to 0.15.1 of libmad and libid3tag
git-svn-id: https://svn.musicpd.org/mpd/trunk@196 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-04 23:19:57 +00:00
Warren Dukes
7be523c015 clean up a bit
git-svn-id: https://svn.musicpd.org/mpd/trunk@195 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-04 20:50:32 +00:00
Warren Dukes
4893e94dae git-svn-id: https://svn.musicpd.org/mpd/trunk@194 09075e82-0dd4-0310-85a5-a0d7c8717e4f 2004-03-04 20:45:49 +00:00
Warren Dukes
0d22fa6e64 ok, don't use AC_CHECK_LIBM, just use my own homebrewed version
git-svn-id: https://svn.musicpd.org/mpd/trunk@192 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-03 18:17:14 +00:00
Warren Dukes
0a79b8a808 use AC_CHECK_LIBM instead
git-svn-id: https://svn.musicpd.org/mpd/trunk@191 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-03 18:09:48 +00:00
Warren Dukes
afa0cd7883 check to see if we need -lm
git-svn-id: https://svn.musicpd.org/mpd/trunk@190 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-03 17:57:55 +00:00
Warren Dukes
ac2be01374 fix gcc-2.95 compilation errors
git-svn-id: https://svn.musicpd.org/mpd/trunk@172 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-03 00:01:43 +00:00
Warren Dukes
4aec92fd6e rewrite error message for wrong number of config args
git-svn-id: https://svn.musicpd.org/mpd/trunk@171 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-02 20:55:00 +00:00
Warren Dukes
1a50453541 password, not passwd, in examples
git-svn-id: https://svn.musicpd.org/mpd/trunk@170 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-02 20:33:12 +00:00
Warren Dukes
0f4f4fd3db git-svn-id: https://svn.musicpd.org/mpd/trunk@168 09075e82-0dd4-0310-85a5-a0d7c8717e4f 2004-03-02 18:50:15 +00:00
Warren Dukes
afbae2e6a4 don't use automake-1.8
git-svn-id: https://svn.musicpd.org/mpd/trunk@154 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-02 13:12:20 +00:00
Warren Dukes
4904e64ff1 autogen.sh runs configure now
git-svn-id: https://svn.musicpd.org/mpd/trunk@152 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-02 12:43:28 +00:00
Warren Dukes
d114e1fdd6 update with additional oss volume bug fix
git-svn-id: https://svn.musicpd.org/mpd/trunk@130 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-01 13:49:38 +00:00
Warren Dukes
ce2c6845a2 memset erroredFile to 0
git-svn-id: https://svn.musicpd.org/mpd/trunk@127 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-01 03:35:52 +00:00
Warren Dukes
e742f2be2c fix a typecast
git-svn-id: https://svn.musicpd.org/mpd/trunk@126 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-01 03:34:01 +00:00
Warren Dukes
f515692aa9 fix a bug where getting OS Mixer volume may fail, and we were closing
the fd, but didn't mark anything indicated the fd was close, so chaos
ensued.  Here, we just remove the close() statement and assume it was
just a fluke!!

git-svn-id: https://svn.musicpd.org/mpd/trunk@125 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-29 08:37:21 +00:00
Warren Dukes
41b63bbe47 fix a stupid bug where i was storing the decode_pid directorly from fork()
call, and since decode_pid is shared now, it may get assigned zero after
the parent assigns it the true pid, not good!!

git-svn-id: https://svn.musicpd.org/mpd/trunk@124 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-29 08:10:52 +00:00
Warren Dukes
cfd0e18dc4 fix some errors with short and long
git-svn-id: https://svn.musicpd.org/mpd/trunk@117 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-28 14:38:55 +00:00
Warren Dukes
fe9f236b4f update
git-svn-id: https://svn.musicpd.org/mpd/trunk@110 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-27 23:57:44 +00:00
Warren Dukes
821355361c audio cleanups
git-svn-id: https://svn.musicpd.org/mpd/trunk@109 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-27 23:13:26 +00:00
Warren Dukes
5622edbc98 cleanup audio code some
git-svn-id: https://svn.musicpd.org/mpd/trunk@108 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-27 23:05:56 +00:00
Warren Dukes
8b19235b61 put decode_pid in shared mem, so if player process dies, the master
can still kill the decode process.

git-svn-id: https://svn.musicpd.org/mpd/trunk@107 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-27 22:25:06 +00:00
Warren Dukes
ad4246d6cb add db_playtime to stats
git-svn-id: https://svn.musicpd.org/mpd/trunk@99 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-27 15:40:54 +00:00
Warren Dukes
79effd62e1 display db_playtime in stats
git-svn-id: https://svn.musicpd.org/mpd/trunk@98 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-27 15:39:19 +00:00