diff options
author | waker <wakeroid@gmail.com> | 2012-05-07 23:36:10 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-05-07 23:36:10 +0200 |
commit | 03e11849011b59026b4a54faf09838ef4718405c (patch) | |
tree | ff47e52642349675885d18c123fabfcb929b9738 /plugins/vfs_curl | |
parent | bd05ff65490e29de6c75451f9dd6437dd770efe0 (diff) |
fixed loading remote playlists with unknown size
Diffstat (limited to 'plugins/vfs_curl')
-rw-r--r-- | plugins/vfs_curl/vfs_curl.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |