headless-music 1.1.1__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.
@@ -0,0 +1,115 @@
1
+ Metadata-Version: 2.4
2
+ Name: headless-music
3
+ Version: 1.1.1
4
+ Summary: headless music: for minimal cpu/gpu usage while listening to music
5
+ Author: Rishav Ganguly
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/imnotgoingtohindiclass/headless_music
8
+ Requires-Python: >=3.8
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Requires-Dist: yt-dlp
12
+ Requires-Dist: spotipy
13
+ Requires-Dist: python-mpv
14
+ Requires-Dist: rich
15
+ Requires-Dist: Pillow
16
+ Dynamic: license-file
17
+
18
+ # headless_music
19
+
20
+ A Spotify-inspired, terminal-based music player. `headless_music` brings music to your terminal with full-color ASCII album art and an endless recommendation queue.
21
+
22
+ ## Features
23
+
24
+ - Spotify-inspired terminal UI with a modern 3-panel layout (built with `rich`).
25
+ - Color ASCII album art (when available from Spotify).
26
+ - Playlist-first playback for Spotify or YouTube playlists.
27
+ - Endless radio mode that queues recommendations after the playlist ends.
28
+ - Smooth, pulsing progress bar showing playback and loading status.
29
+ - First-run configuration wizard for easy setup.
30
+ - Cross-platform: runs on systems with Python and `mpv`.
31
+
32
+ ## Prerequisites
33
+
34
+ `mpv` is required as the audio backend.
35
+
36
+ ### macOS (Homebrew)
37
+ ```bash
38
+ brew install mpv
39
+ ```
40
+
41
+ ### Ubuntu/Debian
42
+ ```bash
43
+ sudo apt update && sudo apt install mpv
44
+ ```
45
+
46
+ ### Windows (Chocolatey)
47
+ ```bash
48
+ choco install mpv
49
+ ```
50
+
51
+ ## Installation
52
+
53
+ To install, simply use the Python package manager pip:
54
+ ```bash
55
+ pip install headless_music
56
+ ```
57
+
58
+ ## Usage
59
+
60
+ To start the player, type into your terminal
61
+ ```bash
62
+ headless_music
63
+ ```
64
+
65
+ On first launch a setup wizard will walk you through adding your Spotify API credentials. Obtain these from the Spotify Developer Dashboard: [https://developer.spotify.com/dashboard/](https://developer.spotify.com/dashboard/)
66
+
67
+ ## Controls
68
+
69
+ | Key | Action |
70
+ | ----- | ------------------------------------------------ |
71
+ | Space | Play / Pause |
72
+ | n | Next track |
73
+ | p | Previous track |
74
+ | c | Re-run the configuration wizard (stops playback) |
75
+ | q | Quit |
76
+
77
+ ## Configuration
78
+
79
+ * Spotify API credentials (Client ID, Client Secret) are required for full functionality.
80
+ * The configuration wizard writes credentials to a user config file (see `config` in repo for format).
81
+ * `mpv` path and additional mpv options can be set in the config.
82
+
83
+
84
+ ## Contribution
85
+
86
+ Contributions are welcome. Please open issues for bugs or feature requests and submit pull requests against `main`. Follow the existing code style and include tests for new functionality.
87
+
88
+ ## License
89
+
90
+ This project is licensed under the MIT License. See `LICENSE` for details.
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
@@ -0,0 +1,21 @@
1
+ headless_music/__init__.py,sha256=4fyggQuL5phizhj-oiAfTXiFXlRlmOSdqaFJ8QBRxhc,51
2
+ headless_music/config.py,sha256=Hm2uyjx7Qrog_99gS1VQCgr7SMCUi_dY10EJVPcf7Z8,3772
3
+ headless_music/headless_music.py,sha256=We-PXF2b7-nj_rTYIK50kXHjbYimDnIs8jtGBt6gx-s,29229
4
+ headless_music/main.py,sha256=9s4j3eWZwPLmMPzVOcqXXu9eWopwD32cU5RwK7c--lQ,9456
5
+ headless_music/player.py,sha256=OyHplV1-z0W_bDYqWFvEjgdMi_aXUdfSlSsUmNuPipE,2120
6
+ headless_music/fetchers/__init__.py,sha256=t9h3vlekjXNntlbtL63Ldy9ydBDh667YIcpCVYDCaVg,119
7
+ headless_music/fetchers/spotify.py,sha256=ckkX121wUuc9K6snhhLwXOmpEKEGwlXLgCCVrD9G36Y,6315
8
+ headless_music/fetchers/youtube.py,sha256=et3HuCZXYv_I-sSQ4yL_SLYCqEznYzjip-XwsAfN4Xk,2130
9
+ headless_music/ui/__init__.py,sha256=SHyvTqipe-DOdX4Xk1l2xjvS_6yx4BJLHq5_psbA-5I,385
10
+ headless_music/ui/art.py,sha256=jRrhHCtxDrSPORNIrCCYhR6Z0ggua7jmWM0xwHmjyPI,2995
11
+ headless_music/ui/layout.py,sha256=ZcDgBX5c3NHJ3zP1iGrkpQK8uRBOFK7rsH3ylv-i0Ac,402
12
+ headless_music/ui/panels.py,sha256=P12LtNRxdnf_3Hx-Zs9e0aMyXF38JffmwMgZ3qz-eW4,3549
13
+ headless_music/utils/__init__.py,sha256=VqXCZE26GRVLPPflkThlCTmPknv3vOkULsIab2Mmwis,215
14
+ headless_music/utils/cache.py,sha256=Ppn0ERTvj7NLPMvFqJDsp1TzH6lbvP0gKbL8xABqPcM,547
15
+ headless_music/utils/helpers.py,sha256=z7CqZbVwOIQHcSUbkWSzBGCyTy963hGT6b5Lir4wk_k,355
16
+ headless_music-1.1.1.dist-info/licenses/LICENSE,sha256=kV4LgYz7rmq0cgAH8vfrR1F1lfPWEaZum6pIQTcOmIY,1100
17
+ headless_music-1.1.1.dist-info/METADATA,sha256=8eeT7jCLmCIwZLIFqBpiTUDa2fB3QwaVDyF-Kn2p3cY,2810
18
+ headless_music-1.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
19
+ headless_music-1.1.1.dist-info/entry_points.txt,sha256=nNFznC5vyh6gWb-EoQJ8p1ajCHGQr7owlCQcCQvBpjY,70
20
+ headless_music-1.1.1.dist-info/top_level.txt,sha256=he0RYj9aHNV4GY9eO6ZB469_ISswOFbj8QuQFVEojyY,15
21
+ headless_music-1.1.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ headless_music = headless_music.headless_music:main
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 imnotgoingtohindiclass
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 @@
1
+ headless_music