On Sunday 10 Apr 2005 05:59, Isaac Richards wrote:
> On Saturday 09 April 2005 09:51 am, Barney Barumba wrote:
> > Ok, here is a new patch that includes the quick fix outlined above. If
> > we can get this into 0.18 then I'll have a look at the correct method
> > next week.
>
> I've applied this to CVS. Didn't test it or anything, but it looked ok...
> =)
I know this is an old thread, but unfortunately the patch didn't seem to fix
things. Release 0.18 & the current CVS still have problems with MAME & game
genre after doing a 'Scan for Games'. The following patch appears to fix the
problem.
--
Ian
--- mythplugins/mythgame/mythgame/mamehandler.cpp.org 2005-04-26 06:56:29.000000000 +0100
+++ mythplugins/mythgame/mythgame/mamehandler.cpp 2005-04-26 06:57:18.000000000 +0100
@@ -436,7 +436,7 @@
map<QString, QString>::iterator i;;
if ((!CatMap.empty()) && ((i = CatMap.find(rom->Romname().latin1())) != CatMap.end()))
{
- rom->setGenre((*i).second);
+ rom->setGenre((*i).second.stripWhiteSpace());
//cout << "Genre = " << (*i).second.latin1() << endl;
}
else
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev