Is this called on a set item?  If so you have item->GetVideoInfoTag()->m_iDbId available to you.