Commit Graph

505 Commits

Author SHA1 Message Date
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
d6a8140940 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@1111 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-20 11:04:33 +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
c743057774 todo updates
git-svn-id: https://svn.musicpd.org/mpd/trunk@1079 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-19 03:52:15 +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
3cb9923714 TODO updates
git-svn-id: https://svn.musicpd.org/mpd/trunk@1074 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-18 20:45:40 +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
b2af230b5e git-svn-id: https://svn.musicpd.org/mpd/trunk@1027 09075e82-0dd4-0310-85a5-a0d7c8717e4f 2004-05-16 04:12:28 +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
687016ea02 update todo with plan
git-svn-id: https://svn.musicpd.org/mpd/trunk@1005 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-15 02:11:33 +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