samulus / uap Goto Github PK
View Code? Open in Web Editor NEW๐ต an audio webserver for streaming music / using as a jukebox (Python3 Based)
๐ต an audio webserver for streaming music / using as a jukebox (Python3 Based)
I'm going to incorporate TinyDB + beaker session + some of the stub modules I added to get the job done. Will try to complete this ASAP. There will be no SSL support for the time being. I'll have to add it if we have time at the end.
It should use the tempfile module to populate a temporary directory with bogus audio files with random (but fixed and non-changing tags) for testing the misc backend modules in the application.
It should adequately test the following methods:
The test should be implemented in the test_userdb.py module. You can read more about writing unittests in Python using the following resources:
I haven't implemented this at all yet but I added a bunch of stub methods, you will have to add more to adequately test everything.
This is due to the fact that the Vue components indiscriminately insert the contents of the library even if the key has no value (thus inserting an undefined value instead).
Implement the song-queue component in client/index.html / client/client.js so that when a user clicks the "Enqueue" button on a track, the, the track is sent to the queue.
Implement some kind of now-playing component in client/index.html / client/client.js whenever the user is playing a track.
Allows the user to save all configuration information like the port / host / music directory offline to a json file. We can use the getopt module in src/uap.py to parse commandline arguments to the application and allow the user to either pass the path to their config.json file OR have it load a default config.json file from the application directory.
It's a security problem and it's extraneous information that doesn't need to be sent to the client every time they request more data (wastes space).
It should use ajax (see Vue.get) to request results from the server (send a GET request to api/search) and then display the results, allowing the user to queue them.
Specifically the Artist, Album, and Title tag
It should use the Unittest module built into python and utilize tests/mock_library to do the job.
It should adequately test the following methods:
The test should be implemented in the test_taglist.py module. If you look in there right now you can see an old test I wrote that no longer works. You can read more about writing unittests in Python using the following resources:
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.