sixamp 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sixamp-1.0.0.dist-info/METADATA +104 -0
- sixamp-1.0.0.dist-info/RECORD +8 -0
- sixamp-1.0.0.dist-info/WHEEL +5 -0
- sixamp-1.0.0.dist-info/entry_points.txt +2 -0
- sixamp-1.0.0.dist-info/licenses/LICENSE +21 -0
- sixamp-1.0.0.dist-info/licenses/THIRD_PARTY_NOTICES +39 -0
- sixamp-1.0.0.dist-info/top_level.txt +1 -0
- sixamp.py +2300 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: sixamp
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: A 1990s-style MP3 player for the terminal, drawn in Sixel graphics, with spectrum analyser, equalizer and playlist
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
Project-URL: Homepage, https://github.com/pez2001/sixamp
|
|
7
|
+
Project-URL: Issues, https://github.com/pez2001/sixamp/issues
|
|
8
|
+
Project-URL: Changelog, https://github.com/pez2001/sixamp/blob/main/CHANGELOG.md
|
|
9
|
+
Keywords: mp3,music player,sixel,terminal,tui,retro,equalizer
|
|
10
|
+
Classifier: Development Status :: 4 - Beta
|
|
11
|
+
Classifier: Environment :: Console
|
|
12
|
+
Classifier: Intended Audience :: End Users/Desktop
|
|
13
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
14
|
+
Classifier: Operating System :: MacOS
|
|
15
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
18
|
+
Classifier: Topic :: Multimedia :: Sound/Audio :: Players
|
|
19
|
+
Classifier: Topic :: Multimedia :: Sound/Audio :: Players :: MP3
|
|
20
|
+
Classifier: Topic :: Terminals
|
|
21
|
+
Requires-Python: >=3.9
|
|
22
|
+
Description-Content-Type: text/markdown
|
|
23
|
+
License-File: LICENSE
|
|
24
|
+
License-File: THIRD_PARTY_NOTICES
|
|
25
|
+
Requires-Dist: numpy>=1.21
|
|
26
|
+
Requires-Dist: miniaudio>=1.59
|
|
27
|
+
Dynamic: license-file
|
|
28
|
+
|
|
29
|
+
# SIXAMP
|
|
30
|
+
|
|
31
|
+
A 1990s-style MP3 player for the terminal, drawn entirely in Sixel graphics: a
|
|
32
|
+
spectrum analyser, a ten-band equalizer, a playlist and a file browser, all driven
|
|
33
|
+
by the keyboard or the mouse.
|
|
34
|
+
|
|
35
|
+

