tinyjukebox 0.47.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.
Files changed (154) hide show
  1. tinyjukebox/__init__.py +7 -0
  2. tinyjukebox/albumplayer/__init__.py +1 -0
  3. tinyjukebox/albumplayer/aalbumplayer.py +402 -0
  4. tinyjukebox/albumplayer/clock.py +39 -0
  5. tinyjukebox/albumplayer/dummyplayer.py +49 -0
  6. tinyjukebox/albumplayer/player_interface.py +97 -0
  7. tinyjukebox/albumplayer/radioplayer.py +391 -0
  8. tinyjukebox/albumplayer/simpleplayer.py +419 -0
  9. tinyjukebox/albumplayer/spotifyplayer.py +671 -0
  10. tinyjukebox/backup.py +176 -0
  11. tinyjukebox/backups.py +340 -0
  12. tinyjukebox/cli.py +1076 -0
  13. tinyjukebox/control.py +1386 -0
  14. tinyjukebox/core/__init__.py +1 -0
  15. tinyjukebox/core/config.py +100 -0
  16. tinyjukebox/core/logging/__init__.py +113 -0
  17. tinyjukebox/core/microservice.py +303 -0
  18. tinyjukebox/core/pubsub/__init__.py +15 -0
  19. tinyjukebox/core/pubsub/base.py +196 -0
  20. tinyjukebox/core/pubsub/localqueue.py +102 -0
  21. tinyjukebox/core/pubsub/statistics.py +57 -0
  22. tinyjukebox/core/py.typed +0 -0
  23. tinyjukebox/core/schema/__init__.py +5 -0
  24. tinyjukebox/core/schema/logger.py +40 -0
  25. tinyjukebox/core/schema/microservice.py +48 -0
  26. tinyjukebox/core/threads.py +39 -0
  27. tinyjukebox/core/ui/__init__.py +5 -0
  28. tinyjukebox/core/ui/cli.py +120 -0
  29. tinyjukebox/core/ui/tools.py +73 -0
  30. tinyjukebox/core/unexpected.py +46 -0
  31. tinyjukebox/data/__init__.py +0 -0
  32. tinyjukebox/data/activities.py +175 -0
  33. tinyjukebox/data/activity.py +138 -0
  34. tinyjukebox/data/common.py +91 -0
  35. tinyjukebox/data/degraded.py +39 -0
  36. tinyjukebox/data/jsondata.py +218 -0
  37. tinyjukebox/data/sanitycheck.py +71 -0
  38. tinyjukebox/data/tag.py +98 -0
  39. tinyjukebox/data/tags.py +160 -0
  40. tinyjukebox/data/target.py +568 -0
  41. tinyjukebox/data/targetalbumtools.py +88 -0
  42. tinyjukebox/data/targets.py +256 -0
  43. tinyjukebox/data/volumelimits.py +68 -0
  44. tinyjukebox/data_folder.py +180 -0
  45. tinyjukebox/devices/__init__.py +1 -0
  46. tinyjukebox/devices/baseclasses/__init__.py +1 -0
  47. tinyjukebox/devices/baseclasses/adriver.py +115 -0
  48. tinyjukebox/devices/baseclasses/aevents.py +47 -0
  49. tinyjukebox/devices/baseclasses/gpiolevel.py +16 -0
  50. tinyjukebox/devices/bluetooth/__init__.py +1 -0
  51. tinyjukebox/devices/bluetooth/avrcp_input.py +118 -0
  52. tinyjukebox/devices/bluetooth/bluez.py +446 -0
  53. tinyjukebox/devices/bluetooth/link.py +396 -0
  54. tinyjukebox/devices/bluetooth/virtual.py +155 -0
  55. tinyjukebox/devices/drivermanager/__init__.py +1 -0
  56. tinyjukebox/devices/drivermanager/driverfactory.py +75 -0
  57. tinyjukebox/devices/drivermanager/drivermanager.py +151 -0
  58. tinyjukebox/devices/drivers/__init__.py +31 -0
  59. tinyjukebox/devices/drivers/bluetooth.py +257 -0
  60. tinyjukebox/devices/drivers/input.py +165 -0
  61. tinyjukebox/devices/drivers/rfid.py +297 -0
  62. tinyjukebox/devices/drivers/rgbled.py +215 -0
  63. tinyjukebox/devices/py.typed +0 -0
  64. tinyjukebox/devices/schema/__init__.py +1 -0
  65. tinyjukebox/devices/schema/adriver.py +33 -0
  66. tinyjukebox/devices/schema/bluetooth.py +31 -0
  67. tinyjukebox/devices/schema/drivermanager.py +41 -0
  68. tinyjukebox/devices/schema/input.py +23 -0
  69. tinyjukebox/devices/schema/rfid.py +44 -0
  70. tinyjukebox/devices/schema/rgbled.py +26 -0
  71. tinyjukebox/diagnostics.py +179 -0
  72. tinyjukebox/errors.py +91 -0
  73. tinyjukebox/headset.py +296 -0
  74. tinyjukebox/images.py +133 -0
  75. tinyjukebox/latency.py +43 -0
  76. tinyjukebox/library/__init__.py +2 -0
  77. tinyjukebox/library/diagnostics.py +183 -0
  78. tinyjukebox/library/journal.py +94 -0
  79. tinyjukebox/library/releases.py +348 -0
  80. tinyjukebox/library/schema.py +98 -0
  81. tinyjukebox/library/service.py +1115 -0
  82. tinyjukebox/library/statistics.py +288 -0
  83. tinyjukebox/library/store.py +1386 -0
  84. tinyjukebox/messages.py +202 -0
  85. tinyjukebox/metadata.py +133 -0
  86. tinyjukebox/py.typed +0 -0
  87. tinyjukebox/restore.py +391 -0
  88. tinyjukebox/rgbled.py +158 -0
  89. tinyjukebox/schema/__init__.py +1 -0
  90. tinyjukebox/schema/activities.py +27 -0
  91. tinyjukebox/schema/tags.py +54 -0
  92. tinyjukebox/schema/targets.py +83 -0
  93. tinyjukebox/schema/tinyjukebox.py +217 -0
  94. tinyjukebox/schema/volume.py +28 -0
  95. tinyjukebox/slots.py +234 -0
  96. tinyjukebox/spotify/__init__.py +1 -0
  97. tinyjukebox/spotify/account.py +647 -0
  98. tinyjukebox/spotify/engine.py +568 -0
  99. tinyjukebox/spotify/oembed.py +65 -0
  100. tinyjukebox/spotify/soloist.py +198 -0
  101. tinyjukebox/spotify/sound.py +316 -0
  102. tinyjukebox/stm/__init__.py +0 -0
  103. tinyjukebox/stm/base.py +174 -0
  104. tinyjukebox/stm/playradio.py +237 -0
  105. tinyjukebox/stm/playspotify.py +418 -0
  106. tinyjukebox/stm/stmoperation.py +769 -0
  107. tinyjukebox/stm/stmplayalbum.py +655 -0
  108. tinyjukebox/stm/stmvolume.py +221 -0
  109. tinyjukebox/sync/__init__.py +42 -0
  110. tinyjukebox/sync/box.py +486 -0
  111. tinyjukebox/sync/client.py +189 -0
  112. tinyjukebox/sync/data.py +489 -0
  113. tinyjukebox/sync/files.py +447 -0
  114. tinyjukebox/sync/handshake.py +42 -0
  115. tinyjukebox/sync/link.py +379 -0
  116. tinyjukebox/sync/manifest.py +162 -0
  117. tinyjukebox/sync/util.py +137 -0
  118. tinyjukebox/tinyjukebox.py +680 -0
  119. tinyjukebox/tools/__init__.py +1 -0
  120. tinyjukebox/tools/backup.py +173 -0
  121. tinyjukebox/tools/fill_library.py +120 -0
  122. tinyjukebox/tools/import_cards.py +274 -0
  123. tinyjukebox/tools/import_covers.py +138 -0
  124. tinyjukebox/tools/migrate_box01.py +151 -0
  125. tinyjukebox/volumemanager.py +355 -0
  126. tinyjukebox/web/__init__.py +1 -0
  127. tinyjukebox/web/auth.py +373 -0
  128. tinyjukebox/web/certificates.py +111 -0
  129. tinyjukebox/web/logbuffer.py +62 -0
  130. tinyjukebox/web/server.py +1237 -0
  131. tinyjukebox/web/uploads.py +262 -0
  132. tinyjukebox/web/users.py +106 -0
  133. tinyjukebox/web/web/app.js +3050 -0
  134. tinyjukebox/web/web/favicon.svg +6 -0
  135. tinyjukebox/web/web/help/de/admin.html +714 -0
  136. tinyjukebox/web/web/help/de/manual.html +1147 -0
  137. tinyjukebox/web/web/help/de/quick-guide.html +79 -0
  138. tinyjukebox/web/web/help/en/admin.html +701 -0
  139. tinyjukebox/web/web/help/en/manual.html +1126 -0
  140. tinyjukebox/web/web/help/en/quick-guide.html +79 -0
  141. tinyjukebox/web/web/help/help.css +25 -0
  142. tinyjukebox/web/web/help/images/box-2026.jpg +0 -0
  143. tinyjukebox/web/web/help/images/box-back.jpg +0 -0
  144. tinyjukebox/web/web/help/images/lid-top.jpg +0 -0
  145. tinyjukebox/web/web/help/images/logo-mark.svg +38 -0
  146. tinyjukebox/web/web/index.html +867 -0
  147. tinyjukebox/web/web/style.css +412 -0
  148. tinyjukebox/web/web/texts/de.json +892 -0
  149. tinyjukebox/web/web/texts/en.json +892 -0
  150. tinyjukebox-0.47.0.dist-info/METADATA +236 -0
  151. tinyjukebox-0.47.0.dist-info/RECORD +154 -0
  152. tinyjukebox-0.47.0.dist-info/WHEEL +4 -0
  153. tinyjukebox-0.47.0.dist-info/entry_points.txt +9 -0
  154. tinyjukebox-0.47.0.dist-info/licenses/LICENSE.txt +21 -0
