diff options
| -rw-r--r-- | dish.c | 7 | ||||
| -rw-r--r-- | dish.h | 8 |
2 files changed, 10 insertions, 5 deletions
@@ -12,9 +12,10 @@ #include "dish.h" #include <libsi/si.h> -#include <libsi/descriptor.h> +//#include <libsi/descriptor.h> #include <string.h> #include <stdlib.h> +#include <vdr/tools.h> namespace SI { @@ -306,8 +307,8 @@ namespace SI const char *DishDescriptor::getDescription(void) { string tmp = ""; if (description != NULL) tmp += *description; - char* rating = getRating(); - if (rating && rating != "") { + const char* rating = getRating(); + if (rating && strcmp(rating,"") != 0) { if(tmp != "") tmp += "|"; tmp += rating; } @@ -10,6 +10,10 @@ #ifndef LIBSI_DISH_H #define LIBSI_DISH_H +#include <string> +#include <libsi/util.h> +#include <libsi/descriptor.h> + namespace SI { @@ -267,8 +271,8 @@ protected: string *shortText; // usually the episode name string *description; // description of the event unsigned char *decompressed; - uchar DishTheme; - uchar DishCategory; + unsigned char DishTheme; + unsigned char DishCategory; uint16_t mpaaRating; uint16_t starRating; |
