Fix xspf reading/writing
authorRafaël Carré <rafael.carre@gmail.com>
Wed, 27 May 2009 19:36:22 +0000 (21:36 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 29 May 2009 22:32:42 +0000 (00:32 +0200)
commit9a746cfa3078c53eed57d2102002b39c283c6ab4
tree2c1218616c49b176b05cd7bae339cede88689392
parent1f374e04e9952f167d752776837e0aa7ff999acf
Fix xspf reading/writing

When reading a file:// URL from an xspf entry, store the decoded file path; else store the unmodified URL

Always keep album art URLs always encoded and decode the path when needed
Interfaces & plugins only use file paths
Playlist core extract attachment:// URLs (from file meta data), http:// or other (from meta data fetchers like lua) and cache them to a file

Thanks to courmisch for clarification

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
(cherry picked from commit a654d4a14edf1a3925cfa731c965652832f01ef2)
12 files changed:
modules/control/http/http.c
modules/demux/playlist/xspf.c
modules/gui/macosx/playlistinfo.m
modules/gui/qt4/input_manager.cpp
modules/meta_engine/folder.c
modules/misc/notify/growl.m
modules/misc/notify/notify.c
modules/misc/playlist/xspf.c
share/lua/meta/10_googleimage.lua
share/lua/playlist/dailymotion.lua
share/lua/playlist/youtube.lua
src/playlist/art.c