[mythtv] MythMusic ComputeSize and database usage
dave
dave at atkinson.net.au
Mon Mar 26 03:58:38 UTC 2007
Dear Mythdevers,
Looking into Mythmusic and the playlist size calculation code in playlist.cpp
it appears it is relying on an unpopulated field "length" when calculating the
play time. For mp3s I'm calculating the length using mp3info and thought I
might update the database as I went. i.e
---
get rec
if rec.length = 0
calc size and update rec.length
fi
size_in_sec += rec.length
---
Is their any issues with doing this or I have not ticked something that would
update the length field ?
David
More information about the mythtv-dev
mailing list