aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-07 20:47:00 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-07 20:47:00 +0000
commit1760433061c0d7e2bb1ac964a1a02ff868ad9b5b (patch)
tree13722941a0b7f23a939ea51b1c8a25380c1f2717 /src
parent5b5dd126aa56f130e208c7cc781e9de34b675c53 (diff)
downloadmpd-1760433061c0d7e2bb1ac964a1a02ff868ad9b5b.tar.gz
mpd-1760433061c0d7e2bb1ac964a1a02ff868ad9b5b.tar.xz
mpd-1760433061c0d7e2bb1ac964a1a02ff868ad9b5b.zip
remove metadata debugging code
git-svn-id: https://svn.musicpd.org/mpd/trunk@1378 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r--src/decode.c2
-rw-r--r--src/inputStream_http.c2
-rw-r--r--src/outputBuffer.c7
3 files changed, 0 insertions, 11 deletions
diff --git a/src/decode.c b/src/decode.c
index 1ed2c00ee..267616f91 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -395,7 +395,6 @@ void handleMetadata(OutputBuffer * cb, PlayerControl * pc, int * previous,
int meta = cb->metaChunk[cb->begin];
if( meta != *previous ) {
if( meta >= 0 && cb->metaChunkSet[meta]) {
- printf("METADATA!, copying it.\n");
memcpy(currentChunk,
cb->metadataChunks+meta,
sizeof(MetadataChunk));
@@ -408,7 +407,6 @@ void handleMetadata(OutputBuffer * cb, PlayerControl * pc, int * previous,
if(!(*currentChunkSent) && pc->metadataState ==
PLAYER_METADATA_STATE_WRITE)
{
- printf("copy metadata to player\n");
*currentChunkSent = 1;
memcpy(&(pc->metadataChunk), currentChunk,
sizeof(MetadataChunk));
diff --git a/src/inputStream_http.c b/src/inputStream_http.c
index a7bdf295f..1ac5f3bfb 100644
--- a/src/inputStream_http.c
+++ b/src/inputStream_http.c
@@ -368,7 +368,6 @@ static int getHTTPHello(InputStream * inStream) {
}
else if(0 == strncmp(cur, "\r\nicy-metaint:", 14)) {
data->icyMetaint = atoi(cur+14);
- printf("icyMetaint: %i\n", data->icyMetaint);
}
else if(0 == strncmp(cur, "\r\nicy-name:", 11)) {
int incr = 11;
@@ -461,7 +460,6 @@ static void parseIcyMetadata(InputStream * inStream, char * metadata,
while(s) {
if(0 == strncmp(s, "StreamTitle=", 12)) {
int cur = 12;
- printf("StreamTitle: %s\n", s+cur);
if(inStream->metaTitle) free(inStream->metaTitle);
if(*(s+cur) == '\'') cur++;
if(s[strlen(s)-1] == '\'') {
diff --git a/src/outputBuffer.c b/src/outputBuffer.c
index 606f231fc..40777db3b 100644
--- a/src/outputBuffer.c
+++ b/src/outputBuffer.c
@@ -149,8 +149,6 @@ int copyMpdTagToOutputBuffer(OutputBuffer * cb, MpdTag * tag) {
int nextChunk;
static MpdTag * last = NULL;
- printf("copyMpdTagToOB called\n");
-
if(!cb->acceptMetadata || !tag) {
sendMetaChunk = 0;
if(last) free(last);
@@ -158,10 +156,7 @@ int copyMpdTagToOutputBuffer(OutputBuffer * cb, MpdTag * tag) {
return 0;
}
- if(!last) printf("OH SHIT\n");
-
if(last && mpdTagsAreEqual(last, tag)) {
- printf("same as last\n");
return 0;
}
@@ -178,8 +173,6 @@ int copyMpdTagToOutputBuffer(OutputBuffer * cb, MpdTag * tag) {
last = mpdTagDup(tag);
- printMpdTag(stdout, last);
-
copyMpdTagToMetadataChunk(tag, &(cb->metadataChunks[currentMetaChunk]));
cb->metaChunkSet[nextChunk] = 1;