Skip to content

Some bugfixes/enhancements#4

Open
nightgryphon wants to merge 3 commits intoMoonbase59:masterfrom
nightgryphon:master
Open

Some bugfixes/enhancements#4
nightgryphon wants to merge 3 commits intoMoonbase59:masterfrom
nightgryphon:master

Conversation

@nightgryphon
Copy link

  • python playlist handler fix
  • shoutcast metadata update fix to use with recent libshout3
  • timestamps in logs

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));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@nightgryphon
Copy link
Author

nightgryphon commented Sep 7, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants