mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +02:00
Merge remote-tracking branch 'check/next-cc'
needs buildfixing in framebuffer class... Conflicts: data/locale/deutsch.locale data/locale/english.locale src/driver/fontrenderer.cpp src/driver/volume.cpp src/gui/audiomute.cpp src/gui/audioplayer.cpp src/gui/osd_setup.cpp src/gui/widget/stringinput.cpp src/neutrino.cpp
This commit is contained in:
@@ -53,6 +53,8 @@
|
||||
#include <gui/widget/msgbox.h>
|
||||
#include <gui/movieinfo.h>
|
||||
|
||||
#include <neutrino.h>
|
||||
|
||||
//#define XMLTREE_LIB
|
||||
#ifdef XMLTREE_LIB
|
||||
#include <xmltree/xmltree.h>
|
||||
@@ -480,6 +482,24 @@ void CMovieInfo::showMovieInfo(MI_MOVIE_INFO & movie_info)
|
||||
print_buffer += movie_info.audioPids[i].epgAudioPidName;
|
||||
print_buffer += ", ";
|
||||
}
|
||||
print_buffer.erase(print_buffer.size()-2);
|
||||
}
|
||||
if (movie_info.genreMajor != 0)
|
||||
{
|
||||
neutrino_locale_t locale_genre;
|
||||
unsigned char i = (movie_info.genreMajor & 0x0F0);
|
||||
if (i >= 0x010 && i < 0x0B0)
|
||||
{
|
||||
i >>= 4;
|
||||
i--;
|
||||
locale_genre = genre_sub_classes_list[i][((movie_info.genreMajor & 0x0F) < genre_sub_classes[i]) ? (movie_info.genreMajor & 0x0F) : 0];
|
||||
}
|
||||
else
|
||||
locale_genre = LOCALE_GENRE_UNKNOWN;
|
||||
print_buffer += "\n";
|
||||
print_buffer += g_Locale->getText(LOCALE_MOVIEBROWSER_INFO_GENRE_MAJOR);
|
||||
print_buffer += ": ";
|
||||
print_buffer += g_Locale->getText(locale_genre);
|
||||
}
|
||||
|
||||
print_buffer += "\n\n";
|
||||
|
Reference in New Issue
Block a user