Commit Graph

7868 Commits

Author SHA1 Message Date
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
b677eb3588 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@1159 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-25 18:54:01 +00:00
Warren Dukes
89e85c5e56 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@1158 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-25 18:53:27 +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
eb6aea898e TODO update
git-svn-id: https://svn.musicpd.org/mpd/trunk@1156 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-25 16:31:00 +00:00
Warren Dukes
57192661ca TODO update
git-svn-id: https://svn.musicpd.org/mpd/trunk@1155 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-25 16:28:52 +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
3c75535eae todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@1140 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-23 14:14:02 +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
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