hmmlconv.c: Convert to new [video] format
hmml_to_html.c: Remove special-casing of handmade_hero quotes [#20]
This commit is contained in:
parent
0aa204c042
commit
ad9d64b31c
|
@ -208,7 +208,7 @@ CopyStringToBuffer(buffer *Dest, char *Format, ...)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "CopyStringToBuffer: %s cannot accommodate %d-character string:\n"
|
fprintf(stderr, "CopyStringToBuffer: %s cannot accommodate %d-character string:\n"
|
||||||
"\n"
|
"\n"
|
||||||
"%.*s\n", Dest->ID, Length, Length, Format);
|
"%s\n", Dest->ID, Length, Format);
|
||||||
__asm__("int3");
|
__asm__("int3");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -765,10 +765,6 @@ BuildQuote(quote_info *Info, char *Speaker, int ID)
|
||||||
// Also notable that there are different paths for different projects
|
// Also notable that there are different paths for different projects
|
||||||
|
|
||||||
char *QuoteDir = "/home/matt/git/GitHub/insofaras/25fc16d58a297a486334";
|
char *QuoteDir = "/home/matt/git/GitHub/insofaras/25fc16d58a297a486334";
|
||||||
if(!StringsDiffer(Speaker, "handmade_hero"))
|
|
||||||
{
|
|
||||||
QuoteDir = "/home/matt/git/GitHub/Chronister/01e754a09fd84c839ad7";
|
|
||||||
}
|
|
||||||
|
|
||||||
char Path[255] = {0};
|
char Path[255] = {0};
|
||||||
sprintf(Path, "%s/#%s", QuoteDir, Speaker);
|
sprintf(Path, "%s/#%s", QuoteDir, Speaker);
|
||||||
|
|
|
@ -450,7 +450,7 @@ int ProcessFile(char *InFileName, FILE *InFile, FILE *OutFile)
|
||||||
}
|
}
|
||||||
else if(strncmp(LinePtr, "markers:", 8) == 0)
|
else if(strncmp(LinePtr, "markers:", 8) == 0)
|
||||||
{
|
{
|
||||||
fprintf(OutFile, "[video member=cmuratori project=hero twitch_username=handmade_hero title=\"%s\" platform=youtube id=%s annotator=Miblo]\n", Title, VideoID);
|
fprintf(OutFile, "[video member=cmuratori stream_platform=twitch stream_username=handmade_hero project=hero title=\"%s\" vod_platform=youtube id=%s annotator=Miblo]\n", Title, VideoID);
|
||||||
State = STATE_MARKERS;
|
State = STATE_MARKERS;
|
||||||
}
|
}
|
||||||
} break;
|
} break;
|
||||||
|
|
Loading…
Reference in New Issue