2008-11-11, 04:56
I am currently developing a couple different scrapers and having an issue with the data being displayed properly in XBMC.
As a quick example: I have thoroughly tested my regex's in regex buddy and the data is correctly located for all tracks on the album. When XBMC imports this data, only every 2-3 tracks show up. Another issue is that regardless of what I put in the <genre> field, nothing is displayed. There are others but they are all similar.
I am happy to provide examples of the XML data I am attempting to parse and the regex's I am using if anyone wants to review. I feel confident I can handle it on my own but I need the tools and knowledge to do so. Mainly I am looking for a way to see what data XBMC is receiving in the buffers and how it is being handled internally.
In the proprietary language I use for touch panel A/V control, I can output the contents of a buffer to either the screen, a file or simply monitor the contents of the buffer in the development environment. I'm sure there must be a way to do this in C++ but I have relatively no knowledge of the language yet so I really need help here. I tried playing with printf but to no avail seeing how I don't know how it works. I also tried playing with the watch list in VC++08 adding the variables I thought data was being stored in but they never seem to populate.
If nothing more a simple example of syntax that I can add to MusicInfoScraper.cpp to be able to see what is really going on would be great. Of course, the more information you are willing to provide, the better. =)
Thanks in advance!!
As a quick example: I have thoroughly tested my regex's in regex buddy and the data is correctly located for all tracks on the album. When XBMC imports this data, only every 2-3 tracks show up. Another issue is that regardless of what I put in the <genre> field, nothing is displayed. There are others but they are all similar.
I am happy to provide examples of the XML data I am attempting to parse and the regex's I am using if anyone wants to review. I feel confident I can handle it on my own but I need the tools and knowledge to do so. Mainly I am looking for a way to see what data XBMC is receiving in the buffers and how it is being handled internally.
In the proprietary language I use for touch panel A/V control, I can output the contents of a buffer to either the screen, a file or simply monitor the contents of the buffer in the development environment. I'm sure there must be a way to do this in C++ but I have relatively no knowledge of the language yet so I really need help here. I tried playing with printf but to no avail seeing how I don't know how it works. I also tried playing with the watch list in VC++08 adding the variables I thought data was being stored in but they never seem to populate.
If nothing more a simple example of syntax that I can add to MusicInfoScraper.cpp to be able to see what is really going on would be great. Of course, the more information you are willing to provide, the better. =)
Thanks in advance!!