[vlc-devel] commit: Fix xspf reading/writing ( Rafaël Carré )

git version control git at videolan.org
Sat May 30 00:32:48 CEST 2009


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Wed May 27 21:36:22 2009 +0200| [9a746cfa3078c53eed57d2102002b39c283c6ab4] | committer: Jean-Baptiste Kempf 

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 at remlab.net>
(cherry picked from commit a654d4a14edf1a3925cfa731c965652832f01ef2)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9a746cfa3078c53eed57d2102002b39c283c6ab4
---

 modules/control/http/http.c        |    4 +++-
 modules/demux/playlist/xspf.c      |   25 +++++++++++--------------
 modules/gui/macosx/playlistinfo.m  |    3 ++-
 modules/gui/qt4/input_manager.cpp  |    5 ++++-
 modules/meta_engine/folder.c       |   17 +++++++++++------
 modules/misc/notify/growl.m        |    3 ++-
 modules/misc/notify/notify.c       |    6 ++++--
 modules/misc/playlist/xspf.c       |    4 +---
 share/lua/meta/10_googleimage.lua  |    6 +-----
 share/lua/playlist/dailymotion.lua |    2 +-
 share/lua/playlist/youtube.lua     |    2 +-
 src/playlist/art.c                 |   32 ++++++++++++++++++++++++--------
 12 files changed, 65 insertions(+), 44 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=9a746cfa3078c53eed57d2102002b39c283c6ab4



More information about the vlc-devel mailing list