2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
11 #include "IFileDirectory.h"
12 #include "music/tags/MusicInfoTag.h"
16 class CMusicFileDirectory
: public IFileDirectory
19 CMusicFileDirectory(void);
20 ~CMusicFileDirectory(void) override
;
21 bool GetDirectory(const CURL
& url
, CFileItemList
&items
) override
;
22 bool Exists(const CURL
& url
) override
;
23 bool ContainsFiles(const CURL
& url
) override
;
24 bool AllowAll() const override
{ return true; }
26 virtual bool Load(const std::string
& strFileName
,
27 MUSIC_INFO::CMusicInfoTag
& tag
,
28 EmbeddedArt
* art
= nullptr) { return false; }
29 virtual int GetTrackCount(const std::string
& strPath
) = 0;
31 MUSIC_INFO::CMusicInfoTag m_tag
;