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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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)
Ok, I'll have a look, thanks :)
There is no support for PartyPoker HH format either?
Probably no way around HEM for me then.
Thanks for the help anyway.
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.
Cool. Forward the code on to the mailing list and i'll make sure it gets included.
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.
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
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?
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.