Create message queue warnings when YouTube/Twitch keys are not

filled in.
This commit is contained in:
twinaphex 2019-05-20 05:22:48 +02:00
parent 961daa2775
commit 884842ad30

View File

@ -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;
}