# Server frontend / watchdog

**URL:** <https://casparcgforum.org/t/server-frontend-watchdog/2182>\
**Category:** General\
**Tags:** config, server\
**Created:** [August 26, 2019, 7:51pm UTC](https://casparcgforum.org/t/server-frontend-watchdog/2182 "2019-08-26T19:51:26Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![rrebuffo](https://casparcgforum.org/user_avatar/casparcgforum.org/rrebuffo/32/165_2.png) [@rrebuffo](https://casparcgforum.org/u/rrebuffo)\
**Post date:** [October 12, 2019, 2:59pm UTC](https://casparcgforum.org/t/server-frontend-watchdog/2182/21 "2019-10-12T14:59:33Z")

</div>

Some fixes and additions :

- Fixed _for real this time_ the TextBoxes for the paths, now the changes are saved.
- Added a button to rebuild the scanner’s database. It stops the scanner, removes both `_media` and `pouch __all_dbs__ ` folders and starts it again.
- Also added two items in the tray context menu (rebuild media db and open diag window):  
 ![tray_context](https://casparcgforum.org/uploads/default/original/1X/26926474c0c86c94871c39d8dc9ab82242e56fc8.jpg)

---

<div class="post-metadata">

**Author:** ![rrebuffo](https://casparcgforum.org/user_avatar/casparcgforum.org/rrebuffo/32/165_2.png) [@rrebuffo](https://casparcgforum.org/u/rrebuffo)\
**Post date:** [November 12, 2019, 5:42am UTC](https://casparcgforum.org/t/server-frontend-watchdog/2182/22 "2019-11-12T05:42:54Z")

</div>

I uploaded the project to GitHub with some changes after a big cleanup.  
The code is still somewhat messy but I’m open to suggestions. This is still a beta.

> **[rrebuffo/CasparLauncher](https://github.com/rrebuffo/CasparLauncher/)**
>
> Frontend app for CasparCG Server. Contribute to rrebuffo/CasparLauncher development by creating an account on GitHub.

## Changes

Added to the new version:

- Dynamic handling and editing of executables. Now they can be added or removed.
- Added options to each executable:
  - Name for the tab
  - Autostart at launch
  - Autostart delay
  - Enable or disable console commands
  - Startup commands
  - Delay for each startup command

- Added a “new file” button for creating new config files.
- Edit an existing file pressing the Shift key while clicking the “edit file” button.

You can download the first release here:  
[CasparLauncher - v1.0-beta](https://github.com/rrebuffo/CasparLauncher/releases/tag/v1.0-beta)

Some features I still want to implement are console command history and older configuration versions (still figuring out how to deduce the version).

---

<div class="post-metadata">

**Author:** ![noquierouser](https://casparcgforum.org/user_avatar/casparcgforum.org/noquierouser/32/155_2.png) [@noquierouser](https://casparcgforum.org/u/noquierouser)\
**Post date:** [November 13, 2019, 4:05am UTC](https://casparcgforum.org/t/server-frontend-watchdog/2182/23 "2019-11-13T04:05:02Z")

</div>

> [@rrebuffo](#):
>
> Some features I still want to implement are console command history and older configuration versions (still figuring out how to deduce the version).

Checking out `casparcg.exe` file information I can see there’s version metadata. For that you can use [`FileVersionInfo.FileVersion`](https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.fileversioninfo.fileversion?view=netframework-4.8).

 ![image](https://casparcgforum.org/uploads/default/original/1X/48777e94579ed26d87645d0cb7795ee428bd88de.png)

 ![image](https://casparcgforum.org/uploads/default/original/1X/edc8e16f3f027c451bb5fb14ac714f9abfddca2b.png)

 ![image](https://casparcgforum.org/uploads/default/original/1X/1f6e4bce8f42b29da37b0b42d7c41d6bf8176dcd.png)

---

<div class="post-metadata">

**Author:** ![didikunz](https://casparcgforum.org/user_avatar/casparcgforum.org/didikunz/32/7_2.png) [@didikunz](https://casparcgforum.org/u/didikunz)\
**Post date:** [November 13, 2019, 8:00am UTC](https://casparcgforum.org/t/server-frontend-watchdog/2182/24 "2019-11-13T08:00:17Z")

</div>

There is also a version AMCP command, see the wiki for details.

---

<div class="post-metadata">

**Author:** ![rrebuffo](https://casparcgforum.org/user_avatar/casparcgforum.org/rrebuffo/32/165_2.png) [@rrebuffo](https://casparcgforum.org/u/rrebuffo)\
**Post date:** [November 13, 2019, 1:19pm UTC](https://casparcgforum.org/t/server-frontend-watchdog/2182/25 "2019-11-13T13:19:16Z")

</div>

> [@noquierouser](#):
>
> Checking out `casparcg.exe` file information I can see there’s version metadata

> [@didikunz](#):
>
> There is also a version AMCP command, see the wiki for details.

Great! I see that’s not a problem.  
The actual issue would be guessing the actual config file version. One could assume that from the casparcg.exe version but, if you open another file from any other location and it’s based on older or newer versions, the editor woudn’t know which options to expose.  
What I had in mind is to show the correct options according to the file version and warn about differences between config and server versions. And eventually convert what’s backward compatible to make that work.

---

<div class="post-metadata">

**Author:** ![rrebuffo](https://casparcgforum.org/user_avatar/casparcgforum.org/rrebuffo/32/165_2.png) [@rrebuffo](https://casparcgforum.org/u/rrebuffo)\
**Post date:** [November 13, 2019, 1:20pm UTC](https://casparcgforum.org/t/server-frontend-watchdog/2182/26 "2019-11-13T13:20:55Z")

</div>

Also, it would be nice to make an assistant-like configuration creator.

---

<div class="post-metadata">

**Author:** ![noquierouser](https://casparcgforum.org/user_avatar/casparcgforum.org/noquierouser/32/155_2.png) [@noquierouser](https://casparcgforum.org/u/noquierouser)\
**Post date:** [November 13, 2019, 8:50pm UTC](https://casparcgforum.org/t/server-frontend-watchdog/2182/27 "2019-11-13T20:50:35Z")

</div>

> [@rrebuffo](#):
>
> What I had in mind is to show the correct options according to the file version and warn about differences between config and server versions.

Then the approach I proposed is way more preferable as it doesn’t require to run Server to know the version of the executable.

But from there I’ll try to keep working on [what I proposed some time ago](https://casparcgforum.org/t/config-file-xml-schema-definition/2269), which might be really helpful in providing validation for the different versions of Server.

---

<div class="post-metadata">

**Author:** ![jcalado](https://casparcgforum.org/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@jcalado](https://casparcgforum.org/u/jcalado)\
**Post date:** [January 25, 2020, 10:45pm UTC](https://casparcgforum.org/t/server-frontend-watchdog/2182/28 "2020-01-25T22:45:53Z")

</div>

Hey! Thanks for this launcher, I use it all the time in production and on my dev machine.

Just a quick opinion: having to hold shift to remove an executable was not intuitive.  
I’m ashamed to say I had to clone the repo and check the code to find this modifier key.

That’s it. Thank you again.

---

<div class="post-metadata">

**Author:** ![rrebuffo](https://casparcgforum.org/user_avatar/casparcgforum.org/rrebuffo/32/165_2.png) [@rrebuffo](https://casparcgforum.org/u/rrebuffo)\
**Post date:** [January 25, 2020, 11:13pm UTC](https://casparcgforum.org/t/server-frontend-watchdog/2182/29 "2020-01-25T23:13:08Z")

</div>

> [@jcalado](#):
>
> having to hold shift to remove an executable was not intuitive

Thank you for the comment!  
I know it’s hidden but I didn’t find a better way of exposing that without a ‘remove’ button laying around that you could accidentally press. Also I hate prompts.  
Do you have any suggestion on how to solve that?

---

<div class="post-metadata">

**Author:** ![jcalado](https://casparcgforum.org/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@jcalado](https://casparcgforum.org/u/jcalado)\
**Post date:** [January 25, 2020, 11:47pm UTC](https://casparcgforum.org/t/server-frontend-watchdog/2182/30 "2020-01-25T23:47:18Z")

</div>

Permanent button with confirmation prompt should be the way, no?

---

<div class="post-metadata">

**Author:** ![jcalado](https://casparcgforum.org/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@jcalado](https://casparcgforum.org/u/jcalado)\
**Post date:** [February 6, 2020, 5:19pm UTC](https://casparcgforum.org/t/server-frontend-watchdog/2182/31 "2020-02-06T17:19:36Z")

</div>

> <https://github.com/rrebuffo/CasparLauncher/pull/1>

---

<div class="post-metadata">

**Author:** ![rrebuffo](https://casparcgforum.org/user_avatar/casparcgforum.org/rrebuffo/32/165_2.png) [@rrebuffo](https://casparcgforum.org/u/rrebuffo)\
**Post date:** [March 16, 2020, 11:43am UTC](https://casparcgforum.org/t/server-frontend-watchdog/2182/32 "2020-03-16T11:43:16Z")

</div>

New release! Many fixes and some nice UI changes. Some more to come.

> **[rrebuffo/CasparLauncher](https://github.com/rrebuffo/CasparLauncher/releases/tag/v1.0.1)**
>
> Frontend app for CasparCG Server. Contribute to rrebuffo/CasparLauncher development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![markusnygard](https://casparcgforum.org/user_avatar/casparcgforum.org/markusnygard/32/8_2.png) [@markusnygard](https://casparcgforum.org/u/markusnygard)\
**Post date:** [March 19, 2020, 2:45pm UTC](https://casparcgforum.org/t/server-frontend-watchdog/2182/33 "2020-03-19T14:45:04Z")

</div>

nice work.  
thanks

---

<div class="post-metadata">

**Author:** ![jcalado](https://casparcgforum.org/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@jcalado](https://casparcgforum.org/u/jcalado)\
**Post date:** [March 20, 2020, 11:18am UTC](https://casparcgforum.org/t/server-frontend-watchdog/2182/34 "2020-03-20T11:18:23Z")

</div>

This just keeps getting better.  
Thank you for your work!

---

<div class="post-metadata">

**Author:** ![noquierouser](https://casparcgforum.org/user_avatar/casparcgforum.org/noquierouser/32/155_2.png) [@noquierouser](https://casparcgforum.org/u/noquierouser)\
**Post date:** [March 22, 2020, 5:25pm UTC](https://casparcgforum.org/t/server-frontend-watchdog/2182/35 "2020-03-22T17:25:10Z")

</div>

Hey @rrebuffo, nice work. This release is quite nice and I’m already using it into production. Nice work.

One thing I noticed though is regarding the config file, which seems to be updated when the launcher exits cleanly instead of whenever changes are made. On my first test I made some configurations and then I cold rebooted my machine. When the program launched again, it didn’t save any setting prior to rebooting.

My workaround was to make my settings and then exit the launcher using the tray icon. Then launching again.

If this can be improved it would make the launcher quite resilient against unexpected reboots like power outages.

Thank you for your work, it’s fantastic so far.

---

<div class="post-metadata">

**Author:** ![rrebuffo](https://casparcgforum.org/user_avatar/casparcgforum.org/rrebuffo/32/165_2.png) [@rrebuffo](https://casparcgforum.org/u/rrebuffo)\
**Post date:** [March 22, 2020, 5:32pm UTC](https://casparcgforum.org/t/server-frontend-watchdog/2182/36 "2020-03-22T17:32:48Z")

</div>

Noticed this today when jumping between test versions. I changed the config so every time you change a configuration it gets saved and when the launcher is asked to exit, it just exits. The problem is that many config options are not raising the change event.

> [@noquierouser](#):
>
> My workaround was to make my settings and then exit the launcher using the tray icon

Another one is to resize the window.  
I’m looking into it.

---

<div class="post-metadata">

**Author:** ![rrebuffo](https://casparcgforum.org/user_avatar/casparcgforum.org/rrebuffo/32/165_2.png) [@rrebuffo](https://casparcgforum.org/u/rrebuffo)\
**Post date:** [March 22, 2020, 7:12pm UTC](https://casparcgforum.org/t/server-frontend-watchdog/2182/37 "2020-03-22T19:12:19Z")

</div>

> [@rrebuffo](#):
>
> I changed the config so every time you change a configuration it gets saved and when the launcher is asked to exit, it just exits.

Scratch all that! I see now that I already changed this and still saves the config on exit. The events are raised but the executable config is not saved probably due to conflicting settings versions. This should be handled by .net when you upgrade the settings but for some reason it doesn’t want to do that. Deleting all versions of the settings in `%USERPROFILE%\AppData\Local\CasparLauncher\` solved that for me in all the instances.

Please let me know if it’s still a problem for you.

---

<div class="post-metadata">

**Author:** ![rrebuffo](https://casparcgforum.org/user_avatar/casparcgforum.org/rrebuffo/32/165_2.png) [@rrebuffo](https://casparcgforum.org/u/rrebuffo)\
**Post date:** [June 26, 2020, 7:28pm UTC](https://casparcgforum.org/t/server-frontend-watchdog/2182/38 "2020-06-26T19:28:01Z")

</div>

Just posted a new release that addresses some changes in server 2.3 LTS and adds a couple of features to the config editor:

# v1.0.2

## Configuration Editor

- Added new 2.3.x-LTS configuration options:
  - Flash producer toggle
  - FFmpeg thread limit and deinterlace.
  - Bluefish UHD support.

- Better file error handling and display:
  - IO errors and illegible file errors prompts when opening a configuration file.
  - Status display when saving a file.

- New Drag&Drop feature for channels and consumers:
  - Reorder channels by dragging them.
  - Move consumers between channels by dropping them in another channel.

> **[rrebuffo/CasparLauncher](https://github.com/rrebuffo/CasparLauncher/releases/tag/v1.0.2)**
>
> Frontend app for CasparCG Server. Contribute to rrebuffo/CasparLauncher development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![KevinM](https://casparcgforum.org/letter_avatar_proxy/v4/letter/k/85e7bf/32.png) [@KevinM](https://casparcgforum.org/u/KevinM)\
**Post date:** [September 2, 2020, 12:27pm UTC](https://casparcgforum.org/t/server-frontend-watchdog/2182/39 "2020-09-02T12:27:03Z")

</div>

Very nice work. Thanks.  
I miss the opportunity to name the screen.

If I do it manually in the config-file, it will be overwritten the next time I make a change in the launcher

screen  
“name”  
/screen

---

<div class="post-metadata">

**Author:** ![rrebuffo](https://casparcgforum.org/user_avatar/casparcgforum.org/rrebuffo/32/165_2.png) [@rrebuffo](https://casparcgforum.org/u/rrebuffo)\
**Post date:** [September 2, 2020, 1:46pm UTC](https://casparcgforum.org/t/server-frontend-watchdog/2182/40 "2020-09-02T13:46:13Z")

</div>

I don’t understand what you mean.  
Are you talking about the tab (executables) names or the server’s screen consumer names?  
Can you post a picture of the issue?

[Previous page](https://casparcgforum.org/t/server-frontend-watchdog/2182.md?page=1)

[Next page](https://casparcgforum.org/t/server-frontend-watchdog/2182.md?page=3)
