Add auto refresh support

This commit is contained in:
Daniel Schulte 2020-12-02 23:13:57 +01:00
parent 89f7d320b0
commit 1502d70cc9
3 changed files with 35 additions and 10 deletions

View file

@ -9,5 +9,6 @@
"channelNewVideoCommand": ["notify-send", "--app-name", "yttui", "New video from {{channelName}}", "{{videoTitle}}"],
"channelNewVideosCommand": ["notify-send", "--app-name", "yttui", "New videos from {{channelName}}", "There are {{newVideos}} new videos."],
"channelsNewVideosCommand": ["notify-send", "--app-name", "yttui", "New videos from multiple channels", "There are {{newVideos}} new videos from {{updatedChannels}} channels."]
}
},
"autoRefreshInterval": 3600
}