Read the statement by Michael Teeuw here.
XKCD not updating
-
So I’ve tried both the DailyXKCD and MMM-XKCD but I can’t get either to update. They will refresh if I restart MM though.
This is my current extract: -module: 'DailyXKCD', position: 'top_right', config: { updateInterval: 3600000, grayScale: false, invertColors: true, limitComicWidth: 400, limitComicHeight: 0, randomComic: true, showTitle: true, }
Any ideas please?
-
@ruskythegreat according to the site they add a new image 3 times a WEEK, Monday, Wednesday, Friday
-
@sdetweil Yup, there’s an option in both modules.
In DailyXKCD:
randomComic Set to true, if you want to see a random comic on days, when there is no new comic.In MMM-XKCD there’s also an alwaysRandom option:
randomComic bool false Display a random comic, where no new comic is available.
alwaysRandom bool false If you always want to see a random comic, even on days where a new comic is available. Note: Only effective if randomComic is set to true.I’m currently running DailyXKCD, so If I’m reading that right, my config has updateInterval set to 3600000 which is 1h, I should get a new comic every hour (for testing!).
-
@ruskythegreat no idea really… code looks ok… there is a small timing problem on startup, but
open the developers window, ctrl-shift-i, select the tab labeled console, and put a unique part of the module name in the filter field (xkcd)
see if there are any errors reported
i did what the node_helper does to get an image, and it looks good…