Compare commits
2 commits
5622cbd553
...
6c707775a6
Author | SHA1 | Date | |
---|---|---|---|
6c707775a6 | |||
bf1e3a106a |
2 changed files with 6 additions and 3 deletions
|
@ -31,7 +31,7 @@ AudioFormat = ogg
|
|||
Order = relevance
|
||||
|
||||
# Choose if you want to play vocal or instrumental music: vocal, instrumental (remove setting if not relevant)
|
||||
VocalInstrumental = instrumental
|
||||
;VocalInstrumental = instrumental
|
||||
|
||||
# Set the speed of music you like: verylow, low, medium, high, veryhigh (remove setting if not relevant)
|
||||
;Speed = low
|
|
@ -1,4 +1,5 @@
|
|||
|
||||
import os
|
||||
from lib.renderer import Renderer
|
||||
from PIL import Image, ImageDraw, ImageFont, ImageFile
|
||||
|
||||
|
@ -41,4 +42,6 @@ class PNG_Renderer(Renderer):
|
|||
draw.text((text_x,artist_y), artist, font=artist_font, fill='#' + self._config['TitleFontColor'])
|
||||
draw.text((text_x,album_y), album, font=album_font, fill='#' + self._config['TitleFontColor'])
|
||||
|
||||
image.save(self._config['OutputPath'])
|
||||
# Write file and then move it in position
|
||||
image.save(self._config['OutputPath'] + '.part', 'PNG')
|
||||
os.replace(self._config['OutputPath'] + '.part', self._config['OutputPath'])
|
Loading…
Reference in a new issue