From df930a608493dba77f6dd7b615fa25de51c1cc7e Mon Sep 17 00:00:00 2001 From: APTX Date: Tue, 24 Jul 2012 01:26:11 +0200 Subject: [PATCH] Read type properly. Actually request ALL the data required for File --- localmylist/requesthandler.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/localmylist/requesthandler.cpp b/localmylist/requesthandler.cpp index 4c8baa3..5831185 100644 --- a/localmylist/requesthandler.cpp +++ b/localmylist/requesthandler.cpp @@ -60,6 +60,11 @@ void RequestHandler::handleRequests() | FileFlag::SubLanguage | FileFlag::DubLanguage | FileFlag::MyListViewDate + | FileFlag::MyListState + | FileFlag::MyListFileState + | FileFlag::MyListStorage + | FileFlag::MyListSource + | FileFlag::MyListOther | FileFlag::OtherEpisodes | FileFlag::IsDeprecated; @@ -249,7 +254,7 @@ void RequestHandler::episodeRequestComplete(bool success) next.length = reply->length(); next.airdate = reply->airDate(); // next.state - State is a bitfield and will be split into parts - next.type = reply->type(); + next.type = reply->type() == QChar('0') ? QString("") : QString(reply->type()); // I see no way of getting this via UDP api. // next.recap next.rating = reply->rating(); -- 2.52.0