Skip to content

Commit

Permalink
Add an appname define for mythmetadatalookup.
Browse files Browse the repository at this point in the history
Also updates binary version for this change and 0e84bfe .
  • Loading branch information
sphery committed Sep 7, 2011
1 parent 0e84bfe commit 42a70a5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions mythtv/libs/libmythbase/mythcorecontext.h
Expand Up @@ -27,6 +27,7 @@
#define MYTH_APPNAME_MYTHLCDSERVER "mythlcdserver"
#define MYTH_APPNAME_MYTHAVTEST "mythavtest"
#define MYTH_APPNAME_MYTHMEDIASERVER "mythmediaserver"
#define MYTH_APPNAME_MYTHMETADATALOOKUP "mythmetadatalookup"

class MDBManager;
class MythCoreContextPrivate;
Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythbase/mythversion.h
Expand Up @@ -12,7 +12,7 @@
/// Update this whenever the plug-in API changes.
/// Including changes in the libmythbase, libmyth, libmythtv, libmythav* and
/// libmythui class methods used by plug-ins.
#define MYTH_BINARY_VERSION "0.25.20110907-1"
#define MYTH_BINARY_VERSION "0.25.20110907-2"

/** \brief Increment this whenever the MythTV network protocol changes.
*
Expand Down
4 changes: 2 additions & 2 deletions mythtv/programs/mythmetadatalookup/main.cpp
Expand Up @@ -33,7 +33,7 @@ class MythMetadataLookupCommandLineParser : public MythCommandLineParser
};

MythMetadataLookupCommandLineParser::MythMetadataLookupCommandLineParser() :
MythCommandLineParser("mythmetadatalookup")
MythCommandLineParser(MYTH_APPNAME_MYTHMETADATALOOKUP)
{ LoadArguments(); }

void MythMetadataLookupCommandLineParser::LoadArguments(void)
Expand Down Expand Up @@ -95,7 +95,7 @@ int main(int argc, char *argv[])
}

QCoreApplication a(argc, argv);
QCoreApplication::setApplicationName("mythmetadatalookup");
QCoreApplication::setApplicationName(MYTH_APPNAME_MYTHMETADATALOOKUP);

int retval;
if ((retval = cmdline.ConfigureLogging()) != GENERIC_EXIT_OK)
Expand Down

0 comments on commit 42a70a5

Please sign in to comment.