[videodb] remove unused seasons table from episode_view
[xbmc.git] / xbmc / video / VideoManagerTypes.h
blobf6dce459d9769dae255097a57b68041f9de4c33d
1 /*
2 * Copyright (C) 2023 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 <string>
13 enum class VideoAssetTypeOwner
15 UNKNOWN = -1,
16 SYSTEM = 0,
17 AUTO = 1,
18 USER = 2
21 enum class VideoAssetType : int
23 UNKNOWN = -1,
24 VERSION = 0,
25 EXTRA = 1
28 enum class MediaRole
30 NewVersion,
31 Parent
34 static constexpr int VIDEO_VERSION_ID_BEGIN = 40400;
35 static constexpr int VIDEO_VERSION_ID_END = 40800;
36 static constexpr int VIDEO_VERSION_ID_DEFAULT = VIDEO_VERSION_ID_BEGIN;
37 static constexpr int VIDEO_VERSION_ID_ALL = 0;
38 static const std::string VIDEODB_PATH_VERSION_ID_ALL{"videodb://movies/videoversions/0"};
40 struct VideoAssetInfo
42 int m_idFile{-1};
43 int m_assetTypeId{-1};
44 std::string m_assetTypeName;
45 int m_idMedia{-1};
46 MediaType m_mediaType{MediaTypeNone};
47 VideoAssetType m_assetType{VideoAssetType::UNKNOWN};