changeset 5916:568a56e40a3f

Added ICY error 400: Server full.
author bertrand
date Tue, 30 Apr 2002 17:55:06 +0000
parents f716aa9e2df2
children ab2cd00a0a52
files libmpdemux/network.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/network.c	Tue Apr 30 16:58:54 2002 +0000
+++ b/libmpdemux/network.c	Tue Apr 30 17:55:06 2002 +0000
@@ -434,6 +434,9 @@
 						*file_format = DEMUXER_TYPE_AUDIO;
 						return 0;
 					}
+					case 400: // Server Full
+						mp_msg(MSGT_NETWORK,MSGL_ERR,"Error: ICY-Server is full, skipping!\n");
+						return -1;
 					case 401: // Service Unavailable
 						mp_msg(MSGT_NETWORK,MSGL_ERR,"Error: ICY-Server return service unavailable, skipping!\n");
 						return -1;