Some bugfixes/enhancements
- python playlist handler fix
- shoutcast metadata update fix to use with recent libshout3
- timestamps in logs
Of course. That's just text logging. You can use any format you like.
On Mon, Sep 7, 2020, 21:34 AlphaJack [email protected] wrote:
@AlphaJack commented on this pull request.
In src/log.c https://github.com/Moonbase59/ices0/pull/4#discussion_r484541994:
@@ -140,16 +141,23 @@ char *ices_log_get_error(void) {
/* Function to log string to both console and file */ static void ices_log_string(char *format, char *string) {
- time_t t = time(NULL);
- char tstr[48];
- strftime(tstr, sizeof(tstr), "%Y.%m.%d %H:%M:%S", localtime(&t));
Is it possible to use hyphens in timestamps and use a different timestamp separator (no 4th colon)? The final result could be like this:
2020-09-07 20:21:22 - Playing /path/to/track1 2020-09-07 20:23:22 - Playing /path/to/track2
At the moment it's more like this:
2020.09.07 20:21:22: Playing /path/to/track1 2020.09.07 20:23:22: Playing /path/to/track2
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Moonbase59/ices0/pull/4#pullrequestreview-483686088, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4RAJ47BQDQZZ4JINLAFMDSEURSFANCNFSM4NEPRRXA .