Project

General

Profile

Bug #308

Unable to download m3u playlist by http

Added by Vasily Redkin almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Minor
Assignee:
-
Category:
plugins/m3u
Target version:
Start date:
June 18, 2013
Due date:
% Done:

100%

Estimated time:
Affects version:

Description

M3U plugin fails to download playlist (at least from Gnump3d server).
This happens due to lack of file size information: in read_win_text() vfs_fsize(file) returns -1.
Attached patch fixes downloading of playlists when file size is not known.

History

#1 Updated by John Lindgren almost 11 years ago

  • Status changed from New to Closed
  • Target version set to 3.5
  • % Done changed from 0 to 100

Thank you for the patch. In 3.5 we have the vfs_file_read_all() function to do the same thing.
https://github.com/audacious-media-player/audacious-plugins/commit/6a010fdffc0c1328fe640c4ab8ec82bed74feec1

Also available in: Atom PDF