Fix xspf reading/writing
authorRafaël Carré <rafael.carre@gmail.com>
Wed, 27 May 2009 19:36:22 +0000 (21:36 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 28 May 2009 14:11:17 +0000 (17:11 +0300)
commita654d4a14edf1a3925cfa731c965652832f01ef2
tree067d2880c11448b5dd6ff3afa1bfdd239406d8dd
parent8e4c60f63ebdc1f1237b60a6ff0d1efd8cd9793d
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>
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