From: Hugo Beauzée-Luyssen Date: Mon, 18 Mar 2019 14:09:39 +0000 (+0100) Subject: taglib: IOStream: Return the url as fileName X-Git-Tag: archive/raspbian/3.0.21-7+rpi1^2~92 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=658fd99e7db96f397950c4067546c521d7b86d3c;p=vlc.git taglib: IOStream: Return the url as fileName Since the only part that matters to taglib is the filename, and more specifically the extension part. (cherry picked from commit 026a76066efa78f1934ab2c177669a2e6a519cff) Gbp-Pq: Name 0034-taglib-IOStream-Return-the-url-as-fileName.patch --- diff --git a/modules/meta_engine/taglib.cpp b/modules/meta_engine/taglib.cpp index 8770d0c8..bec6838f 100644 --- a/modules/meta_engine/taglib.cpp +++ b/modules/meta_engine/taglib.cpp @@ -176,7 +176,9 @@ public: FileName name() const { - return m_stream->psz_location; + // Taglib only cares about the file name part, so it doesn't matter + // whether we include the mrl scheme or not + return m_stream->psz_url; } ByteVector readBlock(ulong length)