Warren Dukes
0d45fa2001
tidy up Makefile a bit
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1791 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-04 13:57:26 +00:00
Warren Dukes
c173c74660
fix same seeking past end of file issue for mp4, please test DJMario
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1784 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-03 14:49:10 +00:00
Warren Dukes
643d7e77b1
for mp3's, skip all initial frames that aren't layer 3 so we can be sure to
...
get the correct bitrate for computing the song length
git-svn-id: https://svn.musicpd.org/mpd/trunk@1783 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-03 14:33:21 +00:00
Warren Dukes
26741dcdeb
fix for when trying to seek past the end of an mp3
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1782 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-03 14:13:43 +00:00
Warren Dukes
9e246a6ab2
rename idToNum and numToId to idToPostion and positionToId - from tw-nym
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1734 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-30 02:12:49 +00:00
Warren Dukes
76a1975b8e
spelling fixes from normalperson
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1710 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-29 01:24:49 +00:00
Warren Dukes
51dd5c2342
remove an extra line of code
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1709 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-29 01:12:47 +00:00
Warren Dukes
0e419d38c2
set flac_metadata_respond(VORBIS_COMMENT) so that flac responds to vorbis comments and returns these to the metadata callback (so we can properly set the replaygain state)
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1707 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-28 23:40:08 +00:00
Warren Dukes
178e6c5263
fix some memory leaks in flac_plugin - from normalperson
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1699 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-28 12:51:26 +00:00
Warren Dukes
366e370cb0
patch from normalperson
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1679 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-26 17:33:42 +00:00
Warren Dukes
188011ac52
patch from np for orderPlaylist()
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1673 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-26 04:34:28 +00:00
Warren Dukes
47873cd858
fix bug in ogg replaygain
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1662 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-25 21:10:14 +00:00
Warren Dukes
77bd4ec428
slight fix to replay gain tags for oggs
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1661 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-25 18:11:31 +00:00
Warren Dukes
dc4aeafee0
very minor tweak to clearMetabufferChunks
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1650 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-24 16:25:06 +00:00
Warren Dukes
d8eed0241b
ok, addParentPathToDB now works!
...
also, recursive directory checking for updating on a particular song path now work
git-svn-id: https://svn.musicpd.org/mpd/trunk@1624 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-23 05:08:01 +00:00
Warren Dukes
b8d2ef8768
update now ignores/recognizes recursive directories
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1623 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-23 04:20:35 +00:00
Warren Dukes
0083b07395
now we avoid recursive symlinks on creating the db
...
still needs to be implemented for updating
git-svn-id: https://svn.musicpd.org/mpd/trunk@1622 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-23 03:33:35 +00:00
Warren Dukes
8933f5d416
only call opendir() once when updating
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1608 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-22 01:04:13 +00:00
Warren Dukes
b019545756
call stat() a few less times on update
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1607 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-22 00:55:23 +00:00
Warren Dukes
43afc87cc5
fix big boo boo in last commit: isFile() { myStat==0 }
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1599 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-21 14:32:13 +00:00
Warren Dukes
598162e395
todo update
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1597 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-21 04:11:23 +00:00
Warren Dukes
49455434f4
don't use fucking sprintf
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1596 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-21 00:48:34 +00:00
Warren Dukes
e0cbce6d38
maybe this matters ?
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1595 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-21 00:47:18 +00:00
Warren Dukes
fd229dae57
maybe this fixes something ?
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1594 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-21 00:39:08 +00:00
Warren Dukes
cdb67649a6
todo update
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1593 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-21 00:22:02 +00:00
Warren Dukes
b7dcbb1bb3
http proxy authentication, can someone test?
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1590 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-20 21:16:02 +00:00
Warren Dukes
ba798c5e65
http proxy mostly working, need to implement http authentication
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1588 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-20 20:15:05 +00:00
Warren Dukes
6eb6c454be
fix qball's bug, crossfading playing with funny samplerate
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1585 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-20 17:07:13 +00:00
Warren Dukes
d8dbd29c2d
add http proxy config options (no http proxy code yet)
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1584 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-20 14:00:34 +00:00
Warren Dukes
5c6765ea52
use getdtablesize() to get the max number of fd's
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1579 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-20 04:37:17 +00:00
Warren Dukes
9db4044fbd
fix poping at the beginng of mp3's
...
Theory: in previous versions, dither struct was static, which by definetion means its initiallized as all O's. However, i removed static from the dither structbut then its not initialized. Thus dithering started with some random stuff in the bit buckets. Should be fixed now.
git-svn-id: https://svn.musicpd.org/mpd/trunk@1578 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-20 01:37:18 +00:00
Warren Dukes
486d4acfb2
put CHUNK_SIZE back
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1577 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-20 00:50:21 +00:00
Warren Dukes
3af870a14c
fix playlistid command so it can take an argument
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1575 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-19 23:59:26 +00:00
Warren Dukes
a5bdf6aaeb
fix move command
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1574 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-19 23:43:46 +00:00
Warren Dukes
dbd79a6b47
fix a few bugs in mp3_decode and minimize alsa underruns by playing silence when switch songs
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1572 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-19 22:27:29 +00:00
Warren Dukes
7f15536683
DEBUG message
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1571 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-19 21:31:53 +00:00
Warren Dukes
0228a4a5ca
uber minor tweaks
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1563 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-19 16:27:48 +00:00
Warren Dukes
e1a94f917d
actually, scratch the last change
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1524 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-17 15:36:37 +00:00
Warren Dukes
4ab66ad1b7
check in configure script if iconv() needs CONST
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1523 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-17 15:32:34 +00:00
Warren Dukes
cbc2825a33
include sys/time.h
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1522 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-17 15:05:15 +00:00
Warren Dukes
2c90e55695
add copyright notices
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1512 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-16 21:52:59 +00:00
Warren Dukes
80dd76db7f
fix C99 stuff for commandError
...
also some slight optimizations to interfacePrintWithFD() and myfprintf()
git-svn-id: https://svn.musicpd.org/mpd/trunk@1503 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-15 18:06:21 +00:00
Warren Dukes
de314b61b5
change ACK error codes
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1484 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-14 21:27:39 +00:00
Warren Dukes
5bd18af775
forget to set playlist.current = 0 when toggling random
...
and doing swapOrder(playlist.current, 0)
git-svn-id: https://svn.musicpd.org/mpd/trunk@1480 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-14 17:01:40 +00:00
Warren Dukes
17c13ea0e8
bug fix for deleting a song when the last song or next to last song is playing and causing playlist.current to be set to -1
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1479 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-14 15:29:55 +00:00
Warren Dukes
600091c3e0
slight bug fix for making sure url's obey the RFC's
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1470 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-13 20:58:22 +00:00
Warren Dukes
c024bca2d6
make swapid and deleteid actually work
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1461 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-13 13:05:19 +00:00
Warren Dukes
593cf2ac86
make seekid actually work
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1460 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-13 13:03:37 +00:00
Warren Dukes
edbe24e2f7
make playid actually work
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1459 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-13 13:02:00 +00:00
Warren Dukes
c637238aba
change 'Num' => 'Pos" for position
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1455 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-13 12:04:07 +00:00
Warren Dukes
b7e0d34b9e
update mpd manpage and sample config file with replaygain and
...
audio_output_format options
git-svn-id: https://svn.musicpd.org/mpd/trunk@1453 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-12 21:27:15 +00:00
Warren Dukes
21703b5edc
change 'current' command to 'currentsong'
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1447 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-12 13:30:16 +00:00
Warren Dukes
aed9c23ec6
when we create log files, be sure to they're umasked to 066
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1443 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-12 02:29:36 +00:00
Warren Dukes
43b355734c
Add WARNING log method. it's the same as ERROR, except that when mpd starts,
...
warnings are buffered until the error log is opened, and then flushed to the
error log.
git-svn-id: https://svn.musicpd.org/mpd/trunk@1442 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-12 02:06:16 +00:00
Warren Dukes
43255a7f63
since stuff like vorbis streams report actual time into stream,
...
not time played, for previous add a hack where we record the difference
in time between previous presses
git-svn-id: https://svn.musicpd.org/mpd/trunk@1440 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-10 21:42:20 +00:00
Warren Dukes
3b1efb5588
minor little cleanups
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1439 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-10 19:48:53 +00:00
Warren Dukes
491027a5fc
todo update
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1433 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-10 04:13:23 +00:00
Warren Dukes
051cfc228d
fix bug where inputStream_httpRead was returning 0 when cnnection closed,
...
but data is still left in the buffer
git-svn-id: https://svn.musicpd.org/mpd/trunk@1425 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-09 18:28:18 +00:00
Warren Dukes
bfaf6cbd9d
fix some streaming metadata issues
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1416 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-09 16:58:33 +00:00
Warren Dukes
d5f7a7745a
debug code for stream name/title
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1415 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-09 16:32:40 +00:00
Warren Dukes
d217505dc6
implemented songid commands: playlistid, playid, seekid, deleteid, moveid, swapid
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1408 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-09 02:50:44 +00:00
Warren Dukes
304639c9a6
implmented ID functions, need to implemented id commands
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1407 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-09 01:30:51 +00:00
Warren Dukes
1ca828c49d
implemented song id's
...
now we just need to implement id commands
git-svn-id: https://svn.musicpd.org/mpd/trunk@1405 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-09 00:18:31 +00:00
Warren Dukes
d0968e0140
fix ack error when attempt to save a playlist that already exists
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1402 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-08 22:43:25 +00:00
Warren Dukes
adc11cb8aa
on random select, move current to the first song played
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1401 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-08 20:16:28 +00:00
Warren Dukes
4959c30678
make enabling random always randomize the entire playlist
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1400 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-08 20:12:10 +00:00
Warren Dukes
6f4a55ea7c
remove "wrap" from buffering control, its not needed, and could potentially
...
create a race condition (but hasn't happened in the last 10 months since
this code was written)
git-svn-id: https://svn.musicpd.org/mpd/trunk@1397 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-08 18:55:16 +00:00
Warren Dukes
1760433061
remove metadata debugging code
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1378 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-07 20:47:00 +00:00
Warren Dukes
5b5dd126aa
i'm a moron
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1377 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-07 20:44:41 +00:00
Warren Dukes
a6fe459ee4
update copyright to 2004 for --version
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1375 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-07 18:54:02 +00:00
Warren Dukes
817e79e3c1
fix bug with --no-create-db
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1373 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-07 16:32:58 +00:00
Warren Dukes
608a15a885
bug fix for metadata again, had an extra "!" in mpdTagsAreEqual()
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1371 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-07 15:00:18 +00:00
Warren Dukes
333c0a6fdd
some fixes to metadata stuff
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1370 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-07 14:16:10 +00:00
Warren Dukes
ae44b7dae5
potential bugfixes for handling metadata in player/decoder
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1369 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-07 12:11:57 +00:00
Warren Dukes
33a147b31e
remove the initial and trailing ' from the icy StreamTitle that shoutcast
...
likes to insert
git-svn-id: https://svn.musicpd.org/mpd/trunk@1366 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-07 05:21:55 +00:00
Warren Dukes
283e34eaae
icy metadata! wahoo
...
still lots some debug code with print out's, so don't bitch about it!
git-svn-id: https://svn.musicpd.org/mpd/trunk@1364 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-07 05:00:56 +00:00
Warren Dukes
74f1c8c018
add ack.h to mpd_headers
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1363 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-07 01:57:07 +00:00
Warren Dukes
62f32ccb01
harden metadatabuffer
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1362 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-06 22:13:23 +00:00
Warren Dukes
33f21b9374
spelling fix for avuton
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1361 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-06 21:37:12 +00:00
Warren Dukes
81720da06d
slightly safer copying of metadataChunk to MpdTag
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1359 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-06 20:34:00 +00:00
Warren Dukes
b29f73c819
mechanism for updating metadata while decoding
...
vorbis comments are updated on the fly for streams
need to decode icy metadata
buffering of metadata needs to be hardened, to ensure that player has already read a particular metachunk or passed over it
git-svn-id: https://svn.musicpd.org/mpd/trunk@1358 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-06 19:41:03 +00:00
Warren Dukes
4e53282469
todo update
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1352 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-06 16:42:14 +00:00
Warren Dukes
a8a8aacdb3
implement list_OK/command_list_ok_begin
...
update COMMANDS
git-svn-id: https://svn.musicpd.org/mpd/trunk@1344 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-05 16:01:44 +00:00
Warren Dukes
69d787b3e1
todo update
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1341 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-05 05:03:00 +00:00
Warren Dukes
c2c34f78dd
new command, plchanges, and also add Num: to songinfo of playlistinfo
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1339 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-05 01:14:37 +00:00
Warren Dukes
744c0fa256
add mackstann to (c)
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1338 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-04 20:36:18 +00:00
Warren Dukes
3f5d9a67fc
todo update
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1335 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-04 20:13:04 +00:00
Warren Dukes
9108df97a0
remove ickiness ness with play on a non existing file setting playlist_state to stop
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1329 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-04 03:15:37 +00:00
Warren Dukes
7d0ffc96e1
simple fix for play -1
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1328 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-04 03:10:54 +00:00
Warren Dukes
915af1e093
add ack.h and change format of error again
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1327 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-04 03:03:48 +00:00
Warren Dukes
fd06660e0b
change format of error stuff
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1326 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-04 03:00:27 +00:00
Warren Dukes
630d33b234
finish ack error codes
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1325 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-04 02:51:54 +00:00
Warren Dukes
f958e0a4c5
work on ACK error codes
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1324 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-04 01:58:31 +00:00
Warren Dukes
d22e5ec522
clean up some command.h include stuff
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1323 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-04 00:52:11 +00:00
Warren Dukes
b4adc880a1
clean up some command.h include stuff
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1322 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-04 00:51:31 +00:00
Warren Dukes
ef6c500edb
clean up ACK error coding a little bit
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1321 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-04 00:49:33 +00:00
Warren Dukes
dafe92a9ed
in decodeStart(), on switch for getting type of file, swtich on dc->utf8url, not pc->utf8url
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1320 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-03 23:45:40 +00:00
Warren Dukes
710ec5695b
better method for computing total time played
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1317 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-03 12:34:25 +00:00
Warren Dukes
c453f7dc52
remove debug code, and preivous commit fixes a segfault due to a doble free on an error trying to decode mp3's
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1314 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-03 02:58:41 +00:00
Warren Dukes
15c61f6eb0
don't stop on play command!
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1313 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-03 02:56:26 +00:00
Warren Dukes
a29e38bef5
a slight cleanup in isValidRemoteUrl()
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1310 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-03 00:24:33 +00:00
Warren Dukes
b48ac2dfa3
add urlhandlers command, but prolly not needed
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1307 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-02 23:22:37 +00:00
Warren Dukes
8fca32b12d
fix a segfault when deleteing the last song in the playlist and sync'ing metadata from the player
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1306 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-02 20:40:30 +00:00
Warren Dukes
53ac376cdc
main() cleanup
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1298 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-02 04:05:09 +00:00
Warren Dukes
3c0c34bcb7
'\n' are bad
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1296 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-02 02:07:07 +00:00
Warren Dukes
24b7ce4f3b
when at the end of the playlist with and not repeat, on next, set current = -1
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1290 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-02 01:42:09 +00:00
Warren Dukes
efe8a04c70
validate url's before adding to playlist
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1289 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-02 01:26:15 +00:00
Warren Dukes
3520a93bc2
not sure if i changed anything, but what the hey
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1285 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-01 14:16:17 +00:00
Warren Dukes
4d14e3a4dd
remove an errant AHHHH
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1284 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-01 13:36:19 +00:00
Warren Dukes
7e78fb455c
remove some debug code
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1282 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-01 12:53:25 +00:00
Warren Dukes
16da97e4c8
parsing mp3 id3v2 tags on the fly for streams
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1281 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-01 12:50:15 +00:00
Warren Dukes
fe0b751c82
ogg voribs comment parsing on the fly in the decoder
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1279 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-01 11:18:25 +00:00
Warren Dukes
187eba5754
ogg_plugin cleanup
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1278 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-01 10:37:13 +00:00
Warren Dukes
199ad37e22
more efficient of updating of metadata
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1277 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-01 10:28:06 +00:00
Warren Dukes
decce92949
nice output of all suffix types supported in version
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1276 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-01 04:29:34 +00:00
Warren Dukes
9e0cbb30f4
add "aiff" and "au" as suffixes that audiofile can handle
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1275 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-01 04:20:47 +00:00
Warren Dukes
835f91d6d4
do strcasecmp for detecting plugin type
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1274 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-01 04:19:28 +00:00
Warren Dukes
0244ec6247
make --create-db not daemonize, remove --only-create-db
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1272 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-01 01:47:49 +00:00
Warren Dukes
c38fcd30c7
icyName fix
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1271 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-01 01:28:40 +00:00
Warren Dukes
4ba7779c89
validateUtf8Tag on stream metadata
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1270 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-01 01:14:23 +00:00
Warren Dukes
9fc4e67fef
fix segfault when no mimeType in a stream
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1269 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-01 01:11:44 +00:00
Warren Dukes
aa2d56c81c
fix for bastard mp3 streams
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1268 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-01 01:07:02 +00:00
Warren Dukes
6a16e08f9a
add --stdout and make --no-daemon by default output to log files
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1267 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-31 23:49:38 +00:00
Warren Dukes
1a5b04e4e8
some stream metadata fixes
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1266 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-31 23:29:35 +00:00
Warren Dukes
5f2c19bfc9
add more mod suffixes, and better detection of mod files; and forgot to add mod_plugin, oops *giggle*
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1265 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-31 21:17:20 +00:00
Warren Dukes
d9f5cca9b8
mod_plugin, just for tarzeau
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1263 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-31 20:59:55 +00:00
Warren Dukes
2c1f5365eb
little tidying up that will be deleted anyway
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1260 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-31 14:30:54 +00:00
Warren Dukes
000e053ce7
icynames are now copied to title of streams
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1258 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-31 11:42:46 +00:00
Warren Dukes
a2769f4d60
forgot to load aacPlugin
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1255 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-31 03:30:09 +00:00
Warren Dukes
ded15bf118
fix avuton's mp4 compile bug
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1253 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-31 03:18:30 +00:00
Warren Dukes
4de1a41c83
fix oggTagDup booboo
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1252 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-31 03:02:17 +00:00
Warren Dukes
9f0cbe9e49
aac_plugin
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1250 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-31 02:56:14 +00:00
Warren Dukes
3aba9b2a66
mp4_plugin
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1249 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-31 02:42:22 +00:00
Warren Dukes
5d392c70cb
audiofile_plugin
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1248 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-31 02:31:55 +00:00
Warren Dukes
97fe75a0bf
little cleanup of plugin stuff
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1247 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-31 02:21:06 +00:00
Warren Dukes
30424cb3e9
flac_plugin
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1246 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-31 01:54:10 +00:00
Warren Dukes
fd6aa25359
mp3 and ogg plugin stuff
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1245 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-31 01:21:17 +00:00
Warren Dukes
d7893a3e76
finish implementing inputPlugin interface
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1244 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-30 20:25:08 +00:00
Warren Dukes
8e137ddf81
start to implement inputPlugin interface
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1242 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-30 19:13:57 +00:00
Warren Dukes
cfc78c7213
include proper headers for input_plugin
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1241 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-30 18:55:45 +00:00
Warren Dukes
fea34242cc
clean up some grammar
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1239 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-30 13:56:37 +00:00
Warren Dukes
d80093fed6
fixed seek, its now blocking again
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1237 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-30 13:33:13 +00:00
Warren Dukes
ae450d2a3f
input plugin header stuff
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1234 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-30 00:41:23 +00:00
Warren Dukes
94786c5f8a
input plugin sheme
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1233 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-30 00:39:12 +00:00
Warren Dukes
b65ec79c16
a small change in determining suffix of files
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1232 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-30 00:05:23 +00:00
Warren Dukes
24cf4a1365
forte C++ compile fixes
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1226 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-29 12:36:29 +00:00
Warren Dukes
42a1a76efe
fix TIcho's seeking while paused bug
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1225 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-29 12:05:49 +00:00
Warren Dukes
71e7127585
undo last changes
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1217 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-28 02:27:36 +00:00
Warren Dukes
e93229bf49
fix seeking more than once when paused, by returning immediatly on dc->seek
...
in sendToOutputBuffer
git-svn-id: https://svn.musicpd.org/mpd/trunk@1216 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-28 02:09:37 +00:00
Warren Dukes
82f6f5b7a3
clear playlist.current on clearPlaylist()
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1163 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-25 20:02:19 +00:00
Warren Dukes
121e2063e0
fix for floating point exception when adding randomly to the playlist with
...
only one thing in the playlist or playing the last song in the playlist
git-svn-id: https://svn.musicpd.org/mpd/trunk@1162 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-25 19:50:05 +00:00
Warren Dukes
90c75b1107
ingore mp3 CRC's for files and not streams
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1161 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-25 19:31:51 +00:00
Warren Dukes
2a76d4c8cf
mem leak: forgot to free stream songs on clearPlaylist() and finishPlaylist()
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1160 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-25 19:01:58 +00:00
Warren Dukes
a754382ac9
if totalTime < 0, set it to 0
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1157 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-25 16:43:07 +00:00
Warren Dukes
8c261f1885
put icyName debug info
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1151 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-24 23:45:11 +00:00
Warren Dukes
e89c9769f9
allow any sampleRate > 0?
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1150 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-24 22:29:04 +00:00
Warren Dukes
4a541faf12
by popular demand: have stop remember the current song and play will start
...
playing from the stopped song.
git-svn-id: https://svn.musicpd.org/mpd/trunk@1139 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-23 14:12:05 +00:00
Warren Dukes
fbcb995a81
cleanup EINTR checking in tag.c
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1127 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-21 22:52:54 +00:00
Warren Dukes
28e29a29e9
fix a bug in decodeFirstFrame when just decoding tags and not passing
...
a DecoderControl
git-svn-id: https://svn.musicpd.org/mpd/trunk@1126 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-21 22:41:00 +00:00
Warren Dukes
547e358796
do input buffering in while sleeping loop of sending stuff to output buffer
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1125 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-21 22:31:07 +00:00
Warren Dukes
aea1ae9b9e
forgot to clear the mad_stream buffer when doing a seek
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1115 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-20 12:11:28 +00:00
Warren Dukes
e40d39b05e
removed a debug statement
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1112 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-20 11:28:10 +00:00
Warren Dukes
426889778d
when playing a url, previous always goto to previous song and never to the
...
beginning of the stream!
git-svn-id: https://svn.musicpd.org/mpd/trunk@1110 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-20 04:47:15 +00:00
Warren Dukes
1b1d79d22a
oops another bug fix for handling stop in decodeFirstFrame (mp3)
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1109 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-20 04:36:25 +00:00
Warren Dukes
0b05109416
more bug fixes
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1108 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-20 04:32:38 +00:00
Warren Dukes
05889aa3e3
more little mp3 seeking fixes
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1107 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-20 04:04:10 +00:00
Warren Dukes
52d4200cb1
fix some seeking stuff for mp3's
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1106 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-20 04:00:17 +00:00
Warren Dukes
4db5224b47
ogg stream playing! some non-blocking seek bug fixes
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1105 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-20 03:44:33 +00:00
Warren Dukes
5a4022d878
another bug fix for non-blocking seek
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1103 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-20 00:40:19 +00:00
Warren Dukes
b3f46fd0cc
clean up sleep times to be all 10ms
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1102 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-20 00:21:58 +00:00
Warren Dukes
05cbc476f5
get rid of seekError in DecoderControl
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1101 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-20 00:16:24 +00:00
Warren Dukes
70d4397366
some fixes for non-blocking seek :-)
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1100 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-20 00:08:22 +00:00
Warren Dukes
a81573ef05
non-blocking seeking, needs some testing! (this is not just for streams
...
but new code for files seeking as well)
git-svn-id: https://svn.musicpd.org/mpd/trunk@1099 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-19 23:48:34 +00:00
Warren Dukes
c1fbcd03f0
todo update and make firstFrame in mp3_decode less blocky!
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1098 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-19 22:03:27 +00:00
Warren Dukes
3e659738ba
todo update
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1094 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-19 17:14:11 +00:00
Warren Dukes
b7bca89110
forgot to mark in decoderControl when we are seekable!
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1093 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-19 17:09:23 +00:00
Warren Dukes
33faf9812c
fix a nasty bug when deleting a stream from the playlist
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1082 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-19 05:07:31 +00:00
Warren Dukes
ef8209e129
use ftell to set offset
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1081 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-19 03:58:48 +00:00
Warren Dukes
c1cd2668b2
bug fixy poo s/1/0/
...
and mark in decoderControl if we are seekable
git-svn-id: https://svn.musicpd.org/mpd/trunk@1078 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-19 03:23:31 +00:00
Warren Dukes
ec3a9b66fe
fix some blocking stop when trying to stop/seek during filling buffer
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1077 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-19 02:31:42 +00:00
Warren Dukes
c180d2f95e
try to make seeking more non-blocking
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1076 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-19 02:14:20 +00:00
Warren Dukes
bf9e2afbf9
just a we bit of changes
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1075 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-19 00:34:26 +00:00
Warren Dukes
1be91059b0
ok, after starting good, this is a little less blocky for playing streams
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1073 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-18 20:27:12 +00:00
Warren Dukes
e9ace46388
nother little minor fix
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1071 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-18 20:00:42 +00:00
Warren Dukes
8613178a13
slight fix for IS_file
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1069 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-18 19:58:42 +00:00
Warren Dukes
00fa2e38e7
disable prebuffering in the beginning for now
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1068 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-18 19:37:43 +00:00
Warren Dukes
a19a79227c
streaming fixes and such, now it seems to work good, what an annoying bug
...
to find
git-svn-id: https://svn.musicpd.org/mpd/trunk@1066 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-18 19:32:05 +00:00
Warren Dukes
a2b6583db6
fix some wackiness due to attempted search table
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1065 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-18 14:58:47 +00:00
Warren Dukes
3a5a75cf87
fix a mem leak when unknow type in decodeStart()
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1063 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-18 13:19:30 +00:00
Warren Dukes
c51ad71efa
rework stuff so that we can use mime-type of streams to detect type of file
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1062 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-18 13:13:55 +00:00
Warren Dukes
6c24180516
inputStream updates from httpTest
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1059 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-18 09:54:45 +00:00
Warren Dukes
d4c7d6df6d
can parse inputStream_http can parse mime type
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1056 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-18 09:34:22 +00:00
Warren Dukes
45f8d47384
assume all streams are mp3's, we'll need to open the streams before calling
...
the decoder routines to fetch the mime-type!
git-svn-id: https://svn.musicpd.org/mpd/trunk@1054 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-18 04:35:26 +00:00
Warren Dukes
06422f729b
bug fixes for playing streams
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1053 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-18 04:04:54 +00:00
Warren Dukes
746e7477e0
yes! rudimentary stream playing for mp3's!
...
be gentle
git-svn-id: https://svn.musicpd.org/mpd/trunk@1051 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-18 03:37:55 +00:00
Warren Dukes
aed844a67d
oops forgot to add these
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1050 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-18 02:46:36 +00:00
Warren Dukes
48a58073dd
add new inputStream stuff, hopefully something major isn't foobar'd
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1049 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-18 02:46:13 +00:00
Warren Dukes
ee79a3a8fd
ignore crc stuff for mp3's cause some mp3's have foobar'd CRC's
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1039 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-17 19:47:21 +00:00
Warren Dukes
0db46f0592
fix bug where db_update wasn't being set in readDirectoryDB
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1037 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-17 11:56:14 +00:00
Warren Dukes
48fc82f994
move ipv6supported from listen.c to utils.c
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1026 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-15 21:19:43 +00:00
Warren Dukes
12d3bd0716
fix a bug in update if unable to open mp4 file, would cause a segfault
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1025 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-15 19:39:55 +00:00
Warren Dukes
c34d372a4d
don't close STDIN_FILENO, not suppose to dup2 a closed fd
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1023 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-15 19:08:15 +00:00
Warren Dukes
daa4ceb65a
oops, fix an infinate loop
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1004 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-14 21:35:20 +00:00
Warren Dukes
965e6edcf1
redimentary addition of url's to playlist
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@1000 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-13 18:46:38 +00:00
Warren Dukes
8c484eeccf
add type element to Song struct, and change utf8file to utf8url
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@999 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-13 18:16:03 +00:00
Warren Dukes
e7ae1b0ce9
fix foobar!
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@993 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-11 21:33:15 +00:00
Warren Dukes
cc297886ca
maybe this fixes remoford's bug?!?
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@992 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-11 21:02:59 +00:00
Warren Dukes
011757d89c
use AM_LANGINFO_CODESET in configure.ac, old configure.ac wasn't checking
...
for CODESET
git-svn-id: https://svn.musicpd.org/mpd/trunk@990 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-11 15:17:20 +00:00
Warren Dukes
69a0b86173
trash XMMS resampling, use ESD's instead, don't understand it, but it works
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@979 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 22:31:23 +00:00
Warren Dukes
33d112499d
some debug code
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@978 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 20:49:35 +00:00
Warren Dukes
76af5b2f90
???
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@977 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 19:54:32 +00:00
Warren Dukes
be5bfc35fd
some fixes for ogg_decode
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@976 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 19:41:27 +00:00
Warren Dukes
85f2ce820f
fix a bug in channel conversion
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@975 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 19:30:56 +00:00
Warren Dukes
5b4a0a1821
fix computation of conversion buffer size
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@974 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 17:15:04 +00:00
Warren Dukes
4f76ba5a42
format conversion for 8->16 bis and mono->stereo
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@973 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 17:08:46 +00:00
Warren Dukes
872af20777
resampling code blatantly ripped from xmms, needs testing and need to
...
right conversion routines for bit conversion and channel conversion
git-svn-id: https://svn.musicpd.org/mpd/trunk@971 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 15:21:40 +00:00
Warren Dukes
7626d9a547
more little bits of code in prep for resample/audioFormat conversion,
...
now to just write the actual audioFormat conversion code!
git-svn-id: https://svn.musicpd.org/mpd/trunk@970 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 14:06:23 +00:00
Warren Dukes
9dd098f09b
use memcpy for isCurrentAudioFormat()
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@969 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 13:37:48 +00:00
Warren Dukes
2ec1c5ff3c
some more work on organizing code for resampling/audioFormat conversion
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@968 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 12:35:18 +00:00
Warren Dukes
cd3180c701
stuff for configuring the audio output format (sampling rate, channels, bits)
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@967 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 02:20:15 +00:00
Warren Dukes
9edafa886b
add aliasMrJones to various places
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@954 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-08 12:04:23 +00:00
Warren Dukes
822be0375e
finish adding AliasMrJones replayGain stuff
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@953 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-08 12:00:30 +00:00
Warren Dukes
04fdc209d9
add replayGain stuff for flac from AliasMrJones
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@943 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-07 22:42:54 +00:00
Warren Dukes
ff3323334a
implement new outputBuffering stuff for rest of decoders
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@942 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-07 19:35:39 +00:00
Warren Dukes
c9f0d22f0a
rewrite outputBuffer'ing abstraction a bit to be more effecient and easier
...
to interface. Also, use outputBuffer abstraction for ogg
git-svn-id: https://svn.musicpd.org/mpd/trunk@941 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-07 19:11:43 +00:00
Warren Dukes
3794126e56
new OutputBuffer abstraction stuff, implemented for mp3, now need to
...
implement in other decoders
git-svn-id: https://svn.musicpd.org/mpd/trunk@940 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-07 15:58:04 +00:00
Warren Dukes
9196023f14
some begging code of abstracting out some simple buffer routine(s) for decoders
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@928 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-07 02:42:49 +00:00
Warren Dukes
ef9f832fb3
mp4/aac now use InputStream
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@925 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-06 18:49:04 +00:00
Warren Dukes
9ca135d723
fix bug #223
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@924 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-06 13:43:09 +00:00
Warren Dukes
230750e23e
vim stuff
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@915 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-05 18:30:07 +00:00
Warren Dukes
13a3b507f2
clarify error for --no-create-db
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@912 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-05 15:01:34 +00:00
Warren Dukes
c4a9e3790f
flac uses abstracted inputStream stuff
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@905 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-04 23:39:02 +00:00
Warren Dukes
659df58671
implement input abstraction for ogg and mp3
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@904 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-04 19:49:29 +00:00
Warren Dukes
638817fc5b
start abstracting input layer for decoders
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@903 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-04 19:08:46 +00:00
Warren Dukes
37db643217
clean-up a wee-bit of code
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@895 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-29 19:34:30 +00:00
Warren Dukes
22058b9b61
potential fix for CompBrain's segfault, i could test it if he ever gave me
...
a broken flac file
git-svn-id: https://svn.musicpd.org/mpd/trunk@877 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-22 21:14:41 +00:00
Warren Dukes
955428b8a2
don't expose functions in utf8.h that don't need it
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@812 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-17 17:42:57 +00:00
Warren Dukes
2cfea8a8bf
ummm, undo last changes, they shouldn't need to be neccessary
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@811 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-17 12:43:44 +00:00
Warren Dukes
4196886e93
close audio() and audioDriver() on decode process fork
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@810 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-17 12:36:15 +00:00
Warren Dukes
158c23f238
when updating, don't cause db reread on adding and then removing empty directories
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@805 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 23:49:48 +00:00
Warren Dukes
a7076a120b
some cleanups of sprintf's => snprintf's
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@794 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 15:01:06 +00:00
Warren Dukes
fe52847ad6
fix bug in prependCwdToPathDup()
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@789 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 03:52:17 +00:00
Warren Dukes
963754b0d4
msells versions patch to list supported formats
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@783 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 01:06:14 +00:00
Warren Dukes
da588cbc46
*gasp* added a comment
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@782 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 00:50:33 +00:00
Warren Dukes
c4d2b8dc1c
only write db in initMp3Directory() when stuff is updated
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@781 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 00:48:47 +00:00
Warren Dukes
2e420db19c
remove directory mtime from db!
...
also, only reReadDB and write DB on update if something was actually updated
git-svn-id: https://svn.musicpd.org/mpd/trunk@780 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 00:41:56 +00:00
Warren Dukes
5ea8e2d65b
don't stat() the db to get the modtime everytime, instead store it when we read the db
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@779 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-15 23:36:41 +00:00
Warren Dukes
3ea87a52c6
round crossfade for status
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@775 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-15 16:16:19 +00:00
Warren Dukes
0b7d9b2dec
no point in tallying stats on writeDirectoryDB anymore
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@774 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-15 15:25:06 +00:00
Warren Dukes
7f29bb1a8d
log cycling and a few cleanups
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@772 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-15 05:07:04 +00:00
Warren Dukes
df3af7d4f1
clean up a little bit main() code
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@771 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-15 03:26:15 +00:00
Warren Dukes
794799eaf4
don't updatedb on sighup if db is being updated
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@768 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14 23:08:28 +00:00
Warren Dukes
549344d38a
add vim shiznit to end of all source files
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@750 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14 14:53:41 +00:00
Warren Dukes
2a24a94ba7
ok, finished incremental update!
...
now just need to polish up a few things with update
git-svn-id: https://svn.musicpd.org/mpd/trunk@745 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14 05:26:32 +00:00
Warren Dukes
ba1d3302e2
silly shank, use functions you already have\!
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@744 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14 03:04:49 +00:00
Warren Dukes
8fa2084703
pseduo-code for creating new entries in db for incremental update
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@743 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14 02:55:19 +00:00
Warren Dukes
32b62ade7b
incremental update can now recognize if you pass it a deleted path
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@742 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14 02:35:29 +00:00
Warren Dukes
700093adcc
add copyright notices to new files
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@739 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 19:59:03 +00:00
Warren Dukes
e4ef4ea6aa
make some code look neater
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@738 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 19:55:00 +00:00
Warren Dukes
72e06e05a1
fix some misc chld signal handling for update process
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@737 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 19:52:15 +00:00
Warren Dukes
1f0f1b2892
add a error msg for playerSeek()
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@736 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 19:27:22 +00:00
Warren Dukes
b5bdc71d2c
have update process ignore signals when writing db
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@735 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 19:24:05 +00:00
Warren Dukes
860f8bda71
ok, rework myfprintf so it uses write() and never use any file stream
...
print functions. this way we can always know wtf is going on!
also, remove some places where we were using fprintf and printf instead of
myfprintf
git-svn-id: https://svn.musicpd.org/mpd/trunk@734 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 19:08:38 +00:00
Warren Dukes
5a50fa7147
block signals when writing db to ensure db isn't corrupted
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@730 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 17:08:31 +00:00
Warren Dukes
acf0e147c2
when doing signal functions (like sigaction) make sure it wasn't interrupted by a signal (errno==EINTR)
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@729 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 16:46:11 +00:00
Warren Dukes
00c25b772e
add --only-update-db command line option
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@728 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 16:22:59 +00:00
Warren Dukes
8c96c2d363
rename all ascii/utf8 stuff to latin1/utf8
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@718 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 13:52:16 +00:00
Warren Dukes
4920ee719a
plug a potential memory leak
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@713 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 05:19:45 +00:00
Warren Dukes
1004890e25
lots of fsCharset, utf8/ascii converting clean-up and robustness stuff
...
Also, if fsCharsetToUtf8 can't convert to valid UTF-8, then don't add
it to the db, this way clients don't have to worry about weirdness and it
will force ppl to convert it.
git-svn-id: https://svn.musicpd.org/mpd/trunk@711 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 04:59:57 +00:00
Warren Dukes
f765c26275
fix a small booboo and add some debugging stuff
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@708 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 02:38:09 +00:00
Warren Dukes
375e3ffed4
add my own utf8/ascii converters and utf8 validator
...
validate all mpd tags on import, if they are invalid, assume they are ascii
and convert to utf8
git-svn-id: https://svn.musicpd.org/mpd/trunk@707 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 02:20:46 +00:00
Warren Dukes
6bc445d00f
volatile fun-ness
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@705 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-12 18:51:16 +00:00
Warren Dukes
57742785b4
forgetting to increment playlist version after reading the db
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@704 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-12 14:19:06 +00:00
Warren Dukes
b68417a643
cleanup interface between interface.[ch] and command.[ch]
...
primarily move all buffer2array stuff from interface.c to command.c
and write a new command function explicitly for dealing with commandLists
git-svn-id: https://svn.musicpd.org/mpd/trunk@701 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-12 01:44:52 +00:00
Warren Dukes
f74991b9fd
minor little tweak on reporting update status
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@700 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-12 00:41:53 +00:00
Warren Dukes
bbf84374a5
more volatile stuff
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@699 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 23:44:37 +00:00
Warren Dukes
26f72edc46
add volatile qualifiers to some shared mem buffer stuff, to enusre compiler
...
doesn't optimize out order sensitive stuff
git-svn-id: https://svn.musicpd.org/mpd/trunk@698 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 23:37:18 +00:00
Warren Dukes
ae33b348af
clean up signal handling using a polling method, from the genius that is mackstann
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@697 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 23:07:43 +00:00
Warren Dukes
063affb047
we no longer need to block signals in tag.c, since update is now done
...
in a seperate process
git-svn-id: https://svn.musicpd.org/mpd/trunk@696 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 21:43:23 +00:00
Warren Dukes
abc075c431
ok, fix some bug due to a child process dieing before the parent can
...
even assign pid, thus we need to block CHLD signal around fork();
git-svn-id: https://svn.musicpd.org/mpd/trunk@694 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 18:27:12 +00:00
Warren Dukes
fc7a264e4d
incremental updates and command-list/update kung fu
...
this needs some serious cleaning up and testing
git-svn-id: https://svn.musicpd.org/mpd/trunk@692 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 17:37:47 +00:00
Warren Dukes
87f53c94d7
more software volume tweeks
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@684 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 13:29:55 +00:00
Warren Dukes
44756f5f10
adjust scaling of software volume
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@681 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 11:48:04 +00:00
Warren Dukes
823a7900bd
do while(wait3) for sighandler
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@680 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 04:51:55 +00:00
Warren Dukes
7091235a68
add --disable-audio configure option
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@679 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 04:49:27 +00:00
Warren Dukes
30d9589cb3
fix some snafoos
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@678 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 04:15:14 +00:00
Warren Dukes
4844e05e65
don't stop playlist on finishPlaylist()[D
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@677 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 04:05:12 +00:00
Warren Dukes
c77011bf2a
update job id stuff
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@673 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 03:12:00 +00:00
Warren Dukes
4cfd77be95
updating_db in status and some ideas for the TODO that i've already forgotten
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@669 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 02:34:26 +00:00
Warren Dukes
12ee016607
make "update" command background/non-blocking
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@665 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 01:53:25 +00:00
Warren Dukes
171a7752a8
add --only-create-db option from msells
...
have SIGHUP cause rereading db file
git-svn-id: https://svn.musicpd.org/mpd/trunk@663 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 00:52:05 +00:00
Warren Dukes
996e8ce072
work in prep of using msells/sbh's non-blocking update method
...
Here, i've made readDirectoryDB detect when stuff is deleted, added and updated.
So after a update, and we call redDirectoryDB, we update the db instead of
just adding stuff w/o "updating" and "deleting" stuff as neccessary.
git-svn-id: https://svn.musicpd.org/mpd/trunk@659 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-10 17:56:01 +00:00
Warren Dukes
918dc2ff22
ideas on how to make readDirectoryInfo and readSongInfo deal with already
...
existing db stuff, and implement a new List function that will be very
useful: insertInListBeforeNode()
git-svn-id: https://svn.musicpd.org/mpd/trunk@657 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-10 02:55:27 +00:00
Warren Dukes
7d29f1772a
don't report an error about not able to open device in audioError
...
also, update TODO with ideas about non-blocking update
git-svn-id: https://svn.musicpd.org/mpd/trunk@632 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-07 23:46:33 +00:00
Warren Dukes
b1d12ba0f6
make default max playlist length be 16384. bumped up from 4096
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@602 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-04 07:08:00 +00:00
Warren Dukes
73bcce335f
when converting from bps -> kbps, divide by 1000, not 1024
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@592 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-03 04:01:31 +00:00
Warren Dukes
785cdb0114
use EXIT_SUCCESS and EXIT_FAILURE
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@591 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-02 23:34:16 +00:00
Warren Dukes
b41f540579
for alsa mixer default to Master element, not the first element
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@583 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-01 22:11:29 +00:00
Warren Dukes
8216f304c4
move sys/types.h include in utils.c, so it works for FreeBSD, from MDR
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@581 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-01 13:43:10 +00:00
Warren Dukes
5dfc61d0bb
need to include utils.h for my_usleep
...
git-svn-id: https://svn.musicpd.org/mpd/trunk@579 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-01 03:55:59 +00:00