|
|
36
|
+
|
|
37
|
+
## Install
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
pip install sixamp
|
|
41
|
+
sixamp ~/Music
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
You can pass files, folders or `.m3u` playlists. Without arguments SIXAMP reopens your
|
|
45
|
+
last playlist. It plays MP3, FLAC, WAV and Ogg Vorbis on Linux, macOS and Windows.
|
|
46
|
+
|
|
47
|
+
`sixamp.py` is also a single self-contained file: with `numpy` and `miniaudio`
|
|
48
|
+
installed you can run `python sixamp.py` directly.
|
|
49
|
+
|
|
50
|
+
## Terminals
|
|
51
|
+
|
|
52
|
+
SIXAMP needs a terminal that shows Sixel graphics, for example foot, WezTerm,
|
|
53
|
+
Konsole, mlterm, iTerm2, Contour, Windows Terminal 1.22 or newer, or
|
|
54
|
+
`xterm -ti vt340`. Kitty and Alacritty do not support Sixel.
|
|
55
|
+
|
|
56
|
+
To check a terminal, run `sixamp --probe`: you should see coloured stripes. If the
|
|
57
|
+
skin looks scrambled, the terminal could not report its cell size; pass it yourself
|
|
58
|
+
with `--cell WIDTHxHEIGHT`, for example `--cell 10x20`.
|
|
59
|
+
|
|
60
|
+
## Keys
|
|
61
|
+
|
|
62
|
+
| Key | Action | Key | Action |
|
|
63
|
+
|---|---|---|---|
|
|
64
|
+
| `z` | previous track | `b` | next track |
|
|
65
|
+
| `x` | play | `c` / Space | pause |
|
|
66
|
+
| `v` | stop | `l` | open files |
|
|
67
|
+
| Left / Right | seek 5 seconds | `+` / `-` | volume |
|
|
68
|
+
| `[` / `]` | balance | Up / Down, Enter | choose and play a track |
|
|
69
|
+
| `j` | jump to a track | `i` | track info |
|
|
70
|
+
| `r` / `s` | repeat / shuffle | `e` / `p` | equalizer / playlist window |
|
|
71
|
+
| `o` / `n` | equalizer on / next preset | `f` | playlist format |
|
|
72
|
+
| `w` | visualizer mode | `t` | elapsed / remaining time |
|
|
73
|
+
| `d` | pixel scale | `?` / `q` | help / quit |
|
|
74
|
+
|
|
75
|
+
Everything on the skin also works with the mouse. The wheel scrolls the playlist,
|
|
76
|
+
moves the slider under the pointer, or changes the volume.
|
|
77
|
+
|
|
78
|
+
## Options
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
sixamp [--format TEXT] [--scale N] [--cell WxH] [--no-audio] [--probe] [--debug] [PATH ...]
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
`--format` sets the playlist line, for example `--format "%n. %t (%a)"`. The codes
|
|
85
|
+
are `%n` number, `%a` artist, `%t` title, `%l` album, `%f` file name, `%d` folder
|
|
86
|
+
and `%%` a percent sign. Run `sixamp --help` for everything.
|
|
87
|
+
|
|
88
|
+
Settings are stored in `~/.config/sixamp/state.json` and the log in
|
|
89
|
+
`~/.cache/sixamp.log`.
|
|
90
|
+
|
|
91
|
+
## pyterm
|
|
92
|
+
|
|
93
|
+
[pyterm](https://github.com/pez2001/pyterm) ships SIXAMP support built in, through its
|
|
94
|
+
`sixamp_support` plugin: a persistent Sixel layer, exact mouse positions and live cell
|
|
95
|
+
sizes across theme changes. Keep plugins enabled when you run SIXAMP there.
|
|
96
|
+
|
|
97
|
+
## Licence
|
|
98
|
+
|
|
99
|
+
MIT, see [LICENSE](LICENSE). The bundled 5x7 font comes from the Adafruit GFX Library
|
|
100
|
+
under the BSD licence; see [THIRD_PARTY_NOTICES](THIRD_PARTY_NOTICES).
|
|
101
|
+
|
|
102
|
+
SIXAMP is an independent project inspired by the look of classic desktop music players.
|
|
103
|
+
It is not affiliated with, endorsed by or connected to Winamp, Nullsoft or Llama Group.
|
|
104
|
+
All graphics are original.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
sixamp.py,sha256=o4zaw_iOEh3__AGokmVGuGbalmTBJ2kpULFCJyUo93k,90027
|
|
2
|
+
sixamp-1.0.0.dist-info/licenses/LICENSE,sha256=OVt1UPsZOcjLtcTCDBLt1Rr690N-UUcfRzBGZxdDjfQ,1064
|
|
3
|
+
sixamp-1.0.0.dist-info/licenses/THIRD_PARTY_NOTICES,sha256=3aDgMlnGot2o1w3yIWEzAu1TrhSsF4sN-gk5jOa9mJM,2038
|
|
4
|
+
sixamp-1.0.0.dist-info/METADATA,sha256=7T8UrhRu2CXYK_D26oECBcbt9QwABMLu99Fed-KTunc,4089
|
|
5
|
+
sixamp-1.0.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
6
|
+
sixamp-1.0.0.dist-info/entry_points.txt,sha256=_u0MMZi1RSUdTT_TkvNxOp-D_YNaiv_2d2i-99JmG9E,39
|
|
7
|
+
sixamp-1.0.0.dist-info/top_level.txt,sha256=bAX8xZLhGRJNlubyBSA5bO3ojSCj2gZXrW4L4RvjEaE,7
|
|
8
|
+
sixamp-1.0.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 pez2001
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
SIXAMP includes the following third-party material.
|
|
2
|
+
|
|
3
|
+
------------------------------------------------------------------------------
|
|
4
|
+
5x7 bitmap font (the _F57 table in sixamp.py)
|
|
5
|
+
From the Adafruit GFX Library, https://github.com/adafruit/Adafruit-GFX-Library
|
|
6
|
+
One glyph ("y") was modified.
|
|
7
|
+
------------------------------------------------------------------------------
|
|
8
|
+
|
|
9
|
+
Software License Agreement (BSD License)
|
|
10
|
+
|
|
11
|
+
Copyright (c) 2012 Adafruit Industries. All rights reserved.
|
|
12
|
+
|
|
13
|
+
Redistribution and use in source and binary forms, with or without
|
|
14
|
+
modification, are permitted provided that the following conditions are met:
|
|
15
|
+
|
|
16
|
+
- Redistributions of source code must retain the above copyright notice,
|
|
17
|
+
this list of conditions and the following disclaimer.
|
|
18
|
+
|
|
19
|
+
- Redistributions in binary form must reproduce the above copyright notice,
|
|
20
|
+
this list of conditions and the following disclaimer in the documentation
|
|
21
|
+
and/or other materials provided with the distribution.
|
|
22
|
+
|
|
23
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
24
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
25
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
26
|
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
27
|
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
28
|
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
29
|
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
30
|
+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
31
|
+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
32
|
+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
33
|
+
POSSIBILITY OF SUCH DAMAGE.
|
|
34
|
+
|
|
35
|
+
------------------------------------------------------------------------------
|
|
36
|
+
Runtime dependencies (installed separately with pip, not bundled)
|
|
37
|
+
------------------------------------------------------------------------------
|
|
38
|
+
numpy BSD-3-Clause https://numpy.org
|
|
39
|
+
miniaudio MIT https://github.com/irmen/pyminiaudio
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
sixamp
|