Bingo99 Posted December 22, 2017 Share Posted December 22, 2017 (edited) 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 December 22, 2017 by Bingo99 Quote Link to comment
Griga Posted December 23, 2017 Share Posted December 23, 2017 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. Quote Link to comment
Bingo99 Posted December 27, 2017 Author Share Posted December 27, 2017 OK danke. Das macht sinn Hab es in meinem Script nun in positiv umgewandelt Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.