Bug #308

Unable to download m3u playlist by http

Added by Vasily Redkin over 4 years ago. Updated over 4 years ago.

Status:Closed Start date:June 18, 2013
Priority:Minor Due date:
Assignee:- % Done:

100%

Category:plugins/m3u
Target version:3.5
Affects version:3.3.4

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.

0001-Fix-.m3u-playlist-http-downloading.patch Magnifier (1.1 kB) Vasily Redkin, June 18, 2013 12:12

Associated revisions

Revision 6a010fdf
Added by John Lindgren over 4 years ago

m3u: Use vfs_file_read_all(). Closes: #308.

History

#1 Updated by John Lindgren over 4 years ago

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

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