[TC 3.xx for Android] problem when exiting music player

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
lukval
Junior Member
Junior Member
Posts: 9
Joined: 2015-03-26, 13:47 UTC

[TC 3.xx for Android] problem when exiting music player

Post by *lukval »

Hello,

I have some tracks (1 song + some internet stream addresses) in my music queue. When exiting the ttcmd player, it keeps self-opening again and again. Exiting the main app (ttcmd for android) helps. I think this issue is there from ttcmd version 3.0 but I'm not sure.

My system is Honor 9, Oreo 8.0.

Regards,
Lukas
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 3.xx for Android] problem when exiting music player

Post by *ghisler(Author) »

Could you give me more details, please?
1. How do you exit the player? Do you use the "X" button, or just the Android "go back" button or gesture?
2. How exactly did you open the player?
Author of Total Commander
https://www.ghisler.com
lukval
Junior Member
Junior Member
Posts: 9
Joined: 2015-03-26, 13:47 UTC

Re: [TC 3.xx for Android] problem when exiting music player

Post by *lukval »

Hello, the issue is maybe because I have buggie stock android. Now, without phone restart, it is working well.
1. I'm exiting it with the red X or via the 3-dot menu.
2. Starting it via shortcut from the desktop.
I can send you small screenrecord if you are interested.
Regards, Lukas
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: [TC 3.xx for Android] problem when exiting music player

Post by *DrShark »

lukval wrote: 2020-12-03, 18:00 UTCWhen exiting the ttcmd player, it keeps self-opening again and again. Exiting the main app (ttcmd for android) helps. I think this issue is there from ttcmd version 3.0 but I'm not sure.
What exactly do you mean by "it keeps self-opening again and again"? Dou you mean that player window appears after it was closed, or just player notification shows up in notification bar/drawer? It would be nice to see screenrecord of that...
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
lukval
Junior Member
Junior Member
Posts: 9
Joined: 2015-03-26, 13:47 UTC

Re: [TC 3.xx for Android] problem when exiting music player

Post by *lukval »

Screenrecording @ Android emulator ;-) https://www.youtube.com/watch?v=nHxaZlT_9I0
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 3.xx for Android] problem when exiting music player

Post by *ghisler(Author) »

Thanks for the video. I have tried it with your URL, but it doesn't happen here - the 'x' appears for 10 seconds so you can abort the closing, but then it stays closed. Does the music resume too when the icon reappears?
Author of Total Commander
https://www.ghisler.com
lukval
Junior Member
Junior Member
Posts: 9
Joined: 2015-03-26, 13:47 UTC

Re: [TC 3.xx for Android] problem when exiting music player

Post by *lukval »

No, the music doesn't resume.
It happens when I press the Pause button first and the the red X.
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: [TC 3.xx for Android] problem when exiting music player

Post by *DrShark »

On my Android 4.3.1 device, which has only 380 Mb of RAM, TC Media Player notofication also sometimes re-appears after it was closed with X button. or even whole TC was closed with internal command killprocess (155), but usually it happens when Android itself closes TC Media Player (playback stops, notification disappears) after using some heavily RAM-eating app(s) and then restarts it in a way that it just re-appears in notification, but playback doesn't resume. In older versions of TC, after such re-appearence, notification player buttons didn't work, which was fixed in TC4A v. 3.10 beta 9.

2lukval
Maybe advanced Total Commander log, which records mainly TC Media Player events, will help to understand what is happening.
Here's how to create it: https://www.ghisler.ch/board/viewtopic.php?p=350564#p350564 (the post is in German, but it should be clear what it says even without auto translation).
If after creating the log, restarting TC as suggested in that post, and using a player, nothing will be written to it, the restarting of TC by killing its process using internal command 155, or the device restart may help.
If you will wish to stop TC from writing to that log, delete the text file of the log, create folder with its name (including .txt extension) instead in the same location and restart TC.

My guess that it is a some kind of Android bug, or maybe an issue with Android launcher on particular device.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 3.xx for Android] problem when exiting music player

Post by *ghisler(Author) »

usually it happens when Android itself closes TC Media Player (playback stops, notification disappears) after using some heavily RAM-eating app(s) and then restarts it
That would make sense, because when Android restarts an app, it restores all its notifications too.
Author of Total Commander
https://www.ghisler.com
lukval
Junior Member
Junior Member
Posts: 9
Joined: 2015-03-26, 13:47 UTC

Re: [TC 3.xx for Android] problem when exiting music player

Post by *lukval »

Advanced Total Commander log attached from device emulator where is ttcmd v2.91 installed. It reapears 3 or 4 times there because ttcmd tries to connect to unacessible music stream source.

EDIT3:
https://www.edisk.eu/stahni/91758/totalcmdlog_txt.zip_1.53KB.html
lukval
Junior Member
Junior Member
Posts: 9
Joined: 2015-03-26, 13:47 UTC

Re: [TC 3.xx for Android] problem when exiting music player

Post by *lukval »

Screenrecord and logs from my phone where is ttcmd v3.11 installed:
https://www.edisk.eu/stahni/70819/v311_totalcmdlog_txt.zip_5.75MB.html/
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 3.xx for Android] problem when exiting music player

Post by *ghisler(Author) »

I could only download the log, I get error that I can only download one file per 24 hours for free. I will try to get the screen record tomorrow.

I can only see closing of the player via click on red "X", with 10 second countdown. Is there a problem with this?
Author of Total Commander
https://www.ghisler.com
lukval
Junior Member
Junior Member
Posts: 9
Joined: 2015-03-26, 13:47 UTC

Re: [TC 3.xx for Android] problem when exiting music player

Post by *lukval »

All of these logs were recorded when the issue occured.

Better share provider: https://www.filedropper.com/v311totalcmdlogtxt

Regards, Lukas
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: [TC 3.xx for Android] problem when exiting music player

Post by *DrShark »

ghisler(Author) wrote: 2021-01-07, 16:22 UTC I could only download the log, I get error that I can only download one file per 24 hours for free. I will try to get the screen record tomorrow.
Modern desktop Opera browser with its VPN feature active allows to download it without delay.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
lukval
Junior Member
Junior Member
Posts: 9
Joined: 2015-03-26, 13:47 UTC

Re: [TC 3.xx for Android] problem when exiting music player

Post by *lukval »

Hello, is it possible to get more verbose debug logging?
Post Reply