Permalink
Browse files

Rec types from string need a kNotRecording too.

This fixes the inability to set recording rules to this value via the API
  • Loading branch information...
Robert McNamara authored and daniel-kristjansson committed Apr 1, 2012
1 parent 92d37b6 commit 87b360e3875c47617d7cb00150c29ff392403b7e
Showing with 2 additions and 0 deletions.
  1. +2 −0 mythtv/libs/libmyth/recordingtypes.cpp
@@ -83,6 +83,8 @@ QString toRawString(RecordingType rectype)
RecordingType recTypeFromString(QString type)
{
if (type.toLower() == "not recording" || type.toLower() == "not")
return kNotRecording;
if (type.toLower() == "single record" || type.toLower() == "single")
return kSingleRecord;
else if (type.toLower() == "record daily" || type.toLower() == "daily")

0 comments on commit 87b360e

Please sign in to comment.