[mythtv-users] How is SeriesID field in programs table calculated?

Nick Morrott knowledgejunkie at gmail.com
Mon Feb 5 21:11:29 UTC 2007


On 05/02/07, nospam312 <nospam312 at gmail.com> wrote:
> > During a mythfilldatabase run, it is hashed from the title text if it
> > doesn't exist for that title.
>
> Do you know what algorithm is used?

xmltvparser.cpp:        if (seriesid.isEmpty()) //need to hash ourself
a seriesid from the title
xmltvparser.cpp:            seriesid = QString::number(ELFHash(pginfo->title));

Nick
-- 
MythTV Official wiki:
http://mythtv.org/wiki/
MythTV users list archive:
http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin


More information about the mythtv-users mailing list