Skip to content

ralfstx/mopidy-kitchen

Repository files navigation

Mopidy-Kitchen

Latest PyPI version

CircleCI build status

Test coverage

Mopidy extension for my Kitchen radio. Discovers albums in the local filesystem based on index files. Each album should be a directory that includes an index.json file that lists the contents and metadata of this album.

Album index files should look like this example:

{
    "name": "John Doe - Another Dreadful Day",
    "artist": "John Doe",
    "title": "Another Dreadful Day",
    "discs": [{
        "path": "01",
        "tracks": [{
            "path": "01.ogg",
            "title": "Another Dreadful Morning",
            "length": 101
        }]
    }, {
        "path": "02",
        "tracks": [{
            "path": "01.ogg",
            "title": "Another Dreadful Afternoon",
            "length": 202
        }, {
            "path": "02.ogg",
            "title": "Another Dreadful Evening",
            "length": 303
        }]
    }]
}

Album covers are expected in a file named cover.jpg in the album directory.

Radio stations are also supported, they must be declared in a file station.json, each station in a separate directory.

Radio station files should look like this example:

{
    "name": "Radio One",
    "stream": "https://radio-one.com/stream"
}

Installation

Not yet published. Build the extension by running:

python setup.py sdist

Install by running:

python3 -m pip install dist/Mopidy-Kitchen-0.1.0.tar.gz

See https://mopidy.com/ext/kitchen/ for alternative installation methods.

Configuration

Before starting Mopidy, you must add configuration for Mopidy-Kitchen to your Mopidy configuration file:

[kitchen]
media_dir = /path/to/your/music/archive

Project resources

Credits

About

Mopidy extension for my Kitchen radio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published