From f4aa8a0d12846c926ed994dba302a094d9e09b7e Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Thu, 30 May 2013 09:59:10 +0400 Subject: [PATCH] gui/movieinfo.cpp: add fields for youtube feeds player --- src/gui/movieinfo.cpp | 3 +++ src/gui/movieinfo.h | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/gui/movieinfo.cpp b/src/gui/movieinfo.cpp index 4059faa67..2e976d3a4 100644 --- a/src/gui/movieinfo.cpp +++ b/src/gui/movieinfo.cpp @@ -902,6 +902,9 @@ void CMovieInfo::clearMovieInfo(MI_MOVIE_INFO * movie_info) movie_info->bookmarks.user[i].length = 0; movie_info->bookmarks.user[i].name = ""; } + movie_info->tfile.clear(); + movie_info->ytdate.clear(); + movie_info->ytid.clear(); } /************************************************************************ diff --git a/src/gui/movieinfo.h b/src/gui/movieinfo.h index d90369b63..cc4d6683d 100644 --- a/src/gui/movieinfo.h +++ b/src/gui/movieinfo.h @@ -169,7 +169,10 @@ typedef struct int epgVideoPid; // currently not used, we just do not want to loose this info if movie info is saved backed int VideoType; int epgVTXPID; // currently not used, we just do not want to loose this info if movie info is saved backed -}MI_MOVIE_INFO; + std::string tfile; // thumbnail/cover file name + std::string ytdate; // yt published + std::string ytid; // yt published +} MI_MOVIE_INFO; class CMovieInfo