aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decode.c4
-rw-r--r--src/playlist.c5
2 files changed, 1 insertions, 8 deletions
diff --git a/src/decode.c b/src/decode.c
index bb043d6b2..f19301c66 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -311,9 +311,7 @@ void decodeStart(PlayerControl * pc, OutputBuffer * cb, DecoderControl * dc) {
ret = DECODE_ERROR_UNKTYPE;
if(isRemoteUrl(pc->utf8url)) {
- if(inStream.mime) {
- plugin = getInputPluginFromMimeType(inStream.mime);
- }
+ plugin = getInputPluginFromMimeType(inStream.mime);
if(plugin == NULL) {
plugin = getInputPluginFromSuffix(
getSuffix(dc->utf8url));
diff --git a/src/playlist.c b/src/playlist.c
index 1dea4b7ce..75b812338 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -825,21 +825,16 @@ void playPlaylistIfPlayerStopped() {
if(error==PLAYER_ERROR_NOERROR) playlist_errorCount = 0;
else playlist_errorCount++;
- printf("HERE 1\n");
if(playlist_state==PLAYLIST_STATE_PLAY && (
(playlist_stopOnError &&
error!=PLAYER_ERROR_NOERROR) ||
error==PLAYER_ERROR_AUDIO ||
error==PLAYER_ERROR_SYSTEM ||
playlist_errorCount>=playlist.length)) {
- printf("HERE 1-1\n");
- printf("playlist_stopOnError: %i\n", playlist_stopOnError);
stopPlaylist(stderr);
- printf("HERE 1-2\n");
}
else if(playlist_noGoToNext) currentSongInPlaylist(stderr);
else nextSongInPlaylist(stderr);
- printf("HERE 2\n");
}
}