Tdesktop: Heavy audio file without specified duration is missing controls

Created on 9 Jul 2020  路  9Comments  路  Source: telegramdesktop/tdesktop

Steps to reproduce

  1. Upload mp3 audio via bot api with >10MB size and unspecified duration
  2. Try to play this track

Expected behaviour

As in mobile and swift client:
Audio file is playable, and you can switch tracks back and forth and track is visible in playlist.
Swift client:
image
Telegram android:
image

Actual behaviour

In Telegram desktop audio is playable but buttons for switching back and forth is not available.
Also track is not visible in playlist when listening to other tracks.
image

Configuration

Operating system:
Archlinux
Version of Telegram Desktop:
2.1.13
Installation source (Linux Only) - the official website / GitHub releases / flatpak / snap / distribution package:
community repository
Used theme:
default night mode

Logs:
Insert log.txt here (if necessary)

Most helpful comment

This should be fixed in the next minor release.

All 9 comments

Audio metadata from bot api
"audio": { "duration": 0, "mime_type": "audio/mpeg", "title": "Reaching Perfection", "performer": "Biodrive", "file_id": "CQACAgIAAxkBAAEFVWFfByA9hgz7-8e9q7hJF44Vor1QcwACdQoAAtlJIEj45bA322lYehoE", "file_unique_id": "AgADdQoAAtlJIEg", "file_size": 12417611 },

My current workaround: https://gist.github.com/vlakam/b03eb5c04928272c56f2eb701bb8f7cf
Reupload file and editmessagemedia with specified duration

@john-preston
we need << >> buttons, it's very inconvenient bug

@john-preston
bump

@john-preston
Experiencing same issue

I have the same problem

This should be fixed in the next minor release.

2.4.4
Still broken

Fixed in 2.4.5

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  115Comments

leolabs picture leolabs  路  108Comments

meness picture meness  路  96Comments

YousefSaber picture YousefSaber  路  108Comments

vahid9 picture vahid9  路  220Comments