Mopidy-WebM3U
Mopidy extension for reading M3U playlists from an HTTP server.
For example it allows you to browse and listen to the playlists within your Beets library that have been generated by Beets’ smartplaylist plugin and served by the beets-webm3u plugin (on another machine) within Mopidy.
This extension does not support manipulating playlists.
Installation
Install by running:
sudo pip install Mopidy-WebM3U
Configuration
Before starting Mopidy, you must configure it as follows, enabling the webm3u extension and specifying the URL to the M3U playlist of playlists:
[m3u] enabled = false [webm3u] enabled = true seed_m3u = http://beets:8337/playlists/index.m3u uri_scheme = m3u
(Mopidy’s built-in m3u extension must be disabled in order to be able to use the m3u URI scheme with the webm3u extension which is required to make playlists show up within the Iris web GUI, see here.)
The playlist of playlists URL specified by the seed_m3u option is expected to return an EXTM3U-formatted list of tagged *.m3u HTTP URLs, e.g.:
#EXTM3U #EXTINF:0,Playlist 1 http://localhost:8337/playlists/playlist1.m3u #EXTINF:0,Playlist 2 http://localhost:8337/playlists/playlist2.m3u
Development
First make sure an example M3U playlist of playlists is served at http://localhost:8337/m3u/playlists/index.m3u, e.g. by running the beets-webm3u development server.
Then you can run a mopidy container with the extension installed (including your local changes) as follows (requires docker):
make run
Once Mopidy started, you can browse the playlists within the Iris UI at http://localhost:6680/iris/library/playlists.
Metadata
Release files for Mopidy-WebM3U 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Mopidy_WebM3U-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for Mopidy_WebM3U-0.1.3-py3-none-any.whl |
Release files / Mopidy_WebM3U-0.1.3-py3-none-any.whl
| Download URL | Mopidy_WebM3U-0.1.3-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e9d21f888f64c67b4b1128fe09887ac93517a5cc79ebcaa13ae7a8e44b4d804
|
|
BLAKE2b-256 checksum How to use checksums |
782ff7bbe704dcd64b96ab8c589a0d7bb9b2fc44dfeacac833ec14a3257242fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for Mopidy-WebM3U 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.