Jump to content

api/timerlist.html XML Executeable und Recording ist -1?


Bingo99

Recommended Posts

Hallo,

 

Ich bin gerade dabei den Media Server 2.0.4.0 über XML auszulesen. Dabei ist mir folgendes aufgefallen:

 

Bei laufender Aufnahme:

<Executeable>-1</Executeable>
<Recording>-1</Recording>

Bei geplanter Aufnahme:

<Executeable>-1</Executeable>
<Recording>0</Recording>

Wenn ich das wiki mal zitieren darf:

Zitat

<Executeable>0</Executeable>

conflict with different timer, not enough capability hardware, timer are marked red in the web interface. This is only a rough prediction. Which timers exactly are defected can change at recording time.

But if all timers are marked as executable, all recordings shroud bi fine.


<Recording>1</Recording>

The recording is currently running.

 

Es spielt keine Rolle ob utf8=1 oder utf8=2.

 

Gibts da ne schnelle Lösung für? Ich habe keine Lust erst auf ein Update zu warten und später noch mein Code anpassen zu müssen. :)

 

Schöne Grüsse

 

 

 

 

 

 

 

Edited by Bingo99
Link to comment

Ganz einfach: Das sind Boolesche Variablen. 0 bedeutet false, jeder andere Wert true. -1 entspricht einem hexadezimalen 32-Bit-Wert von 0xFFFFFFFF (alle Bits gesetzt).

 

Das Wiki ist in der Hinsicht leider nicht besonders präzise. ;)

 

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...