From 884842ad304cf70ce8d210bd4837554344190109 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 20 May 2019 05:22:48 +0200 Subject: [PATCH] Create message queue warnings when YouTube/Twitch keys are not filled in. --- record/record_driver.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/record/record_driver.c b/record/record_driver.c index 3b3752bb0a..7bd49fc52b 100644 --- a/record/record_driver.c +++ b/record/record_driver.c @@ -550,8 +550,10 @@ void recording_driver_update_streaming_url(void) "%s%s", twitch_url, settings->arrays.twitch_stream_key); else { - /* To-Do: Show input box for twitch_stream_key*/ - RARCH_LOG("[recording] twitch streaming key empty\n"); + runloop_msg_queue_push( + "Twitch streaming key empty. You need to fill this in before streaming will work.", + 2, 180, false, + NULL, MESSAGE_QUEUE_ICON_DEFAULT, MESSAGE_QUEUE_CATEGORY_WARNING); } break; } @@ -564,8 +566,10 @@ void recording_driver_update_streaming_url(void) } else { - /* To-Do: Show input box for youtube_stream_key*/ - RARCH_LOG("[recording] youtube streaming key empty\n"); + runloop_msg_queue_push( + "YouTube streaming key empty. You need to fill this in before streaming will work.", + 2, 180, false, + NULL, MESSAGE_QUEUE_ICON_DEFAULT, MESSAGE_QUEUE_CATEGORY_WARNING); } break; }