TCMP: Notification bar shows track name removed from queue

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

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

TCMP: Notification bar shows track name removed from queue

Post by *DrShark »

To reproduce:
1. Make a queue in TC Media Player with at least 1 track.
2. Add and play second track to it.
3. Remove that track from queue playlist (make sure doing that before the player will switch to another track which is possible if "Repeat all (loop)" option is active).
4. Open Android Notification bar: TC Media Player notification item will show the removed tack name. Press the Play button of TCMP item in Notification bar: it will play next track in the playlist (and TC will show then its name in Notification bar).

Is it a bug or intentional?
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:

Post by *ghisler(Author) »

The notification bar always shows the last played track. Did you play anything after removing that track?
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

ghisler(Author) wrote:Did you play anything after removing that track?
As I described in first post: removed track from TCMP queue, swiched from it to a notification bar which still showed the name already removed from player, pressed "Play" button in notification and it started playing the another track that still exists in playlist.
ghisler(Author) wrote:The notification bar always shows the last played track.
It explains why notification shows the removed track. Since the notification has control to start the playback, I expected that it should show currently active track (which may be played, paused or, for last one, stopped). Since removed track can't be "active", I suggest then to show in the notification the track name that player will actually play instead of already removed one.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Post Reply