From 03e11849011b59026b4a54faf09838ef4718405c Mon Sep 17 00:00:00 2001 From: waker Date: Mon, 7 May 2012 23:36:10 +0200 Subject: fixed loading remote playlists with unknown size --- plugins/vfs_curl/vfs_curl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/vfs_curl') diff --git a/plugins/vfs_curl/vfs_curl.c b/plugins/vfs_curl/vfs_curl.c index b0779da7..bf35b7f4 100644 --- a/plugins/vfs_curl/vfs_curl.c +++ b/plugins/vfs_curl/vfs_curl.c @@ -652,6 +652,7 @@ http_thread_func (void *ctx) { trace ("curl error:\n%s\n", fp->http_err); } deadbeef->mutex_lock (fp->mutex); +#if 0 if (status == 0 && fp->length < 0 && fp->status != STATUS_ABORTED && fp->status != STATUS_SEEK) { trace ("vfs_curl: restarting stream\n"); // NOTE: don't do http_stream_reset here - we don't want to cut the ending @@ -669,6 +670,7 @@ http_thread_func (void *ctx) { deadbeef->mutex_unlock (fp->mutex); continue; } +#endif if (fp->status != STATUS_SEEK) { trace ("vfs_curl: break loop\n"); deadbeef->mutex_unlock (fp->mutex); -- cgit v1.2.3