Last active 1765754500

Platypush configuration for a Termux setup on Android with a local Mopidy music server and support for notifications and music commands over ntfy

Revision 3cc9e6fd0014351274582b1dbaf0027726aa8568

config.yaml Raw
1#!~/.config/platypush/config.yaml
2
3# Platypush configuration file for Termux Mopidy Notifier
4
5# A name for your device
6device_id: phone
7
8# Enable the Web server
9backend.http:
10 # port: 8008
11 # Reduce the number of workers to avoid phantom process SIGKILL
12 # See https://ivonblog.com/en-us/posts/fix-termux-signal9-error/
13 num_workers: 1
14
15ntfy:
16 # Uncomment and set your custom server URL if you're using a self-hosted ntfy server
17 # Otherwise, the default public server (https://ntfy.sh) will be used.
18 # server_url: https://your-ntfy-server.com
19 subscriptions:
20 # Subscribe to the topic where music commands will be sent
21 - music-commands-<your-unique-id>
22
23music.mopidy:
24 host: localhost
25 # port: 6680
26
27# Optional, if you also want to enable the MPD interface.
28# The MPD interface provides better compatibility with MPD clients,
29# but it will process events slower than the Mopidy interface
30# (Mopidy dispatches events over WebSocket, while MPD clients poll for
31# changes).
32# Keep in mind that, on a mobile device, the MPD interface may consume more
33# battery.
34#
35# music.mpd:
36# host: localhost
37# # port: 6600
38# poll_interval: 20.0