1. It's possible. I send a STOP, which shouldn't be an issue, but might be. Comment out the two lines shown below (the if... and result... lines) with # to disable this:
Python:
if playing == False:
#### Make sure we're really stopped
#if state in ["PAUSED","PAUSED_PLAYBACK"]:
#### Wiim Mini won't turn off optical output LED with Pause, so send hard Stop
#### to turn it off so that RME DAC will switch to USB input
#result = await stop_action.async_call(InstanceID=0,Channel="Master")
displaydatetime(True)
else:
2. If anything changes, just ssh in, cd to the wiim directory, and wget the updated script to overwrite:
Code:
wget https://raw.githubusercontent.com/retired-guy/WiiM-Mini-7-1024X600-Waveshare/main/wiim.py
3. Pretty simple. There's an array of fonts set up, you can append another size to it:
Python:
fonts = []
fonts.append( ImageFont.truetype('/usr/share/fonts/truetype/oswald/Oswald-Bold.ttf', 30) )
fonts.append( ImageFont.truetype('/usr/share/fonts/truetype/oswald/Oswald-Light.ttf', 30) )
fonts.append( ImageFont.truetype('/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf', 30) )
fonts.append( ImageFont.truetype('/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf', 144) )
Then change this to your desired font (fonts[4] vs fonts[1]):
Python:
if rate >0 and depth >0:
buf = "%.d bits / %.1f kHz %s" % (depth,rate,bitrate)
draw.text((20,450), buf, tcolor, font=fonts[1])
You might need a narrower font, though.