'How can i edit uploaded mp3 files by user

I want my django app to do.

  • User Uploads mp3 file
  • user inputs time range
  • my app trims the mp3 file to the range given
  • avail result mp3 to user


Solution 1:[1]

I found a beneficial package for cutting mp3 files: "pydub"

get the mp3 data from your view and return it to your pydub function

Solution 2:[2]

there is another android:onClick : android:onClick

or instead of Button

use :

androidx.appcompat.widget.AppCompatButton

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 enes islam
Solution 2 Ali Salehi