#14 Patch for plot keywords into xmltv format

0.5.65
closed-fixed
Ed Avis
XMLTV.pm (2)
5
2014-05-02
2005-02-14
Eric Moors
No

I've been adding some code to add plot keywords from the IMDB
database to the xmltv. I've chosen the format

<keyword>SOME-KEYWORD</keyword>
<keyword>SOME-OTHER-KEYWORD</keyword>

I think the patch could also be usefull to others, so I figured I submit
it here.

The patch modifies:

filter/tv_imdb
filter/Grep.pm
lib/IMDB.pm
lib/XMLTV.pm.in

and has some informational additions to

ChangeLog
Makefile.PL
README

Eric

Discussion

  • Eric Moors

    Eric Moors - 2005-02-14

    keywords patch for xmltv

     
  • Eric Moors

    Eric Moors - 2005-02-21
    • assigned_to: nobody --> epaepa
     
  • Nick Morrott

    Nick Morrott - 2010-03-09
    • labels: --> XMLTV.pm
     
  • Geoff

    Geoff - 2014-05-02

    Thanks for the patch. Done in version 1.61 (XMLTV 0.5.65). Note they are not plot keywords as such, but simply keywords.

    I'm not impressed with the quality of the keywords dataset. There doesn't seem to be any constraints to it but can be anything which people care to dream up

    e.g.
    Don't Push, I'll Charge When I'm Ready (1977) (TV)
    apostrophe-in-title,contraction-in-title,prisoner-of-war,punctuation-in-title,world-war-two

    Project V.I.P.E.R. (2002)
    alien,basement,blood,cancer,canister,car-chase,car-trouble,creation,deputy,doctor,earth,experiment-gone-wrong,explosion,false-identity,flashlight,fuse-box,government-agency,gun,helicopter,house,jailhouse,jeep,mine,monster,mutation,nasa,part-computer-animation,plane,police-officer-killed,sewer,shapeshifting,sheriff,shotgun,silencer,small-town,space,space-shuttle,stabbed-in-the-back,suitcase,switch,tape-recorder,team,thumb,time-bomb,two-word-title,water

    But I suppose somebody might find a use for them.

    To avoid bloating your IMDb database if you don't want them I've made the keywords crunch optional, so just skip this stage if you don't want them at all.

    I've also switched them off by default in the augmentation - use "--with-keywords" to output them. E.g.

    tv_imdb  --imdbdir /IMDB  --with-keywords  --output out.xml  in.xml
    
     
  • Geoff

    Geoff - 2014-05-02
    • status: open --> closed-fixed
    • Group: --> 0.5.65
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks