rocky4546 / script.xmltv.tvheadend

scripts for generating xmltv.xml file supporting tvheadend genres
GNU General Public License v3.0
8 stars 2 forks source link

Category-Filter Warnings #2

Open ClayGlenn opened 6 years ago

ClayGlenn commented 6 years ago

Since upgrading to the category-filter 2.0, I am getting LOTS of Warnings in my log file, like this: ... Writing XML file: /home/pi/xmltv/xmltv_default.xml Completed in 349s (Parse: 337s) 11 stations, 2549 programs, 4822 scheduled. Reading XML file Parsing Sections Pass 1 complete Updating Genre Warning: Unmanaged category #1: 'en:Entertainment' Warning: Unmanaged category #1: 'en:Law' Warning: Unmanaged category #1: 'en:Law' Warning: Unmanaged category #1: 'en:Newsmagazine' Warning: Unmanaged category #1: 'en:Entertainment' Warning: Unmanaged category #1: 'en:Newsmagazine' Warning: Unmanaged category #1: 'en:Family' Warning: Unmanaged category #1: 'en:Science' Warning: Unmanaged category #1: 'en:Entertainment' Warning: Unmanaged category #1: 'en:Newsmagazine' Warning: Unmanaged category #1: 'en:Law' Warning: Unmanaged category #1: 'en:Newsmagazine' Warning: Unmanaged category #1: 'en:Law' ..... Thousands more lines here ..... Warning: Unmanaged category #1: 'en:Law' Warning: Unmanaged category #1: 'en:Comedydrama' SUCCESS:: New xmltv.xml file generated

Did I miss something on my end when I updated the filter?

ClayGlenn commented 6 years ago

After updating the scripts, I just have one warning type left: Warning: Unmanaged category #1: 'en:Family' It appears several hundred times in my log file. Is there a way for me to fix this?

jobrien2001 commented 6 years ago

Add it to the array in category-filter.pl and issue it one of the variables were you see it fits.