[mythtv-commits] Ticket #3981: MythMusic song rating & playcount update failure
MythTV
mythtv at cvs.mythtv.org
Tue Sep 18 22:40:29 UTC 2007
#3981: MythMusic song rating & playcount update failure
----------------------------------+-----------------------------------------
Reporter: otto at kolsi dot fi | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythmusic | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
----------------------------------+-----------------------------------------
Comment(by Roo <roo.watt at gmail.com>):
When I created #3737 I found that a reread of the metadata before the
setString() would update the track displayed info.
At the time though it was unclear why this worked as the data should have
been properly updated when exiting the editDialog. I suspect there is a
timing related issue at play.
I noticed that the {{{editMeta = all_music->getMetadata( node->getInt()
);}}} would not be needed if I had sufficient debugging "cout" statements
before the setString() or it would work the first time after entering
mythmusic.
I have been meaning to look into this further as I think it achieves what
the tree build is trying to achieve at a lower cost. ie Update the string
displayed for the edited track.
Caveat: I am not a programmer so I may be way off base here, if so just
ignore this comment. :)
Check #3737 mythmusic-editmeta_v2.diff
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3981#comment:1>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list