etiaro / localradio Goto Github PK
View Code? Open in Web Editor NEWSystem for Audio managing in local envoirment
System for Audio managing in local envoirment
Add Linter and apply it to the whole project
Deleted songs are deleted from songs table but not from history table, which causes some problems. Possible solutions: delete history entries(kind of censorship for me) or leave song in songs table but add some DELETED column
Add song edit window, also visible while adding/uploading song
Useful for deployment
I recommend rewriting front end into something more readable and comfortable. E.g. use Next.js with redux
Add direct .mp3 upload
Now the project structure is causing some problems with dependencies(project inside other project).
I think we should move to someting like:
./frontend/
./backend/
./start.js
./dev.js
./test.js
./package.json -> just for scripts(start,dev,test,lint)
You can overwrite playlist by sending post reqest directly to api, not by frontend.
Example:
run this code replacing ytid and date with some valid data
import requests
import json
a = "http://158.75.60.75/api/player/playlist/"
x = requests.post(a, headers = {'Content-Type': 'application/json'}, data=json.dumps({'entry': {'ytid':'valid_ytid', 'date':'valid_date_no_quotes'}}))
For some reason a year ago, when I was writing this system, I didn't know that there exists more request types than POST and GET... Well, we should move to use all of them to make api more clear.
Update babel and preset-env
Add tests and workflows to improve development process and stability
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.