You need to write an Audio Web player to post it on the site. I saw a lot of options and lessons on js, but I would really like to implement it in python (+ xhtml, html, css).

Could you tell me materials, examples, or advice.

And where to store audio and how to connect to the database?

  • As a server, try flask, you can use sqlite as a base, as I understand it, you need to look at js among libraries on js - gil9red
  • Ohh, this js, hike without it, doesn’t see what else they say. Written off) - DmitriyLeaf
  • If you need a simple player, you can try using the HTML5 audio tag. It will be enough for him to transmit what you want to listen using the same flask. - Avernial
  • I think it will, but then the question of data storage remains. How do you store them in the database? For example, direct link to a song as a string or unicode? or something else? - DmitriyLeaf
  • “Direct link to the song as a string or unicode?” - yes, as an option - andreymal

1 answer 1

My research on this issue led to the following conclusions. If I want to make a web audio player, then I can't do without UI. In the back-end on python, everything related to playlists, accounting, and selection. You'll have to play the client or browser, so without js yet.

But the question is still open, and if you have a great offer, I will be glad to read and learn new things.