[mythtv] Mythmusic segfault - problems with hidden tracks?
Edward Wildgoose
edward.wildgoose at frmhedge.com
Mon Aug 25 15:10:20 EDT 2003
Durr, should have stared at the code for a few seconds longer. The line to
set genre is outside the "if (track) {" protection. Trivial patch:
cvs -z3 diff "cdrip.cpp"
Index: cdrip.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythmusic/mythmusic/cdrip.cpp,v
retrieving revision 1.31
diff -r1.31 cdrip.cpp
387,391d386
< // cddb_genre from cdda structure is just an enum that
< // gets mapped to a string -- kind of useless for custom
< // genres. Override the value here with the value from
< // the Genre combo box.
< track->setGenre(genreedit->currentText());
394a390,395
> // cddb_genre from cdda structure is just an enum that
> // gets mapped to a string -- kind of useless for custom
> // genres. Override the value here with the value from
> // the Genre combo box.
> track->setGenre(genreedit->currentText());
>
More information about the mythtv-dev
mailing list