Menu

Importer for Boss-Media-client

Starfox
2009-07-04
2012-12-06
  • Starfox

    Starfox - 2009-07-04

    Hi, just found fpdb and as I never had anything to do with python I have a question:
    Is there a guide how to write an Importer for other sites?
    The site uses a BossMedia client and the handhistories are stored in XML files, so I think it wouldn't be that hard to get an importer/parser together.
    Example: http://www.pastebin.ca/1483881

     
    • Carl G

      Carl G - 2009-07-05

      Hi Starfox,

      Take a look at the pages from http://fpdb.wiki.sourceforge.net/Developers - the new import framework is specifically designed to allow many more sites to be included.

      Having said that we haven't done one for an xml format hand history yet.

      Take a look at the latest git, looking at HandHistoryConverter.py Hand.py and any of the files *ToFpdb.py (Stars and Full Tilt are the most complete)

       
    • Starfox

      Starfox - 2009-07-06

      Ok, I'll have a look, thanks :)

       
    • Starfox

      Starfox - 2009-07-09

      There is no support for PartyPoker HH format either?
      Probably no way around HEM for me then.
      Thanks for the help anyway.

       
    • Starfox

      Starfox - 2009-07-10

      Ok, I managed to force myself a bit into python.
      At the moment I have it to take a history like this
      http://www.pastebin.ca/1490652
      and in CLI the toFpdb.py -i xxxx.xml
      prints this http://www.pastebin.ca/1490653
      Only problem is that the histories don't include any information on the button, so it will need some magic in readButton.
      Took me an hour or two to get used to how python handles regex, sets etc.

       
    • Carl G

      Carl G - 2009-07-11

      Cool. Forward the code on to the mailing list and i'll make sure it gets included.

       
    • Starfox

      Starfox - 2009-07-12

      Ok, but I have to say that I started with PokerStarstoFpdb because I really have no clue how to handle xml :-(
      I also managed to get the button seat# by retrieving the name of the last player that gets cards dealt to.

       
    • Starfox

      Starfox - 2009-07-13

      Your mail to 'Fpdb-main' with the subject

         Importer for BossMedia clients (File attached)

      Is being held until the list moderator can review it for approval.

      The reason it is being held:

         Post by non-member to a members-only list

      Say if you need some example history files

       
    • Carl G

      Carl G - 2009-07-13

      Steffen has released it now, and i've added the client to my tree (http://trac-git.assembla.com/fpdboz/changeset/79d0ba35b0294782567dfa3648bd7f5d4bde616c)

      If you could email me a couple of additional HH files at carl dot gherardi at gmail.com that would be great. We dont publish the files publicly.

      Which poker rooms does this cover out of curiosity? I'd never heard of Win2day before, and Boss Media appears to write software for at least a couple of sites.

      Also - is the HUD working for you yet?

       
    • Starfox

      Starfox - 2009-07-14

      No clue if the HUD works, but I don't think so.
      Win2day is the official pokerroom of the austrian casinos. But it would probably work for all BossMedia written handhistories I think. I mailed you a few sessionXXX.xml files.
      I hope this helps so i can directly import the files into the database without converting them.

       

Log in to post a comment.