youtube url when played doesn't appear in stream history
media is played using something like this
ml_unique_ptr<vlc_ml_media_t> s{vlc_ml_get_media_by_mrl( m_ml, qtu( url ))};
if (!s) {
s.reset(vlc_ml_new_stream( m_ml, qtu( url ) ));
}
if (!s)
return;
MLParentId itemId( s->i_id, VLC_ML_PARENT_UNKNOWN );
m_mediaLib->addAndPlay(itemId);
here url contains youtube url
media starts and plays correctly but the URL does not appear in subsequent calls of MediaLibrary::streamHistory()
.