Jump to content

/api/timerlist.html liefert ungültige XML-Datei


Recommended Posts

Das ist ja super genial. /api/timerlist.html liefert in jedem Datensatz zwei ID-Tags mit unterschiedlichem Inhalt. Mein XML-Parser nimmt den ersten und damit habe ich keine Change, an die richtige ID zum Löschen von Timer-Einträgen ranzukommen.

 

Der erste ID-Tag entält: "{2CA39223-5063-437F-A43B-81638C933543}"

Der zweite ID-Tag enthält: 188

 

Das war's dann mal wieder mit meinen API-Versuchen und wieder ein Projekt für die Tonne. :-(

 

 

<Timer Type="1" ID="{2CA39223-5063-437F-A43B-81638C933543}" Enabled="-1" Priority="50" Charset="255" Date="04.10.2011" Start="15:50:00" Dur="55" End="16:45:00" Action="0">
     <Descr>heute - in Europa</Descr>
     <Options AdjustPAT="-1"/>
     <Format>2</Format>
     <Folder>Auto</Folder>
     <NameScheme>%date_%time_%station_%name</NameScheme>
     <Source>API</Source>
     <Channel ID="2305847644565040486|ZDF"/>
     <Executeable>-1</Executeable>
     <Recording>0</Recording>
     <ID>188</ID>
     <GUID>{2CA39223-5063-437F-A43B-81638C933543}</GUID>
</Timer>

 

EDIT: Ok, mit dem halbautomatischen XML-Parser von Actionscript komme ich jetzt an den richtigen Tag ran. Ist halt unnötig aufwändig.

 

Jetzt würde mich noch der Unterschied zwischen Enabled und Executeable interessieren.

Edited by dgdg
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...