Page 1 of 1
MM5 Repeats Last 10 Secs of Track [#17180]
Posted: Thu Jul 07, 2022 11:22 pm
by MattTown
Hi, I've managed to pin down a strange playback behavior, where the edit of a track database field can cause MM to replay the last 10 secs of a track. This is more of an annoyance than a bug, but a music player should be able to play a track through without unintended interruptions or repeats.
Context: Main panel is showing Main Music>All Tracks. Left panel (tree view?) is closed. Right panels are opened and behaving normally. Audio Output is listed as Mediamonkey DirectSound output.
Trigger: Double click on a track to play it. Open a database field to edit - I'm generally editing the Comments field - and make a change that would require a write on close. Either let the track play through or move the play control to 00:15 secs and let it play forward. When it passes 00:10, close the edited field.
Observed behavior: The play counter jumps back to 00:20 secs while the audio stream continues to the end of the track uninterrupted. The play counter proceeds forwards and when it gets to 00:10 again it replays the last 10 secs of the track. What you hear is <end of track><brief silence><last 10 secs of track again>. Note that my limited testing only has this happen about 3 out of five times, and I haven't been able to pin down the trigger time window much.
Again, this is more of an annoyance and won't affect anyone who is just playing music without getting into the data. However, it is strange behavior and might be a factor in other reports of strange playing behavior in MM. My perception is that a similar behavior affected MM4 as well.
Cheers
Re: MM5 Repeats Last 10 Secs of Track
Posted: Fri Jul 08, 2022 6:39 pm
by dtsig
This happens in 2656 ...
Re: MM5 Repeats Last 10 Secs of Track
Posted: Sat Jul 09, 2022 8:01 am
by MattTown
Sorry, should have stated that the MM version i'm using is 5.0.3.2627.
Cheers
Re: MM5 Repeats Last 10 Secs of Track
Posted: Sat Jul 09, 2022 9:58 am
by Erwin Hanzl
Please update last Alpha-Version - link is in my signature.
Then check TOOLS> Options ... Player ... Audio Output (plug ins)
Re: MM5 Repeats Last 10 Secs of Track
Posted: Mon Jul 11, 2022 7:02 pm
by MattTown
Erwin Hanzl wrote: ↑Sat Jul 09, 2022 9:58 am
Please update last Alpha-Version - link is in my signature.
Then check TOOLS> Options ... Player ... Audio Output (plug ins)
Thanks Erwin. I only have one production system, not a test environment, and am reluctant to hazard my data with a non-released version.
Besides, I'm not sure whether you are offering this advice to me on the basis that it would let me provide a debug data set to the devs, or whether it would fix the problem. Based on what dtsig observed, the latter isn't the case.
dtsig wrote: ↑Fri Jul 08, 2022 6:39 pm
This happens in 2656 ...
Maybe dtsig could confirm what Audio Output he is using on his 2656 installation.
Cheers
Matt
Re: MM5 Repeats Last 10 Secs of Track
Posted: Thu Jul 21, 2022 7:33 am
by Ludek
Re: MM5 Repeats Last 10 Secs of Track
Posted: Thu Jul 21, 2022 10:52 am
by dtsig
Not happening for me now in 2657
Re: MM5 Repeats Last 10 Secs of Track
Posted: Sat Jul 23, 2022 12:18 pm
by Lowlander
Which File Type(s) and what Output Plugin is this happening with? And does
switching output plugin remediate the problem?
Re: MM5 Repeats Last 10 Secs of Track
Posted: Mon Jul 25, 2022 6:05 am
by MiPi
This problem is
tracked here.
Re: MM5 Repeats Last 10 Secs of Track
Posted: Wed Jul 27, 2022 2:27 am
by MattTown
Hi Lowlander, thanks for the response.
Lowlander wrote: ↑Sat Jul 23, 2022 12:18 pm
Which File Type(s) and what Output Plugin is this happening with?
Files are MP3s encoded at 256K.
Audio Output plugin is Mediamonkey Direct Sound. Config: all ticked - Enable HW acceleration, smooth pause, smooth seek, smooth stop.
I tested again with MMDS, and the repeat behaviour was again as described.
I also tried the MMDS output with all of the configuration options deselected, didn't change the repeat behaviour.
Changed output to Mediamonkey WASPI output - repeat behaviour still there.
So, no, changing the audio output plugin doesn't change the repeat behaviour - the problem is presumably upstream of the output plugin.
Cheers
Matt
Re: MM5 Repeats Last 10 Secs of Track [#17180]
Posted: Sun Aug 28, 2022 7:12 pm
by MattTown
And here's a bizarre twist for your information. I've just played a short song (1:47) and with a field edit near the end it started repeating the last 10 secs again. However, this time when it reached zero, the
time elapsed counter at bottom right started counting back up again. This has happened once or twice before so it is rare but not unique. Bizarrely, the time played counter at bottom left also progressed upwards while the track repeated, and was at least 1 minute beyond the DB track length when I last looked at it.
Tried playing the next track and MM threw an application error:
- address 0040580D in module 'MediaMonkeyEngine.exe'. Write of address 00A6FE56.
Restarted MM, while the audio of the repeated last 10 secs kept going. MM restarted but balked at a Port In Use error. Track end repeat continued. Closed MM, track repeat continued.
Fired up Task Manager, reported no running apps but MM was still present in the process list with 28% of the CPU and 269Mb of memory.
Last 10 sec loop continued to repeat throughout the process.
Rebooted computer, MM started normally.
Re: MM5 Repeats Last 10 Secs of Track [#17180]
Posted: Sun Aug 28, 2022 9:40 pm
by Erwin Hanzl
I've just played a short song (1:47) and with a field edit near the end it started repeating the last 10 secs again.
Never have I edited fields while the same song is playing.
Now I tested it and got the same error.
Changed tags are written back - this of course has an impact.
Further test: I play a specific song and edit some fields in an OTHER song - no problems.
And what does that tell me: don't edit fields when playing the same song. I'm sticking to it.
Output-Plugin: Mediamonkey Direct Sound
...YES: Enable hardware acceleration, Smooth pause , seek, stop
Re: MM5 Repeats Last 10 Secs of Track [#17180]
Posted: Mon Aug 29, 2022 3:51 am
by Barry4679
Erwin Hanzl wrote: ↑Sun Aug 28, 2022 9:40 pm
And what does that tell me: don't edit fields when playing the same song. I'm sticking to it.
Good plan, but capability to re-tag the currently playing track seems a basic requirement.
Re: MM5 Repeats Last 10 Secs of Track [#17180]
Posted: Mon Aug 29, 2022 3:55 am
by Erwin Hanzl
Good plan, but capability to re-tag the currently playing track seems a basic requirement.
Isn't that the case with you?
I use MM5.0.4.2661 Beta
Re: MM5 Repeats Last 10 Secs of Track [#17180]
Posted: Thu Sep 15, 2022 2:11 am
by MattTown
I've been editing tracks while playing for years and found that MM is always reliable writing to the track tags and database. While this error does occasionally happen it is not frequent enough to cause me a problem (unlike some of the quirks of the inline editing interface) and I usually only have to restart Mediamonkey. I'm just reporting it because it's not a good look for the widespread adoption of MM outside enthusiasts.