No music loaded
-Drag a folder of audio files onto this window.
-diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..395eb7e --- /dev/null +++ b/LICENSE @@ -0,0 +1,10 @@ +The MIT License (MIT) + +Copyright © 2026 armin@codeberg + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/README.md b/README.md index df19f77..8b9001f 100644 --- a/README.md +++ b/README.md @@ -24,10 +24,16 @@ There is a live demo available at [bsd.pm/noiz](https://bsd.pm/noiz/). Open `index.html` in any modern browser. Click **+Folder**, **+Files**, or drag audio files onto the window. -## Native App (noiz.py) +## Known Limitations -`noiz.py` is a fully fledged local native application wrapper that runs `noiz://` in its own desktop window using [pywebview](https://pywebview.flowrl.com/). It launches the noiz:// app as a standalone application with native window via Python's webview, rather than running inside a browser tab. noiz.py is (as of now) 8 lines long. +- **File path display** - When adding individual files via **+Files** or drag-and-drop, browsers do not expose the full filesystem path for security reasons. Only the filename is shown in the tag editor. Using **+Folder** (which reads directory structure) provides the relative path within the selected folder. +- **Playback interruption on +Folder** - Opening the native directory picker suspends the browser's `AudioContext`, causing playback to stop. This is a browser-level security restriction (user gesture required for audio resume). Simply press play again after adding files. + +## noizapp +There is a simple PoC Electron available to make noiz a stand-alone desktop "app": +https://codeberg.org/armin/noizapp + + +## License +noiz is released under the MIT license; see LICENSE file. -```bash -pip install pywebview && python noiz.py -``` diff --git a/index.html b/index.html index e928d75..c3fb6df 100644 --- a/index.html +++ b/index.html @@ -5,16 +5,6 @@
Drag a folder of audio files onto this window.
-