Pandora Caster v2.2

Update released.
Download here.

This update fixes a lot of niggling things that have been left for too long, as well as cleaning up after the API change. Several files in ./www were renamed to conform to guidelines and such.

Major bits:

Fixed extra | in header – was a bug regarding break/continue in mixed html/ssi loops
Ncalc is now used for the expression engine. Full functionality under mono should be restored.
Feeder loop now cycles faster.
Should now function under wine with .net 2.0
Proxy may be a hostname now
Updated to use unified error handling from client.
API errors will be reported, again.
Bump to v2.2

Changes in math bits:

All variables with a . have the . replaced with _ in the context of the expression engine.

var LIKE “wildcardexp” -> like(“wildcardexp”,var)
station.shared -> station_shared

All casts have been removed as they were never neccisary for anything.

Bitwise operations are now supported natively: & (bitwise and), | (bitwise or), ^(bitwise xor), << (left shift), >>(right shift), !, not, -, ~ (bitwise not)

2 thoughts on “Pandora Caster v2.2

  1. Oddness being that I get an error trying to auth on my test machine:

    PID: 3216
    Web dir: C:\Users\Harry\Downloads\pandoracaster\www\
    Please log in to pandora.
    Email: htwiz2002@gmail.com
    Password:
    Pandora: Logging in...
    Pandora: -§←↑1337807081☻☻
    Pandora: Authenticating...
    Pandora: RPC: auth.userLogin FAILED - System.Security.Authentication.AuthenticationException: A call to SSPI failed, see
    inner exception. ---> System.ComponentModel.Win32Exception: The message received was unexpected or badly formatted
    --- End of inner exception stack trace ---
    at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Ex
    ception exception)
    at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncReq
    uest)
    at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncReq
    uest)
    at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncReq
    uest)
    at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRe
    quest)
    at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
    at System.Net.Security.SslStream.AuthenticateAsClient(String targetHost, X509CertificateCollection clientCertificates
    , SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation)
    at System.Net.Security.SslStream.AuthenticateAsClient(String targetHost)
    at HttpRequest.GetResponseInternal(HttpChunkedReadCallback callback) in E:\Codin' Projects\Saver Project\Client\HttpR
    equest\HttpRequest.cs:line 667
    at HttpRequest.GetResponse() in E:\Codin' Projects\Saver Project\Client\HttpRequest\HttpRequest.cs:line 407
    at Caster.Pandora.JSONReq(JObject request, String method, Boolean defparams, Boolean crypt, Boolean secure) in E:\Cod
    in' Projects\Saver Project\Caster\Pandora\Pandora.RPC.cs:line 276
    Pandora: Auth failure ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Caster.Pandora.DoAuth() in E:\Codin' Projects\Saver Project\Caster\Pandora\Pandora.JSON.cs:line 366
    at Caster.Pandora.Auth() in E:\Codin' Projects\Saver Project\Caster\Pandora\Pandora.JSON.cs:line 308

    PandoraCaster exiting.

    That response string looks mighty fishy… I’m going to try it on the server next, but I thought to let you know here in case anyone else went perusing. 😉

  2. This error is caused by using windows 8. Something is fundamentally wrong with the OS; there is nothing I can do to fix it.

Leave a Reply

Your email address will not be published. Required fields are marked *