#6564: [MediaPlayer] show duration in playlist window (easy)
----------------------------------------+----------------------------
Reporter: diver | Owner: stippi
Type: enhancement | Status: new
Priority: normal | Milestone: R1
Component: Applications/MediaPlayer | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
----------------------------------------+----------------------------
Comment (by TwoFx):
I had a look at this for Google Code-In. I implemented the functionality
by probing all files in the playlist when the playlist window is created
and then tracking incremental changes using a listener to avoid having to
rescan a potientially large playlist. However, the performance impact at
startup and when adding large amounts (50+) of files is still noticeable
in my virtual machine, though that was probably to be expected as
determining the length of a media file can be a rather expensive
operation. I will attach my patch.
--
Ticket URL: <https://dev.haiku-os.org/ticket/6564#comment:5>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.