/* Music player callback to get the current song path.  */
static const char* get_current_song_path(void *arg_p)
/* Music player callback to get the current song path.  */
static const char* get_current_song_path(void *arg_p)
{
    struct song_t *song_p;
    sem_take(&sem, NULL);
    song_p = hash_map_get(&song_map, current_song);
    sem_give(&sem, 1);
    return (song_p->name);
}