2011-02-22, 07:41
Hi there. Using Dharma 10.0 on Win7_x64 with Zbox ID40. Great Set!
Currenty Xbmc's WebServer's query "getcurrentlyplaying" returns not so structured output like:
This is neat for visual side, but It's hard work to parse and extract spesific data.
Suggestion:
Can the output be like adding div tags like:
Then the data extracting would be MUCH easier for own purposes.
PHP extract with http://simplehtmldom.sourceforge.net/
thank you.
Currenty Xbmc's WebServer's query "getcurrentlyplaying" returns not so structured output like:
Code:
<li> epidsode: 1
<li> Show title: The pasific.
....
Suggestion:
Can the output be like adding div tags like:
Code:
<div id="episode">1</div>
<div id="Show Title">The Pasific</div>
..
Then the data extracting would be MUCH easier for own purposes.
PHP extract with http://simplehtmldom.sourceforge.net/
Code:
$article->find('div[id=hello]', 0)->plaintext;