DavisNT / mopidy-alarmclock

A Mopidy extension for using it as an alarm clock.
https://pypi.org/project/Mopidy-AlarmClock/
Apache License 2.0
40 stars 14 forks source link

Default settings not showing up #15

Closed caffsoul closed 5 years ago

caffsoul commented 5 years ago

Hi,

I have put the below default settings in mopidy.conf (located on mopidy folder) for the alarm but even though they are saved I still get the default ones. Am I doing something wrong?

def_time = 7:30

def_playlist =

def_random = false

def_volume = 18

def_vol_inc_duration = 15

Capture

Awesome app btw. I also want to try putting a default URI for a Radio station I would like to wake up to. I have several streams on musicbox and some of them are terrible for early morning.

DavisNT commented 5 years ago

The lines starting with # character are comments. You need to add something like this to the config file:

[alarmclock]
def_time = 7:30
def_playlist =
def_random = false
def_volume = 18
def_vol_inc_duration = 15

Regarding proper stream for alarm clock, you need to create a playlist with it as the only song, and specify name of the playlist in def_playlist setting.

caffsoul commented 5 years ago

Hehe....thank you! such a newbie mistake. I must be doing something wrong though since I don't see any change on the web interface. I even run mopidy config and the changes are present. Location is: /.config/mopidy/mopidy.conf

[alarmclock] enabled = true def_time = 7:30 def_playlist = def_random = false def_volume = 18 def_vol_inc_duration = 15

I will save the radio stream to a playlist via the Queue option in musicbox.