siznax / moo Goto Github PK
View Code? Open in Web Editor NEW🎷 Your music in your browser
License: MIT License
🎷 Your music in your browser
License: MIT License
ValueError: /Users/steve/Music/Moo/New has no METADATA
"info" is simply too generic. This information should line up with album
in our code reference https://github.com/siznax/moo/wiki/%F0%9F%8E%B7-Reference
https://genius.com/t.-rex-the-slider-lyrics => 404 Not Found
should be:
https://genius.com/t-rex-the-slider-lyrics => 200 OK
Note the removal of the .
in t.-rex
Ran into an issue with this initially, but I had not tried using pathlib.as_uri
Currently, we ask that you create a symbolic link to your music folder in moo/Play/static
.
Just the weather icon from https://github.com/chubin/wttr.in
The home page should show albums you've recently listened to, above the covers for all albums selected. My plan is to write a HISTORY file when a song finishes playing, and use that to render last played.
INFO:werkzeug:127.0.0.1 - - [01/Jun/2021 15:38:07] "GET /favicon.ico HTTP/1.1" 500 -
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/Flask-2.0.1-py3.9.egg/flask/app.py", line 1513, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.9/site-packages/Flask-2.0.1-py3.9.egg/flask/app.py", line 1489, in dispatch_request
self.raise_routing_exception(req)
File "/usr/local/lib/python3.9/site-packages/Flask-2.0.1-py3.9.egg/flask/app.py", line 1471, in raise_routing_exception
raise request.routing_exception # type: ignore
File "/usr/local/lib/python3.9/site-packages/Flask-2.0.1-py3.9.egg/flask/ctx.py", line 367, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
File "/usr/local/lib/python3.9/site-packages/Werkzeug-2.0.1-py3.9.egg/werkzeug/routing.py", line 2032, in match
raise NotFound()
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
I love Bootstrap. However—for the learning experience—let's keep the main branch free of product frameworks. This way we can easily compare how each browser handles the plain standards-compliant version of moo
. If the "vanilla standards" main branch becomes too tiresome to maintaining product frameworks, then we can pivot. Hopefully, we'll have a Bootstrap, React and other branches in the future, and the plain main branch will remain the foundation for them.
This is sort of theoretical (based on some experience). Let's discuss!
See fae1c16 (responsive album for small, any height screens) for analogous example.
... among other design needs!
INFO:werkzeug:127.0.0.1 - - [01/Jun/2021 15:40:02] "GET / HTTP/1.1" 500 -
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/Flask-2.0.1-py3.9.egg/flask/app.py", line 2088, in call
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python3.9/site-packages/Flask-2.0.1-py3.9.egg/flask/app.py", line 2073, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python3.9/site-packages/Flask-2.0.1-py3.9.egg/flask/app.py", line 2070, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.9/site-packages/Flask-2.0.1-py3.9.egg/flask/app.py", line 1515, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.9/site-packages/Flask-2.0.1-py3.9.egg/flask/app.py", line 1513, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.9/site-packages/Flask-2.0.1-py3.9.egg/flask/app.py", line 1499, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/Users/harold/sw/moo/Moo/play/app.py", line 64, in root
return serve_album(str(index[0]), index, _albums)
File "/Users/harold/sw/moo/Moo/play/app.py", line 432, in serve_album
history=lib.get_history(app.config['BASE'], app.config['HISTORY']),
File "/Users/harold/sw/moo/Moo/play/lib.py", line 339, in get_history
with open(filepath) as _:
FileNotFoundError: [Errno 2] No such file or directory: 'HISTORY'
https://twitter.github.io/typeahead.js/
This should be pretty straightforward with the minimal metadata in albums
.
Some progress here: https://github.com/siznax/moo/wiki/Nested-tracklists
This should be as straightforward as enabling "web sharing" (or something) for localhost
and using the dynamically assigned IP address. We just need to write up how for each OS in https://github.com/siznax/moo/wiki/Connect-Devices
We should lint our code before commiting
For example, see http://localhost:5000/artist/Albert%20Collins
Need to recover this feature from 0.1. See audio.js
IndexError: list index out of range
Traceback (most recent call last)
File "/usr/local/lib/python3.9/site-packages/Flask-2.0.1-py3.9.egg/flask/app.py", line 2088, in __call__
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python3.9/site-packages/Flask-2.0.1-py3.9.egg/flask/app.py", line 2073, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python3.9/site-packages/Flask-2.0.1-py3.9.egg/flask/app.py", line 2070, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.9/site-packages/Flask-2.0.1-py3.9.egg/flask/app.py", line 1515, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.9/site-packages/Flask-2.0.1-py3.9.egg/flask/app.py", line 1513, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.9/site-packages/Flask-2.0.1-py3.9.egg/flask/app.py", line 1499, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/Users/harold/sw/moo/Moo/play/app.py", line 228, in history
return serve_album(ind[0], ind, alb)
IndexError: list index out of range
https://github.com/goldfire/howler.js
instead of the <audio>
tag
Not sure where to put a button for this yet. At first, it could simply link to
https://github.com/siznax/moo/wiki/Discover-music
Let's put the keyboard shortcuts in a modal popup a la Bootstrap https://getbootstrap.com/docs/4.0/components/modal/
🔮 Why not just use bootstrap?
We're going to put Bootstrap on its own branch. Just for kicks we'll try the most web standard way of achieving the same thing by default.
./start.sh
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/Flask-2.0.1-py3.9.egg/flask/app.py", line 2088, in call
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python3.9/site-packages/Flask-2.0.1-py3.9.egg/flask/app.py", line 2073, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python3.9/site-packages/Flask-2.0.1-py3.9.egg/flask/app.py", line 2070, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.9/site-packages/Flask-2.0.1-py3.9.egg/flask/app.py", line 1515, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.9/site-packages/Flask-2.0.1-py3.9.egg/flask/app.py", line 1383, in handle_user_exception
return self.handle_http_exception(e)
File "/usr/local/lib/python3.9/site-packages/Flask-2.0.1-py3.9.egg/flask/app.py", line 1323, in handle_http_exception
return self.ensure_sync(handler)(e)
TypeError: page_not_found() takes 0 positional arguments but 1 was given
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.