EDM115 / unzip-bot

Telegram bot deployable to heroku that can extract every archive !
https://t.me/unzip_edm115bot
MIT License
91 stars 125 forks source link

[BUG] .m4a extension audio files are not uploaded as audio #239

Closed Nirzak closed 10 months ago

Nirzak commented 10 months ago

Describe the bug apple lossless files with .m4a extension are not uploading as audio media.

To Reproduce Steps to reproduce the behavior:

  1. Just extract an archive file that contains .m4a audio files.
  2. It will be uploaded as document files. Not as playable audio files.

Expected behavior It should be uploaded as audio file just like mp3 and flac.

Additional context I have tried to add m4a on the audio format list of unzip_help.py file just like the below format "audio": ["aif", "aiff", "aac", "flac", "m4a", "mp3", "ogg", "wav", "wma"]

but it didn't work.

Nirzak commented 10 months ago

Hi this has been fixed. I was just using your repository inside the dockerfile not the forked repository. that's why the bot was not capturing the changes I have made into unzip_help.py. adding m4a extension to unzip_help.py does the job.. thanks. I am now closing the issue.