[video] Fix the refresh of movies with additional versions or extras
[xbmc.git] / xbmc / playlists / SmartPlaylistFileItemListModifier.h
blob5d640847b7f6ca6f2042e7eb702e6a5856577649
1 /*
2 * Copyright (C) 2013-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.
7 */
9 #pragma once
11 #include "IFileItemListModifier.h"
13 #include <string>
15 class CSmartPlaylistFileItemListModifier : public IFileItemListModifier
17 public:
18 CSmartPlaylistFileItemListModifier() = default;
19 ~CSmartPlaylistFileItemListModifier() override = default;
21 bool CanModify(const CFileItemList &items) const override;
22 bool Modify(CFileItemList &items) const override;
24 private:
25 static std::string GetUrlOption(const std::string &path, const std::string &option);