Git Product home page Git Product logo

startdust.casparcg.net's People

Contributors

dust63 avatar jcalado avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

startdust.casparcg.net's Issues

Support 2.2 Channel INFO

Info response for INFO 1 or INFO 1-1 returns different XML in latest Casparcg 2.2 or higher:
So it is not compatible with your model when parsing channel or layer info.

<?xml version="1.0" encoding="utf-8"?>
<channel>
   <framerate>50</framerate>
   <framerate>1</framerate>
   <mixer>
      <audio>
         <volume>225050624</volume>
         <volume>217513984</volume>
         <volume>0</volume>
         <volume>0</volume>
         <volume>0</volume>
         <volume>0</volume>
         <volume>0</volume>
         <volume>0</volume>
      </audio>
   </mixer>
   <stage>
      <layer>
         <layer_1>
            <background>
               <producer>empty</producer>
            </background>
            <foreground>
               <file>
                  <clip>0</clip>
                  <clip>30.960000000000001</clip>
                  <name>demo.mpg</name>
                  <path>G:/ONAIR/VIDEA/demo.mpg</path>
                  <streams>
                     <file>
                        <streams_0>
                           <fps>25</fps>
                           <fps>1</fps>
                        </streams_0>
                        <streams_1>
                           <fps>0</fps>
                           <fps>0</fps>
                        </streams_1>
                     </file>
                  </streams>
                  <time>7.7000000000000002</time>
                  <time>30.960000000000001</time>
               </file>
               <loop>true</loop>
               <paused>false</paused>
               <producer>ffmpeg</producer>
            </foreground>
         </layer_1>
      </layer>
   </stage>
</channel>

disable formatting of xml optioin

return xml.ToString()
.Replace("\r\n","")
.Replace("\t", "")
.Replace("\"", "\\\"");

While using the dataCollection to send templateData to my server I noticed that the XML is formatted using whitespace which is not properly parsed by caspar when using DOMparser in js. It would be great if it was somehow possible to set "SaveOptions.DisableFormatting" in the "XElement.ToString()" at the end of the "ToXml()" function.

OSC Event hub broken - missing method

CasparCG Version (to get version send command VERSION)
Version: 2.3.0 6497e78f5 RC

Describe the bug

Using latest alpha versions of nuget packages:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Method not found: 'Void StarDust.CasparCG.net.OSC.IOscListener.add_ListenerStarted(System.EventHandler)'.
   at StarDust.CasparCG.net.OSC.EventHub.CasparCGOscEventsHub..ctor(IOscListener casparCgOscListener)

To Reproduce
Steps to reproduce the behavior:

  1. Use the provided OSC event hub code on the repo

Get INFO on channel with layer specified gives error

CasparCG Version (to get version send command VERSION)
Version: 2.1, 2.07

Describe the bug
var channelInfo = device.Channels.FirstOrDefault()?.GetInfo(1);

Gives Document XML error
<layer xmlns=''> not expected

Add .NET 6 IOC extensions

In order to follow the .NET6 platform, need to create extension to easily add CasparCG on .net project.

ChannelInfo.ActiveClip is always null

CasparCG Version (to get version send command VERSION)
Version: 2.3.0 7829b13b Dev

Describe the bug
ActiveClip property is always null

To Reproduce
Steps to reproduce the behavior:

  1. LOADBG 1-1 AMB
  2. PLAY 1-1
  3. casparcgServer.channels.FirstOrDefault().ActiveClip is null

Expected behavior
ActiveClip is populated with information from the playing clip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.