]> git.vomp.tv Git - vompclient.git/blob - src/movieinfo.h
Switch to cmake
[vompclient.git] / src / movieinfo.h
1 /*
2     Copyright 2014 Marten Richter, 2021 Chris Tallon
3
4     This file is part of VOMP.
5
6     VOMP is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation; either version 2 of the License, or
9     (at your option) any later version.
10
11     VOMP is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU General Public License for more details.
15
16     You should have received a copy of the GNU General Public License
17     along with VOMP.  If not, see <https://www.gnu.org/licenses/>.
18 */
19
20 #ifndef MOVIEINFO_H
21 #define MOVIEINFO_H
22
23 #include <string>
24
25 #include "image.h"
26
27 struct MovieInfo
28 {
29   int id{};
30
31   std::string title;
32   std::string originalTitle;
33   std::string tagline;
34   std::string overview;
35   UCHAR adult{};
36   std::string collectionName;
37
38   int budget{};
39   int revenue{};
40   std::string genres;
41   std::string homepage;
42   std::string releaseDate;
43   int runtime{};
44   float popularity{};
45   float voteAverage{};
46
47   TVMediaStruct poster;
48   TVMediaStruct fanart;
49   TVMediaStruct collectionPoster;
50   TVMediaStruct collectionFanart;
51   Actors actors;
52 };
53
54 #endif