Playlist counter stops counting and displays 0:00:00
Bug #129001 reported by
Ken McLean
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Flywire |
New
|
Undecided
|
Unassigned |
Bug Description
Occasionally SYNplayer hits a glitch of some sort, and the playlist counter stops working. Regardless of the files loaded up the counter displays 00:00:00. Closing and re-opening the program is the only way to fix the problem.
Trigger for the bug is unknown.
It is unknown if entering Auto-DJ resets the counter.
Changed in flywire: | |
milestone: | none → 0.2.1 |
To post a comment you must log in.
I, too, have experienced this. I also can't see a trigger for the bug. At one point I thought it was not deallocating memory from old media items, so I put in a thread that reports the memory usage and triggers the garbage collector, but I couldn't see either a gradual increase in memory usage, which would suggest a memory leak, or a spike. So that suggests it's either happening really quickly for some reason, or something else has crashed, like the JMF.
I have now removed the instatiantion of a JMF player for every media item found. It now instantiates a player for every item once, and then waits for the time to be changed from unknown. Once it has a time, it stores the time elsewhere and kills the player. It then creates a new player when the media is moved into the playlist and kills the player when it is removed from the playlist for whatever reason. This should cut down on the memory usage alot just in case. It also allows SYNplayer to handle much more media at a time.