[mythtv-commits] Ticket #3981: MythMusic song rating & playcount update failure
MythTV
mythtv at cvs.mythtv.org
Tue Sep 18 14:39:49 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 | Mlocked: 0
----------------------------------+-----------------------------------------
MythMusic seems to save rating and playcount (possibly other?) info to DB
e.g. when plugin is exited and not every time these values change.
Now that MythMusic player re-builds the song tree/info if you update song
metadata, if you have entered rating to a song or song playcount has
increased, these values are not updated to DB. To reproduce: change rating
of a currently playing song -> edit meetadata of another song -> save to
file and DB -> go back to currently playing song and open metadata editor
-> rating has not been changed (although the player currently shows the
updated value).
I guess meta-data saving should update all pending values to DB before re-
buiding the music tree. Haven't looked at the code but this is what it
looks like.
There's another use case that fails currently that could be addressed
if/when above problem is fixed: I use "not rated" smart playlist to listen
songs and give ratings. Now if you want to "clear" the current playlist
from the entries that you already have rated, you cannot just re-open the
"not rated" smart playlist because the rating values have not been saved
to DB. Instead you have to exit the player and start again. IMHO this
should be fixed e.g. so that pending updates are written to DB when menu
is opened or at least when new playlist is opened.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3981>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list