TC MediaPlayer behaviour

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

User avatar
sidefx88
Senior Member
Senior Member
Posts: 294
Joined: 2007-04-11, 17:07 UTC
Location: Argentina

TC MediaPlayer behaviour

Post by *sidefx88 »

Hi,

* I use a customized preset for the EQ. It works fine until a playlist or single track finishes... then stop. When I play a new file or playlist the EQ just stops working. I have to close the TC Media Player (X) and start over again.

* In the 99% of the cases, if I pause a playlist for a long period of time (for example: a few hours) and then press play again, the Media Player just closes (losing the playlist, if I didn't save it...)

This behaviour applies to TC for Android 2.0x to 2.62.
I have a Motorola D3 (XT919), Android 4.1.2 (kernel 3.4.0)

Thanks in advance!
I Love Total Commander!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Hmm, very odd, I will try to reproduce it.
Author of Total Commander
https://www.ghisler.com
User avatar
sidefx88
Senior Member
Senior Member
Posts: 294
Joined: 2007-04-11, 17:07 UTC
Location: Argentina

Post by *sidefx88 »

On the first bug, I noticed the EQ wasn't active, so I press the EQ button, then an error message appears:

AudioEffect: set/get parameter error

I hope it helps!
I Love Total Commander!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Did you have any other audio effects enabled, e.g. loudness enhancer? It depends on the phone hardware whether you can use multiple effects at the same time, or just one.
Author of Total Commander
https://www.ghisler.com
User avatar
sidefx88
Senior Member
Senior Member
Posts: 294
Joined: 2007-04-11, 17:07 UTC
Location: Argentina

Post by *sidefx88 »

Yes, the bass enhancer is active.
I Love Total Commander!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I see - can you try it with disabled bass enhancer?
Author of Total Commander
https://www.ghisler.com
User avatar
sidefx88
Senior Member
Senior Member
Posts: 294
Joined: 2007-04-11, 17:07 UTC
Location: Argentina

Post by *sidefx88 »

Yes, I disabled it and I still get the same error message:

"AudioEffect: set/get parameter error"
I Love Total Commander!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Could you try one of the equalizer presets? The error you get is an exception coming directly from Android, not an error shown by Total Commander.

Total Commander does query the system which parameters are suported by the equalizer before setting them. But it may be reported incorrectly. If the presets work, you can try to move the sliders a bit less than to the upper/lower ends.
Author of Total Commander
https://www.ghisler.com
User avatar
sidefx88
Senior Member
Senior Member
Posts: 294
Joined: 2007-04-11, 17:07 UTC
Location: Argentina

Post by *sidefx88 »

OK, I will try one of the presets and let you know.

Thanks!
I Love Total Commander!
User avatar
sidefx88
Senior Member
Senior Member
Posts: 294
Joined: 2007-04-11, 17:07 UTC
Location: Argentina

Post by *sidefx88 »

I'm using the v2.71 now, but this problem not only persists: it is worse now :(

Before, the EQ "crashed" and the "AudioEffect: set/get parameter error" only appeared when a track or playlist finished (then stop).

Now I get that error when pause and press play again, or I skip a track, or a track finishes then play the next automatically in a playlist.

This is really annoying now. The problem is worse now, so I think is not only an Android problem :(
I Love Total Commander!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

TC has to reapply the equalizer each time a track changes, because a new MediaPlayer object is used. If applying the equalizer fails, TC tries to apply it again when you pause/restart the track. I really don't know why the function would fail on your device. :(
Author of Total Commander
https://www.ghisler.com
User avatar
matixx
Power Member
Power Member
Posts: 1117
Joined: 2003-03-21, 02:37 UTC
Location: ....

Post by *matixx »

I use TC 2.70

2015-11-01 Added: Media player: Better show currently playing track by putting yellow/black frame around the icon

There is no effect on my device, i dont have a yellow/black frame around the icon.

Sony Z1compact
Android 4.4.4
#101512
User avatar
sidefx88
Senior Member
Senior Member
Posts: 294
Joined: 2007-04-11, 17:07 UTC
Location: Argentina

Post by *sidefx88 »

Me neither :(
I Love Total Commander!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Good news: I found the problem with the equalizer! It has to do with so called audio sessions. The equalizer only works on the current audio session, and each new player gets a new session ID. But it's possible to set the ID manually, then it works also beyond the first track.

The new frame icon is only visible when using the new style icons (Main configuration - Font and Colors - New style icons).
Author of Total Commander
https://www.ghisler.com
User avatar
sidefx88
Senior Member
Senior Member
Posts: 294
Joined: 2007-04-11, 17:07 UTC
Location: Argentina

Post by *sidefx88 »

Thanks, Christian!

I love your player because it is simple and not bloatware.

I hope this problem may be solved on a next release.
EDIT: I just see the new update! THANKS again!

Thanks for the icons tip as well!

:)
I Love Total Commander!
Post Reply