MM5 Repeats Last 10 Secs of Track [#17180]

Help improve MediaMonkey 5 by testing the latest pre-release builds, and reporting bugs and feature requests.

Moderator: Gurus

MattTown
Posts: 242
Joined: Sun Mar 15, 2009 5:09 pm
Location: Australia

MM5 Repeats Last 10 Secs of Track [#17180]

Post 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
MM 5.1.0.2829 (WEF 24 Dec 2023, Portable Mode), Gold lifetime license, user since 2009.
Currently 25K files. Library and music files are on a separate partition (E:\) on external USB drive.
Windows Surface Book (Original), i5, 8GB RAM, 250GB SSD.
Win10 Home 64 bit, update: 22H2 19045.3570
MMA 2.0.0.1103, Android 13 on Nokia XR20, music files on SD card.
dtsig
Posts: 3588
Joined: Mon Jan 24, 2011 6:34 pm

Re: MM5 Repeats Last 10 Secs of Track

Post by dtsig »

This happens in 2656 ...
Where's the db and ini stored
Reporting Bugs
Where tags are stored

Not affiliated with MediaMonkey ... just a RABID user/lover
DTSig
MattTown
Posts: 242
Joined: Sun Mar 15, 2009 5:09 pm
Location: Australia

Re: MM5 Repeats Last 10 Secs of Track

Post by MattTown »

Sorry, should have stated that the MM version i'm using is 5.0.3.2627.
Cheers
MM 5.1.0.2829 (WEF 24 Dec 2023, Portable Mode), Gold lifetime license, user since 2009.
Currently 25K files. Library and music files are on a separate partition (E:\) on external USB drive.
Windows Surface Book (Original), i5, 8GB RAM, 250GB SSD.
Win10 Home 64 bit, update: 22H2 19045.3570
MMA 2.0.0.1103, Android 13 on Nokia XR20, music files on SD card.
Erwin Hanzl
Posts: 1188
Joined: Tue Jun 13, 2017 8:47 am
Location: Vienna

Re: MM5 Repeats Last 10 Secs of Track

Post by Erwin Hanzl »

Please update last Alpha-Version - link is in my signature.
Then check TOOLS> Options ... Player ... Audio Output (plug ins)
MMW 4.1.31.1919 Gold-Standardinstallation auf WIN 10-64Bit Pro Vers. 21H2| Windows-Defender mit Echtzeitüberwachung. | Meine Einstellungen
MMA 2.0.0.1159 Free Beta auf Huawei Mate 20 Pro 128 GB Android 12 | USB-Kabel-Sync with MM4
MattTown
Posts: 242
Joined: Sun Mar 15, 2009 5:09 pm
Location: Australia

Re: MM5 Repeats Last 10 Secs of Track

Post 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
MM 5.1.0.2829 (WEF 24 Dec 2023, Portable Mode), Gold lifetime license, user since 2009.
Currently 25K files. Library and music files are on a separate partition (E:\) on external USB drive.
Windows Surface Book (Original), i5, 8GB RAM, 250GB SSD.
Win10 Home 64 bit, update: 22H2 19045.3570
MMA 2.0.0.1103, Android 13 on Nokia XR20, music files on SD card.
Ludek
Posts: 4911
Joined: Fri Mar 09, 2007 9:00 am

Re: MM5 Repeats Last 10 Secs of Track

Post by Ludek »

dtsig
Posts: 3588
Joined: Mon Jan 24, 2011 6:34 pm

Re: MM5 Repeats Last 10 Secs of Track

Post by dtsig »

Not happening for me now in 2657
Where's the db and ini stored
Reporting Bugs
Where tags are stored

Not affiliated with MediaMonkey ... just a RABID user/lover
DTSig
Lowlander
Posts: 56339
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: MM5 Repeats Last 10 Secs of Track

Post by Lowlander »

Which File Type(s) and what Output Plugin is this happening with? And does switching output plugin remediate the problem?
MiPi
Posts: 861
Joined: Tue Aug 18, 2009 2:56 pm
Location: Czech Republic
Contact:

Re: MM5 Repeats Last 10 Secs of Track

Post by MiPi »

This problem is tracked here.
MattTown
Posts: 242
Joined: Sun Mar 15, 2009 5:09 pm
Location: Australia

Re: MM5 Repeats Last 10 Secs of Track

Post 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.
Lowlander wrote: Sat Jul 23, 2022 12:18 pm And does switching output plugin remediate the problem?
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
MM 5.1.0.2829 (WEF 24 Dec 2023, Portable Mode), Gold lifetime license, user since 2009.
Currently 25K files. Library and music files are on a separate partition (E:\) on external USB drive.
Windows Surface Book (Original), i5, 8GB RAM, 250GB SSD.
Win10 Home 64 bit, update: 22H2 19045.3570
MMA 2.0.0.1103, Android 13 on Nokia XR20, music files on SD card.
MattTown
Posts: 242
Joined: Sun Mar 15, 2009 5:09 pm
Location: Australia

Re: MM5 Repeats Last 10 Secs of Track [#17180]

Post 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.
MM 5.1.0.2829 (WEF 24 Dec 2023, Portable Mode), Gold lifetime license, user since 2009.
Currently 25K files. Library and music files are on a separate partition (E:\) on external USB drive.
Windows Surface Book (Original), i5, 8GB RAM, 250GB SSD.
Win10 Home 64 bit, update: 22H2 19045.3570
MMA 2.0.0.1103, Android 13 on Nokia XR20, music files on SD card.
Erwin Hanzl
Posts: 1188
Joined: Tue Jun 13, 2017 8:47 am
Location: Vienna

Re: MM5 Repeats Last 10 Secs of Track [#17180]

Post 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
MMW 4.1.31.1919 Gold-Standardinstallation auf WIN 10-64Bit Pro Vers. 21H2| Windows-Defender mit Echtzeitüberwachung. | Meine Einstellungen
MMA 2.0.0.1159 Free Beta auf Huawei Mate 20 Pro 128 GB Android 12 | USB-Kabel-Sync with MM4
Barry4679
Posts: 2374
Joined: Fri Sep 11, 2009 8:07 am
Location: Australia
Contact:

Re: MM5 Repeats Last 10 Secs of Track [#17180]

Post 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.
Want a dark skin for MM5? This is the one that works best for me .. elegant, compact & clear.
Erwin Hanzl
Posts: 1188
Joined: Tue Jun 13, 2017 8:47 am
Location: Vienna

Re: MM5 Repeats Last 10 Secs of Track [#17180]

Post 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
MMW 4.1.31.1919 Gold-Standardinstallation auf WIN 10-64Bit Pro Vers. 21H2| Windows-Defender mit Echtzeitüberwachung. | Meine Einstellungen
MMA 2.0.0.1159 Free Beta auf Huawei Mate 20 Pro 128 GB Android 12 | USB-Kabel-Sync with MM4
MattTown
Posts: 242
Joined: Sun Mar 15, 2009 5:09 pm
Location: Australia

Re: MM5 Repeats Last 10 Secs of Track [#17180]

Post 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.
MM 5.1.0.2829 (WEF 24 Dec 2023, Portable Mode), Gold lifetime license, user since 2009.
Currently 25K files. Library and music files are on a separate partition (E:\) on external USB drive.
Windows Surface Book (Original), i5, 8GB RAM, 250GB SSD.
Win10 Home 64 bit, update: 22H2 19045.3570
MMA 2.0.0.1103, Android 13 on Nokia XR20, music files on SD card.
Post Reply