@@ -0,0 +1,236 @@
1
+ Metadata-Version: 2.5
2
+ Name: tinyjukebox
3
+ Version: 0.47.0
4
+ Summary: RFID-controlled audio player for albums: state machines, ffmpeg/aplay playback, REST API and web page.
5
+ Project-URL: Homepage, https://github.com/tgd1975/tinyjukebox
6
+ Project-URL: Documentation, https://github.com/tgd1975/tinyjukebox/tree/master/docs
7
+ Author-email: Tobias Gawron-Deutsch <tobias@strix.at>
8
+ License-Expression: MIT
9
+ License-File: LICENSE.txt
10
+ Keywords: audio player,kids,raspberry pi,rfid
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Environment :: Console
13
+ Classifier: Environment :: No Input/Output (Daemon)
14
+ Classifier: Environment :: Web Environment
15
+ Classifier: Operating System :: POSIX :: Linux
16
+ Classifier: Programming Language :: Python :: 3 :: Only
17
+ Classifier: Topic :: Home Automation
18
+ Classifier: Topic :: Multimedia :: Sound/Audio :: Players
19
+ Classifier: Typing :: Typed
20
+ Requires-Python: >=3.11
21
+ Requires-Dist: jsonschema>=4.18
22
+ Requires-Dist: mutagen>=1.47
23
+ Requires-Dist: pyyaml>=6.0
24
+ Requires-Dist: segno>=1.6
25
+ Requires-Dist: tantamount<0.4,>=0.3.2
26
+ Provides-Extra: box
27
+ Requires-Dist: dbus-fast>=5.0; (sys_platform == 'linux') and extra == 'box'
28
+ Requires-Dist: pyalsaaudio>=0.11; (platform_machine == 'aarch64' or platform_machine == 'armv7l' or platform_machine == 'armv6l') and extra == 'box'
29
+ Requires-Dist: rpi-lgpio; (platform_machine == 'aarch64' or platform_machine == 'armv7l' or platform_machine == 'armv6l') and extra == 'box'
30
+ Description-Content-Type: text/markdown
31
+
32
+ <picture>
33
+ <source media="(prefers-color-scheme: dark)" srcset="docs/images/logo-dark.svg">
34
+ <img src="docs/images/logo.svg" alt="Tiny Jukebox" width="460">
35
+ </picture>
36
+
37
+ RFID-controlled music box for children: put a tag (a disc, a figure, a card – anything with an RFID chip) on the box,
38
+ and the linked album continues where it stopped last time. The tag is only ever read, never written; the UID is all
39
+ that counts.
40
+
41
+ <img src="docs/images/box-2026.jpg" alt="The box today: a white wooden case with a grille of rings at the front, on top the round lid with buttons, LED and a tag in its window" width="360">
42
+
43
+ ## 1. What Tiny Jukebox does especially well
44
+
45
+ - **One library, any number of boxes.** `tinyjukebox-library` runs on a NAS or the PC and holds the tags, albums,
46
+ radio stations and covers. Every box keeps a copy, fetches the albums it lacks, plays without the library,
47
+ and the library shows what was played.
48
+ - **Updates with a way back.** A push to `master` that changes the software becomes a release. The library
49
+ fetches it, a box tries the new version at its next start and goes back to the one before by itself if it fails.
50
+ - **Set up with one line, run like an appliance.** One line on a fresh Raspberry Pi OS turns it into a box – fetched
51
+ from GitHub, or from the page of the library, which links the box to it at once. The library is a package for a
52
+ Synology NAS, a Docker image or `pip install`. Backups run by a schedule, users and roles are managed on the web
53
+ page.
54
+ - **Everything on one web page.** Link tags (also by scanning them with a phone), upload albums, set radio
55
+ stations and volume limits, change covers – over HTTPS, in English and German, with a REST API behind it.
56
+ - **Bluetooth headset as a first-class way to listen.** Pairing with a button gesture, own start volume and maximum,
57
+ pause when the connection is lost, headset buttons.
58
+ - **Reads reliably.** The RC522 is read by a small C++ program that recovers by itself after a crash or a reset of
59
+ the chip, and playback keeps its position over a power cut.
60
+ - **Spotify and phones, built but not yet tried for real.** A tag can also play an entry of Spotify – an album, a
61
+ playlist, a podcast – through Spotify Soloist, and the app for Android makes a phone a box
62
+ ([app.md](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/app.md)). Spotify is tested on the PC and has not played on a box yet; the app ran in the
63
+ Android emulator, not yet on a real phone ([roadmap.md](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/roadmap.md), section 1).
64
+
65
+ ## 2. Software and hardware
66
+
67
+ The software is one Python process (one systemd service) with device drivers, state machines, player and web page
68
+ that exchange messages over an in-process queue – no broker, no further services. State machines run tags, album
69
+ playback, radio, Spotify and volume. Playback is `ffmpeg | aplay`: the position is saved, with next/previous, pause and
70
+ internet radio stations. An entry of Spotify plays through Spotify Soloist, which the box starts with a PipeWire of
71
+ its own; its sound goes to `aplay` as well. The app for Android phones (`app/`, Kotlin) makes a phone a box: it reads
72
+ the tag with NFC and plays its album or station with the data of the library ([app.md](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/app.md)).
73
+
74
+ **The software does not need a Raspberry Pi or a particular amplifier.** Our own box happens to be a Raspberry Pi 3
75
+ with an RC522, four buttons, an RGB LED and a Pimoroni Audio Amp SHIM; that is the platform we built and tested, not a
76
+ requirement of the application.
77
+
78
+ - **Sound:** any ALSA device and mixer control, set in the config. The Audio Amp SHIM is not mentioned in the code.
79
+ - **Core:** state machines, player, web page, REST API and library are plain Python on Linux; they run on a PC
80
+ without any hardware (`--no-hardware`), which is also how the tests run.
81
+ - **Drivers:** buttons, LED, RFID reader and Bluetooth are drivers selected and wired in the config
82
+ ([drivers.md](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/drivers.md)); the pins are config, not code.
83
+ - **RFID reader:** the driver starts any program that prints `ready`, `tag <UID>` and `removed`, one per line
84
+ ([rfid-reader.md](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/rfid-reader.md)). The C++ `rfid-reader` for the RC522 on a Raspberry Pi is the one
85
+ we ship; another reader or another board needs only such a program and the `command` of the driver.
86
+ - **What is tied to the Pi today:** the shipped GPIO drivers (`rpi-lgpio`) and `rfid-reader` (SPI through bcm2835).
87
+ Bluetooth uses BlueZ and BlueALSA, which are not specific to the Pi.
88
+
89
+ The box runs the released version of its slot and works with the library on the NAS. The web page and the user
90
+ documentation are English and German; code and developer documentation are English.
91
+
92
+ ## 3. History
93
+
94
+ The first box was built for Christmas 2019: RFID, presence detection and four buttons, from the start. The
95
+ circuit and the printed parts are in [`hardware/`](https://github.com/tgd1975/tinyjukebox/blob/master/hardware/README.md); the software has been rebuilt several times
96
+ since. The [changelog](https://github.com/tgd1975/tinyjukebox/blob/master/CHANGELOG.md) tells the story from 2018 on.
97
+
98
+ | The lid on its circuit, December 2019 | The first box at work, a figure on the lid as tag |
99
+ | --- | --- |
100
+ | <img src="docs/images/lid-on-circuit-2019.jpg" alt="The wired lid with the LED on, lying on the printed circuit next to the Pi" width="360"> | <img src="docs/images/box-open-figure-2019.jpg" alt="The first box with its back open and a figure standing on the lid" width="270"> |
101
+
102
+ The hardware has changed as well, while the box stayed in use:
103
+
104
+ | Inside in 2019: Pi Zero, separate amplifier, power bank | Inside today: Pi 3 with the Audio Amp SHIM, power bank |
105
+ | --- | --- |
106
+ | <img src="docs/images/inside-2019.jpg" alt="The inside of the first box: a Pi Zero on the right wall, a separate amplifier on the left, the speaker in the middle, rainbow ribbon cables and the power bank in a black frame at the bottom" width="360"> | <img src="docs/images/inside-2026.jpg" alt="The inside of the box today, from the back: the Pi 3 with the Audio Amp SHIM on the left wall, the speaker in the middle, the power bank in its frame below, the open back panel with the USB socket and the switch" width="360"> |
107
+
108
+ ## 4. Documentation
109
+
110
+ All documents as one site, with search and a menu by reader: <https://tgd1975.github.io/tinyjukebox/>.
111
+
112
+ ### 4.1 For users and administrators (English and German)
113
+
114
+ | Document | Content |
115
+ | --- | --- |
116
+ | Quick guide: [English](https://github.com/tgd1975/tinyjukebox/blob/master/docs/user/en/quick-guide.md), [Deutsch](https://github.com/tgd1975/tinyjukebox/blob/master/docs/user/de/quick-guide.md) | text of the quick guide card (A6, two sides): tags, buttons, LED, headset; web page |
117
+ | Manual: [English](https://github.com/tgd1975/tinyjukebox/blob/master/docs/user/en/manual.md), [Deutsch](https://github.com/tgd1975/tinyjukebox/blob/master/docs/user/de/manual.md) | the full manual: operating the box, LED, pause, Bluetooth headset, web page, MP3 albums, radio, Spotify, volume limits, users, troubleshooting, library |
118
+ | Administration: [English](https://github.com/tgd1975/tinyjukebox/blob/master/docs/user/en/admin.md), [Deutsch](https://github.com/tgd1975/tinyjukebox/blob/master/docs/user/de/admin.md) | setting up a box and the library, updates, users and access, backups, logs, configuration, troubleshooting – the complete details in the developer documents below |
119
+
120
+ ### 4.2 For developers and hardware, the complete details for administrators (English)
121
+
122
+ | Document | Content |
123
+ | --- | --- |
124
+ | [Architecture](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/architecture.md) | components, state machines, volume, player, headset logic, data model, messages, framework, threads, latency measurement |
125
+ | [Drivers](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/drivers.md) | driver framework, buttons, LED, RFID driver, Bluetooth stack and driver |
126
+ | [rfid-reader](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/rfid-reader.md) | the C++ program that reads the RC522: interface, read loop, design decisions, build, tests |
127
+ | [REST API and web page](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/rest-api.md) | server, authentication, roles, endpoints, server-sent events |
128
+ | [Configuration](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/configuration.md) | command line, all keys of the config file |
129
+ | [The box](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/box.md) | hardware, pins, operating system, audio, file layout, service, robustness, decisions |
130
+ | [Library, synchronization and self-update](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/library.md) | the library on the NAS or the PC with its package, synchronization of the boxes and phones, the phone as reader, self-update with slots, play statistics, release pipeline, test bed, tests |
131
+ | [The app](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/app.md) | the app for Android phones: simple mode (a phone as a box), expert mode (the page of the library), pairing, presence of a tag, the cache of albums, Spotify, delivery, the code |
132
+ | [Deployment](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/deployment.md) | how software and setup reach the box, Ansible playbook, roles, variables, first setup, updates, changes on the box, acceptance checklist |
133
+ | [Operations](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/operations.md) | service, logs, users, albums, console, latency, diagnostics, backups |
134
+ | [Development](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/development.md) | setup, the box on the PC, repository layout, dependencies, tests, quality checks, conventions, releases, the app, the documentation site |
135
+ | [Style guide](https://github.com/tgd1975/tinyjukebox/blob/master/docs/style-guide/README.md) | name, logo, colours, type, shapes, the light of the box, how the documents are written |
136
+ | [Open points and roadmap](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/roadmap.md) | what is not verified yet, known gaps, envisioned changes |
137
+
138
+ Reference files: [example config](https://github.com/tgd1975/tinyjukebox/blob/master/docs/config.example.yaml), [config of the box](https://github.com/tgd1975/tinyjukebox/blob/master/deploy/config/tinyjukebox.yaml),
139
+ [config schema](https://github.com/tgd1975/tinyjukebox/blob/master/docs/config_schema.json). Hardware: [circuit and printed parts](https://github.com/tgd1975/tinyjukebox/blob/master/hardware/README.md),
140
+ [key data and data sheets](https://github.com/tgd1975/tinyjukebox/blob/master/docs/hardware/README.md).
141
+
142
+ ## 5. Quick start
143
+
144
+ **A box:** write Raspberry Pi OS Lite (64-bit) with the Raspberry Pi Imager, log in over SSH and run
145
+
146
+ ```bash
147
+ curl -fsSL https://github.com/tgd1975/tinyjukebox/releases/latest/download/install.sh | sudo bash
148
+ ```
149
+
150
+ ([deployment.md](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/deployment.md), section 5). **Library and a box without hardware to try it,** with
151
+ Docker – the two passwords are files next to `compose.yaml`:
152
+
153
+ ```bash
154
+ cd deploy/docker && openssl rand -hex 12 > admin-password && openssl rand -hex 24 > bootstrap-password
155
+ docker compose up -d # https://localhost:8866/ and https://localhost:8443/, user admin, the password in admin-password
156
+ ```
157
+
158
+ or with Python: `pip install tinyjukebox`, then `tinyjukebox-library --data ~/library` and
159
+ `tinyjukebox --data ~/box --no-hardware --no-audio` ([library.md](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/library.md), section 3.9).
160
+
161
+ **Development**, on the PC, without hardware:
162
+
163
+ ```bash
164
+ uv sync --all-groups
165
+ cp docs/config.example.yaml my-config.yaml # adjust the paths
166
+ uv run tinyjukebox -c my-config.yaml --no-hardware --no-audio # web page: https://localhost:8443/
167
+ ```
168
+
169
+ Checks:
170
+
171
+ ```bash
172
+ uv run pytest --cov # tests (need ffmpeg; no sound card, no Pi hardware)
173
+ uv run ruff format --check . && uv run ruff check . && uv run mypy
174
+ ```
175
+
176
+ Library and box on the PC: `./start_library.sh` and `./start_sim.sh`
177
+ ([library.md](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/library.md), section 3.8).
178
+
179
+ Bring a change to the box: raise the version, add a section to `CHANGELOG.md`, push to `master`. The workflow
180
+ publishes the release and the box installs it by itself ([development.md](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/development.md),
181
+ section 8). System setup and config of our box come from the playbook, which runs the installer of the clone:
182
+
183
+ ```bash
184
+ ./update_box.sh
185
+ ```
186
+
187
+ Prerequisite: [uv](https://docs.astral.sh/uv/). The project uses Python 3.13 (package: ≥ 3.11).
188
+
189
+ ## 6. Licence
190
+
191
+ The code of this repository is under the MIT licence ([`LICENSE.txt`](https://github.com/tgd1975/tinyjukebox/blob/master/LICENSE.txt)); for the circuit see
192
+ [`hardware/README.md`](https://github.com/tgd1975/tinyjukebox/blob/master/hardware/README.md).
193
+
194
+ **The files of a release contain software of others** that is not in the repository: the slot archive for the boxes
195
+ (`tinyjukebox-box-…`), the package of the library for the NAS (`tinyjukebox-library-…`), which brings a slot and the
196
+ app along, and the app for phones (`tinyjukebox-app-…`).
197
+
198
+ | Software | In | Licence |
199
+ | --- | --- | --- |
200
+ | Python ([python-build-standalone](https://github.com/astral-sh/python-build-standalone)) | slot | PSF-2.0; the libraries built into it have their own licences |
201
+ | mutagen | slot, package | **GPL-2.0-or-later** |
202
+ | jsonschema with attrs, referencing, rpds-py and jsonschema-specifications; PyYAML | slot, package | MIT |
203
+ | tantamount, asyncscheduler (our own) | slot, package | MIT |
204
+ | segno | slot, package | BSD-3-Clause |
205
+ | Kotlin standard library, kotlinx.serialization; AndroidX (core, activity, webkit and what they need); Media3 (ExoPlayer, session) with Guava; ZXing and ZXing Android Embedded; Spotify App Remote SDK (fetched from Spotify's release on GitHub, checked by its checksum) with Gson | app | Apache-2.0 |
206
+ | typing-extensions | package | PSF-2.0 |
207
+ | dbus-fast | slot | MIT |
208
+ | rpi-lgpio | slot | BSD-3-Clause |
209
+ | lgpio | slot | Unlicense (public domain) |
210
+ | pyalsaaudio | slot | PSF-2.0 |
211
+ | bcm2835, linked into `rfid-reader` | slot | **GPL-3.0** |
212
+ | RPi-MFRC522, compiled into `rfid-reader` | slot | Unlicense (public domain) |
213
+
214
+ Python and the Python packages of others bring their licence texts along (`python/lib/python3.13/LICENSE.txt`, the
215
+ folders `*.dist-info/licenses/`); those of bcm2835 and RPi-MFRC522 are in the slot next to `rfid-reader`
216
+ (`bin/rfid-reader-licenses/`); the app shows the Apache licence in its settings. `app/gradle/libs.versions.toml` names
217
+ the libraries of the app and their versions. The sources: `uv.lock` names the Python packages and their versions,
218
+ `deploy/ansible/group_vars/all/main.yaml` the versions of bcm2835 and RPi-MFRC522 and where they come from,
219
+ `cpp/rfid-reader/` is the source of `rfid-reader` itself. This is a description, not a legal opinion.
220
+
221
+ ## 7. Repository
222
+
223
+ | Folder | Content |
224
+ | --- | --- |
225
+ | `src/tinyjukebox/`, `tests/` | the application and its tests |
226
+ | `app/` | the app for Android phones (Kotlin, Gradle): a phone as a box, and the page of the library ([docs/developer/app.md](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/app.md)) |
227
+ | `cpp/rfid-reader/` | the RFID reader program of the box (C++), built with the slot of a release; `licenses/` holds the licence texts of the two libraries it is built with |
228
+ | `deploy/` | config, service units, the slot scripts of a box, the Ansible playbook that sets up the box, the package of the library for the NAS |
229
+ | `scripts/` | builds the slot, the installer, the image and the app of a release, the steps of the workflow, checks of both web pages, the documentation site (`site/`), `trust.sh` (the keys of DSM and of the library that the scripts on the PC accept) |
230
+ | `*.sh` in the root | `start_sim.sh`, `start_library.sh` (box and library on the PC), `update_box.sh` (playbook), `build_package.sh`, `fetch_release.sh`, `update_library.sh` (the package onto the NAS), `release.sh` (push, merge, install), `import_covers.sh` |
231
+ | `docs/` | documentation; `docs/hardware/` holds the key data of the components and the links to their data sheets, `docs/images/` the photos of the box and the logo |
232
+ | `hardware/` | the circuit of the box and printed parts |
233
+
234
+ The repository holds everything that belongs to the box and changes together. It has one version number
235
+ (`pyproject.toml`), set as git tag `vX.Y.Z`. What is deliberately not in the repository is listed in
236
+ [development.md](https://github.com/tgd1975/tinyjukebox/blob/master/docs/developer/development.md), section 3.
@@ -0,0 +1,154 @@
1
+ tinyjukebox/__init__.py,sha256=ww7Omt_xXFrDHzr9eCUA7heJ2aRMHaHdwJIKkq0USiM,182
2
+ tinyjukebox/backup.py,sha256=XMUx5lHmphmnUAw4Dj1ot91XhjaYh_hCIjI0lVAKDpM,7836
3
+ tinyjukebox/backups.py,sha256=AU1eaT3NjwfoLkfRiM4SWfjdkRX6iQxAeqI7sOfRHzE,17585
4
+ tinyjukebox/cli.py,sha256=QEXMda-AinmHwOvWMd6l2qX5BAimx63qXvluzSZZT2c,47098
5
+ tinyjukebox/control.py,sha256=Wtor1Bomw9tAZTv8HP0L7au4_bhJP6wTh84PhqMpu4k,68048
6
+ tinyjukebox/data_folder.py,sha256=nxCQEkH4f8ai1DbXRJVrqA5GGcTUCm_a_O1hLiCpfXw,8452
7
+ tinyjukebox/diagnostics.py,sha256=145ysXXPwhru-3hpeAu6uhn1XLUrg0lVL4Sefjt7Ieg,8557
8
+ tinyjukebox/errors.py,sha256=-r8YE4yfrFaqtHZ6_HrMJak5AumAY3outSJqaNktg_Q,2129
9
+ tinyjukebox/headset.py,sha256=aPJsItatG2pzofDaAawy3zkY0RzRnTArVhbAi93kEXs,14270
10
+ tinyjukebox/images.py,sha256=QrkoE8vCaa6_8gQ3lmn4zmY4Fq5_Ezi-JjPIaWMTnUI,5319
11
+ tinyjukebox/latency.py,sha256=AcMIFOjnLbKO8no3cqXq7lTHOTUCeiR_Z9wyQlSQ-xM,1591
12
+ tinyjukebox/messages.py,sha256=fWYCaxbmBMciOtrVp7OhYrlSPAv0lmYSJ6u_TEr65hU,6690
13
+ tinyjukebox/metadata.py,sha256=AXTJ3m2u3Y046apEGRCNpMfh6zo8M8djfA9Rv00Nhw4,4698
14
+ tinyjukebox/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
+ tinyjukebox/restore.py,sha256=m1AN8VPPDvn6fGeeBQ09dw2pkDVbiWAElIFS2E80Rw4,19492
16
+ tinyjukebox/rgbled.py,sha256=QmzomaT6h29HhIG3FTBeuZT29r6DwYrl9kD_mfACHhw,6913
17
+ tinyjukebox/slots.py,sha256=t77syw4ySuTTFJmqPq69xWbSIzHHY9SYJCIOEcFZN9g,11288
18
+ tinyjukebox/tinyjukebox.py,sha256=0-5-yZEiCJUwOUH-a70QGHJxdfPH_8QWdw6SZpJQLsM,31868
19
+ tinyjukebox/volumemanager.py,sha256=McUcXEvuVIghe8ZJv9B8Z4urXLGBFS8yhYRV2ytAySQ,15745
20
+ tinyjukebox/albumplayer/__init__.py,sha256=w0AlQFZdLsIsFPkfSBPnxx6iysgL0OP3bjZiDVmA1vA,110
21
+ tinyjukebox/albumplayer/aalbumplayer.py,sha256=eh2883rw01CsGkHMQghirQvhg1c1egSM3d5Yo8BWZ-8,15961
22
+ tinyjukebox/albumplayer/clock.py,sha256=riu61luWiuFFtSqngpvOpVSfJ7LLNZB51XhNfVxGGWM,1085
23
+ tinyjukebox/albumplayer/dummyplayer.py,sha256=n_ziVXyAGFGjKxBq7qNkp9mif1enNmtf0uVe_RaZPPQ,1702
24
+ tinyjukebox/albumplayer/player_interface.py,sha256=6OF6j98p8NnzSr4ySjddR8S4MmZJ07tKtIRwyupA6p0,3362
25
+ tinyjukebox/albumplayer/radioplayer.py,sha256=qqRMxb_A7axRamiP_I56jZ7kg1IYhlMmm38KfCj6ppY,17086
26
+ tinyjukebox/albumplayer/simpleplayer.py,sha256=1w8V3HRQing8W9K9sO-XnyR7gbpgFu83BXMaHDr_VH4,17689
27
+ tinyjukebox/albumplayer/spotifyplayer.py,sha256=bcPbLv74p5HXemuIlihHxEZaegaTNNeVdRrGOjA0gq4,28900
28
+ tinyjukebox/core/__init__.py,sha256=m2UoLSNXGOzt6kbdWyfrtYa9dADOWOhIQ10M6vdLax4,119
29
+ tinyjukebox/core/config.py,sha256=V6UoRdQUo3yifPmSmTu6m1tVeSiSj6e6vmSnc88sLd4,3765
30
+ tinyjukebox/core/microservice.py,sha256=KGt6WUbtzFMCbL9Msyp8qQp-Yu2oFjgII226EU59RW4,13419
31
+ tinyjukebox/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
+ tinyjukebox/core/threads.py,sha256=RR0VuBR8G3YiKzXt6BLR7cfm6_18JLdLOJlTt29Ebyg,1259
33
+ tinyjukebox/core/unexpected.py,sha256=r5FUVdINS5zQ48tfx5viaEM_n9FU87my_y9EluWvjeQ,1709
34
+ tinyjukebox/core/logging/__init__.py,sha256=-B2MLGnmNXLNat4ujc6DajRZSXwr69u6EPQfQz6yHok,3954
35
+ tinyjukebox/core/pubsub/__init__.py,sha256=bJxxnveGgbxGEgYcmFpe6yHjsG6WGBKldF5lCxaA_-s,445
36
+ tinyjukebox/core/pubsub/base.py,sha256=Vk15p8gBunNk50vaThqJLql-xEvXxtA9t8uFBVy5mMw,8523
37
+ tinyjukebox/core/pubsub/localqueue.py,sha256=WKlRbEJp_cReBiczZBB5skfJvBVlu1TVsv4tprs-5Ak,4123
38
+ tinyjukebox/core/pubsub/statistics.py,sha256=bWf6KxlKPm2EHymQe9vgfVQ3ffJl0XuAslkeXSt3Gfg,1774
39
+ tinyjukebox/core/schema/__init__.py,sha256=QjZssWYGyvf9ZgpgRICJHRDhCU_75sc8W12TFS5VSDI,182
40
+ tinyjukebox/core/schema/logger.py,sha256=XQsEqtANk2V1LplIpnf2_dRD5gdS6mMYNLEntm2TQEc,1525
41
+ tinyjukebox/core/schema/microservice.py,sha256=Hpa6ORmxscwMWi4MEsFDTtZBORjl--6OFNU0SirWZhc,1585
42
+ tinyjukebox/core/ui/__init__.py,sha256=b-0JDjgUWeuhswyuLcGMpRNoRAxDDuYFMbgpklid8iA,153
43
+ tinyjukebox/core/ui/cli.py,sha256=4cNPTzVZHsYYZQ1iiGB3ncIUZSyan9HK37Dojc5OaF4,4544
44
+ tinyjukebox/core/ui/tools.py,sha256=ryBh1FQbLCdyLoQfngpyZlScl-jYn0aTlf5tuEbn-S4,2270
45
+ tinyjukebox/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
+ tinyjukebox/data/activities.py,sha256=wCZp3ARFUG73BrNV75XrNPFwuI22YTw7MkY_Kl05xDw,8430
47
+ tinyjukebox/data/activity.py,sha256=HrntP9eAiZms0UbwgtmTTjiupMSFtKCutMS_V0IQM4w,6261
48
+ tinyjukebox/data/common.py,sha256=RTnq3tzKCkyQ2A2xQ-0fwdRADWUOx5bn_c9IbPwo8OI,3007
49
+ tinyjukebox/data/degraded.py,sha256=_200mAcCtB10Bomcqx9JJyEPthhMNkImuXtHG2cmgF8,1337
50
+ tinyjukebox/data/jsondata.py,sha256=E8Vjux_dmeVEdX0KQXiFrNdKj6RVK-pYh6rSZpo9Fi0,10277
51
+ tinyjukebox/data/sanitycheck.py,sha256=G3eEZOkqRl6ZD7KihnNtoGdINrqV2Pi-SOZdMmani_c,2908
52
+ tinyjukebox/data/tag.py,sha256=22eky8o1zk4DYBU1q4cCiCbzXUH9UgJQGvCQJWAbil4,4166
53
+ tinyjukebox/data/tags.py,sha256=-Z0wQf-YmiUDn4zm2kHJghZUobsydnpSx8XdhTuZT_k,7175
54
+ tinyjukebox/data/target.py,sha256=ySPn-O1O0zkAsnuYh8HYVG5WxXa8Q6d3wBDOeAYItgU,26832
55
+ tinyjukebox/data/targetalbumtools.py,sha256=RVo7Rj2srVEbVfXH1QJVlL1RLOPqJp3DeEF4EJecnMI,4021
56
+ tinyjukebox/data/targets.py,sha256=HaHlQvn3B0kYd1r68_qZnFSN1TpL7mw50zznDKGyahU,12588
57
+ tinyjukebox/data/volumelimits.py,sha256=XNrhA1WHwRX3f3kF3h3byzCJRhSzhcGdpFfu2Ioy-QI,2880
58
+ tinyjukebox/devices/__init__.py,sha256=1-fX5yK7MTcr3sOIHpCt6fXNDE80B2VRM9PnXsZ8E5E,87
59
+ tinyjukebox/devices/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
60
+ tinyjukebox/devices/baseclasses/__init__.py,sha256=_ZZIvTjeaTxVGyl3-ujL_jxk25FfqjmC1n8Q3gtPt3I,44
61
+ tinyjukebox/devices/baseclasses/adriver.py,sha256=YbkkJRhiURu1wBm6Rjm_SjAmJ9aqggYEgjqnxZf-LG4,4538
62
+ tinyjukebox/devices/baseclasses/aevents.py,sha256=TqgePwO_z0bM9Nk8v1JbdFklw6CIPesMpJVlEPWZX8s,1914
63
+ tinyjukebox/devices/baseclasses/gpiolevel.py,sha256=Fs50uEO90vBJVYvXCMWi0BuS9q6i8HTA-6w-Gq2uW_s,563
64
+ tinyjukebox/devices/bluetooth/__init__.py,sha256=miIJjFJElH2cm8ecuxqX0IjoCCi20n7OseMn2Jzkbm0,118
65
+ tinyjukebox/devices/bluetooth/avrcp_input.py,sha256=7HCbMvmbyPIhLjFaScCB62TOgUZppFOOvklJXuRmzGE,4831
66
+ tinyjukebox/devices/bluetooth/bluez.py,sha256=q6XA5dx9ODpw6-Zy9fHFGwrJBZrtDWgGjNAtWT9U_5Q,20344
67
+ tinyjukebox/devices/bluetooth/link.py,sha256=RwOXPbp8seIvRn_Qo4tubbGIycFgw-qWQmAzUBCUvvg,18960
68
+ tinyjukebox/devices/bluetooth/virtual.py,sha256=QNZCCit8gs_N67ODPWkG7D0qfoTM4ZHFbRw9kOvldJI,6727
69
+ tinyjukebox/devices/drivermanager/__init__.py,sha256=qfMZzgZSeaHbPWPeqv3BxSR1VgAINP1xVf4WiHd9p64,39
70
+ tinyjukebox/devices/drivermanager/driverfactory.py,sha256=YKS6E2H1Cx-1GCkoBn88Wy6NwU-BkZyMRIaZnUtFauQ,3080
71
+ tinyjukebox/devices/drivermanager/drivermanager.py,sha256=gk3RXsfqEJm76pcki_FN2a3AltVx0OB-ViLT-WjvVfI,6946
72
+ tinyjukebox/devices/drivers/__init__.py,sha256=XaL1y4LKyspTzoOhu4UviR-XjXkG_VebFO9eYE8Z1vs,1217
73
+ tinyjukebox/devices/drivers/bluetooth.py,sha256=bPMFK9nVccEvdGRzF7hhf-Z5WAsNnndDKDAOQHnF_K8,11393
74
+ tinyjukebox/devices/drivers/input.py,sha256=BGVWZ2ru9-8-iIly8rLX_NNyZ8o7ADEgMKpj7m-U3DQ,6795
75
+ tinyjukebox/devices/drivers/rfid.py,sha256=caWreijOIY-MuxZG9sKOb2Jdb0Mhk9QlA4bI_2toLB4,13927
76
+ tinyjukebox/devices/drivers/rgbled.py,sha256=EzNcQ7D2GspkoVcU37guJcIgeoXAdlKHX5MOB6Hvnis,9311
77
+ tinyjukebox/devices/schema/__init__.py,sha256=FUWsfXrQyqXN8rJvzH1BSMDkEUbpDuUXIU5SqfeC4Fs,50
78
+ tinyjukebox/devices/schema/adriver.py,sha256=I47oQdeOZcOf5Fxx9LxDVTM5YicXr5d2tnhkONznDss,1444
79
+ tinyjukebox/devices/schema/bluetooth.py,sha256=bb0kuLjDrlmqISRsR2zr5MtwwWVpCx6rZMtIucq4vM8,1158
80
+ tinyjukebox/devices/schema/drivermanager.py,sha256=-_GfNFymxbrLCXVGuMl3sVLlgF-BFBm0ymGKZbMnqGc,1637
81
+ tinyjukebox/devices/schema/input.py,sha256=l0Xo9T7wKllpfJ_5_Bt4pjM4egONfrIbzFaN6J0gX3o,868
82
+ tinyjukebox/devices/schema/rfid.py,sha256=KoQCBExtDVB3O2cDXErrZtwuF7M1QvUqEWy5goPUKPM,1428
83
+ tinyjukebox/devices/schema/rgbled.py,sha256=HLzzIfQOk_y1oBk3Mq16uF26aYLBtyeTj13miGpEJ6A,880
84
+ tinyjukebox/library/__init__.py,sha256=P67EVFO3JHfzHIp9VcMzRlhJ0Wxptbzb-_rQtcARXn0,184
85
+ tinyjukebox/library/diagnostics.py,sha256=H2woOd3I8v-AxB7_AmQkusWj6KyJ3-MnBviDoxIIA5w,9391
86
+ tinyjukebox/library/journal.py,sha256=8FUO8N5SZyC4Wmk-QM1mnExMkTMQtzG6fjIyauUicjY,4009
87
+ tinyjukebox/library/releases.py,sha256=0EusuIzgQphfDyse7uavSySEUvH_IL-RNkZ6ZRx5gB4,17616
88
+ tinyjukebox/library/schema.py,sha256=JoPRbeyOC8a54bz0OTVworhSkr_xKm40ePCSGG-UOLw,5026
89
+ tinyjukebox/library/service.py,sha256=YJ6HlfVGlnbQoHkbZ6Us6c5LGelCAJ8QTkZv13a1hBs,58251
90
+ tinyjukebox/library/statistics.py,sha256=BxMVWBctbeoSaHFTR05Wnwnb_ByCcIUArh7lIOED8fM,13331
91
+ tinyjukebox/library/store.py,sha256=PhHvSwyewdvxeAQaComq716-5ASwySWwEyjWB28womo,70404
92
+ tinyjukebox/schema/__init__.py,sha256=fJlOTE1OjPfnVKwuEYeo0Fm7t-_r8dtwIuk_MSVA2Ys,69
93
+ tinyjukebox/schema/activities.py,sha256=lwH6EH5cvXDPbntyX82hxiqNKPBScRGELwrEYvuR08w,1299
94
+ tinyjukebox/schema/tags.py,sha256=beCOGts2ZbgqZpyP6RbKo2oiLVLPWqwltU48R1RVKk4,2128
95
+ tinyjukebox/schema/targets.py,sha256=RFjswIrD_PTsPPiG2Blj8D30gWOLENOCJdeWb8JC45c,3799
96
+ tinyjukebox/schema/tinyjukebox.py,sha256=1-Tlj4JufYqV0_i1m_DdQBj7Oiz5-k5428TXv6p9hFs,11815
97
+ tinyjukebox/schema/volume.py,sha256=IWqcOXoHLBkMIp1bm8OUPpnpXhX30x_CdWqcCEPtKCk,951
98
+ tinyjukebox/spotify/__init__.py,sha256=B8nR1rH_HPRnaIVI8mmES0t6PcpeIfGrEvA4_Bmp8e0,119
99
+ tinyjukebox/spotify/account.py,sha256=JoKF2yijTV1ttR4AgcjzbPiQNbiQmyo8YjBXJGFribs,28811
100
+ tinyjukebox/spotify/engine.py,sha256=ikjKUlijyYhQ96oy9CDPQe32Sdipf10T7_p7PRQATsY,24235
101
+ tinyjukebox/spotify/oembed.py,sha256=SUua1izReoAv_qFwbedqa1KHxnCJuSCQ5I9KPgtpRJY,2659
102
+ tinyjukebox/spotify/soloist.py,sha256=OIIvVorlwIys94bxLasYHce4dkrC6Vm147ZOtk33xlQ,8467
103
+ tinyjukebox/spotify/sound.py,sha256=9rg1CaomM9NeRu7wSBdkpQW90x02XveyWKiwIVhpwUI,12597
104
+ tinyjukebox/stm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
105
+ tinyjukebox/stm/base.py,sha256=Tq2cMNIxRSzMKosq219qFeIG2-RGDgXdKs0hipFDOjQ,6976
106
+ tinyjukebox/stm/playradio.py,sha256=1Nj4hCCDEZEAlm9FG1t0rqUUr4SF3whlBL1A7VJEV90,9668
107
+ tinyjukebox/stm/playspotify.py,sha256=4tv46m1MFPSSTcVNVuQFQhCp68R2cCSOwfEhr-tsBF0,16454
108
+ tinyjukebox/stm/stmoperation.py,sha256=YuiDkqVuNbO5dytp9UpAq5vCbYomOYb83LUPY6jUJvQ,34428
109
+ tinyjukebox/stm/stmplayalbum.py,sha256=1Cpm5bluCyMguPattFGe2VhvvGcwrUMMIZyhl68R48o,29472
110
+ tinyjukebox/stm/stmvolume.py,sha256=jUgT88hb-mScrOOhV5FU63X67Xjhs-9HaVKSIhzxCgM,8647
111
+ tinyjukebox/sync/__init__.py,sha256=YHuEsZo3WOjcpjsKP3KcrMW4aGz2Qjdvev2X9pFAK44,1653
112
+ tinyjukebox/sync/box.py,sha256=OmgFM5nIq-Q6gzmmK9ZXI8i8drQPXQwfDPOnrZb-YIs,23874
113
+ tinyjukebox/sync/client.py,sha256=L2fvNIdh0GaqdKAOeI8rId2en0c2bSaLnszVBGiq6KI,8572
114
+ tinyjukebox/sync/data.py,sha256=Ri17e5hKwqsutli8YJYK8oCFVmAZt_SpYQqh7nJXsSg,24331
115
+ tinyjukebox/sync/files.py,sha256=NgNPhh-7tWhQVZaG_hnAlenuHuE_GQkSPcu5EHQ8IeQ,22476
116
+ tinyjukebox/sync/handshake.py,sha256=TuZINhmu-1ZhA1f5GZgdHZXaJk2BibLeHaC582iTIAo,1668
117
+ tinyjukebox/sync/link.py,sha256=KgiV_sOwfo2M4gW4oB1P3nIAMWZHAvtpGwGCmFTyJTU,18603
118
+ tinyjukebox/sync/manifest.py,sha256=VzpzLHzotPigkntQSH_YwElf7ONVHgKqWEyaSXc3Mj8,6559
119
+ tinyjukebox/sync/util.py,sha256=IrqhumU4zYEhSl_BDXVWxuZOnVe8qEK2_FkrSQaUwgM,5179
120
+ tinyjukebox/tools/__init__.py,sha256=jmtgWkFyeLLeohBzSQsHpvPRTCheqDH0OoFIIXe6bs0,50
121
+ tinyjukebox/tools/backup.py,sha256=GzwIeZHuDyrjLRP2_i-QnjeKuis4ZU9GQE9tBWjs_sk,8875
122
+ tinyjukebox/tools/fill_library.py,sha256=ePtx02sYWIXnNypMu7XNpwVpF7ucRWaVkJDvJN91TzE,6233
123
+ tinyjukebox/tools/import_cards.py,sha256=Vjiw5aWADDoCt9lIQam9oZX8iG7ed84T-6JKsQE3yyk,10693
124
+ tinyjukebox/tools/import_covers.py,sha256=P98b6Df2itrW3oyLvdVPLFvXp7r2phruPn8e8NQJXKc,6968
125
+ tinyjukebox/tools/migrate_box01.py,sha256=ZkY8vYBMiKTmxYN1R_pUbMSN9a9KpFmJCLuf9xSyfOk,6720
126
+ tinyjukebox/web/__init__.py,sha256=wjX3I6IlsOksGhNvUNXN2ytvkN_TMNeb1fGcbzWlhEo,120
127
+ tinyjukebox/web/auth.py,sha256=X0VOrf3XPTfQbDUjCHfwvIv62Clz0kwZY76SRio7sc4,14986
128
+ tinyjukebox/web/certificates.py,sha256=bCz8Dnf0aSvgS9k813xqWoJCKwAN-VczOxwhu7DL40s,4071
129
+ tinyjukebox/web/logbuffer.py,sha256=Ph69bnLIEbgcmnbZA8qcTdOI3dOYdkHoSEZ3x0jvavY,2411
130
+ tinyjukebox/web/server.py,sha256=Mat8nYIm994zDM0-elF44eUBOWaozL6626u8i1Xfr_I,58773
131
+ tinyjukebox/web/uploads.py,sha256=EQVtRuzeOCKBksAKtOtotTWUtzE3L-SKJuiWqB0Ooe8,12099
132
+ tinyjukebox/web/users.py,sha256=Ik_cObq9NyRktD7EiwRoDZeTB3y0CjWoawP6J3Y0_ak,4354
133
+ tinyjukebox/web/web/app.js,sha256=UYI2W7SF2A7QD3zMHa3XCTyi9sZjeMWXAZXMg3RzHfc,140558
134
+ tinyjukebox/web/web/favicon.svg,sha256=qv5jqlXJ-R1FpOAtbyOh7owICn9mzUIsdHpPEqpKhmg,570
135
+ tinyjukebox/web/web/index.html,sha256=LxZLD6_JyN6rFZO-NeK92me1KtI8fw9c_UPma2unH1E,47098
136
+ tinyjukebox/web/web/style.css,sha256=PDzoXVT-PGukdQPEMCYveFlfzwsjLZTbl4jx_A9xtH0,21257
137
+ tinyjukebox/web/web/help/help.css,sha256=8CB5-4hQbVMM24wNB3HFciyQJS7hWFInfzRs-Sf2wwk,1901
138
+ tinyjukebox/web/web/help/de/admin.html,sha256=dfiwG3dMy_KPL7gMl0eIwgcDj3M3gZVih9VBIwLzHSI,41463
139
+ tinyjukebox/web/web/help/de/manual.html,sha256=fWzcmrIzXRsSQs7V-QIdSoUC8A9Ef53Y2aXcVsgXgrc,62727
140
+ tinyjukebox/web/web/help/de/quick-guide.html,sha256=NG_9X7nCJmOFKH08UBY6weMegNb2KY0X1GcWf1VZKtA,4201
141
+ tinyjukebox/web/web/help/en/admin.html,sha256=dJu9GUE8sPvRjGe9K8Po0hq0zagEcixA4ThNHWyiaY0,38730
142
+ tinyjukebox/web/web/help/en/manual.html,sha256=avJGjIzG1HXbXFGeIlcFw6czylFvKURhioapm4VNAmI,57750
143
+ tinyjukebox/web/web/help/en/quick-guide.html,sha256=GtXByqt7Cn1kwz6Sq_qMwho7-AJiTTX-8PyEdw-NsTk,4064
144
+ tinyjukebox/web/web/help/images/box-2026.jpg,sha256=HVv51DRDtW0UNIphJtHyJIT84szAlb0R7pFixHDhmqo,47050
145
+ tinyjukebox/web/web/help/images/box-back.jpg,sha256=n9aAb_EcFMBfkYXONAVwlxwU8T2NRKbvW2Mq84ciHYc,38865
146
+ tinyjukebox/web/web/help/images/lid-top.jpg,sha256=ppZixg_orAjY8eF3pbq0EiCk2uEtM-sBIodVSm78OME,85112
147
+ tinyjukebox/web/web/help/images/logo-mark.svg,sha256=G2JrjdTYZG8qcSb-I_nywFkYoZ8oxC9jokftEwy9WmA,28730
148
+ tinyjukebox/web/web/texts/de.json,sha256=yDqiTjkfdY9rtnUqltGzvGgeKmgZyumwelbKfxK3-sY,54536
149
+ tinyjukebox/web/web/texts/en.json,sha256=KQCrEhqqJXxzVO_t8-F-DHrld0ZCWuLi_QF4F83KfWU,51350
150
+ tinyjukebox-0.47.0.dist-info/METADATA,sha256=_QqHhRBAq82HKu5q-pwAgCU9t_kyDpRjy6Hk_pnvmew,18531
151
+ tinyjukebox-0.47.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
152
+ tinyjukebox-0.47.0.dist-info/entry_points.txt,sha256=7u8oUXbiopORm4sNEHoyp3GNhHuBY0eA0JRWA5RCi1A,473
153
+ tinyjukebox-0.47.0.dist-info/licenses/LICENSE.txt,sha256=hRA2l4nple3PBubNWxQ7VfZXs2FRDU5DYMxzkqags6I,1097
154
+ tinyjukebox-0.47.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.33.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,9 @@
1
+ [console_scripts]
2
+ tinyjukebox = tinyjukebox.tinyjukebox:standalone
3
+ tinyjukebox-backup = tinyjukebox.tools.backup:main
4
+ tinyjukebox-fill-library = tinyjukebox.tools.fill_library:main
5
+ tinyjukebox-import-cards = tinyjukebox.tools.import_cards:main
6
+ tinyjukebox-import-covers = tinyjukebox.tools.import_covers:main
7
+ tinyjukebox-library = tinyjukebox.library.service:main
8
+ tinyjukebox-migrate-01 = tinyjukebox.tools.migrate_box01:main
9
+ tinyjukebox-users = tinyjukebox.web.users:main
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2018 Tobias Gawron-Deutsch
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.