Downloads:

377

Downloads of v 0.4.6657.3109:

226

Last Update:

3/24/2018

Package Maintainer(s):

Software Author(s):

  • WiiPlayer2

Tags:

obs scripts filter

DarkLink's Scripts for OBS Studio

0.4.6657.3109 | Updated: 3/24/2018

Downloads:

377

Downloads of v 0.4.6657.3109:

226

Maintainer(s):

Software Author(s):

  • WiiPlayer2

DarkLink's Scripts for OBS Studio 0.4.6657.3109

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install DarkLink's Scripts for OBS Studio, run the following command from the command line or from PowerShell:

>

To upgrade DarkLink's Scripts for OBS Studio, run the following command from the command line or from PowerShell:

>

To uninstall DarkLink's Scripts for OBS Studio, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade obs-studio-wiiplayer2-scripts -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade obs-studio-wiiplayer2-scripts -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure obs-studio-wiiplayer2-scripts installed
  win_chocolatey:
    name: obs-studio-wiiplayer2-scripts
    state: present
    version: 0.4.6657.3109
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'obs-studio-wiiplayer2-scripts' do
  action    :install
  version  '0.4.6657.3109'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: obs-studio-wiiplayer2-scripts,
    Version: 0.4.6657.3109,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller obs-studio-wiiplayer2-scripts
{
   Name     = 'obs-studio-wiiplayer2-scripts'
   Ensure   = 'Present'
   Version  = '0.4.6657.3109'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'obs-studio-wiiplayer2-scripts':
  provider => 'chocolatey',
  ensure   => '0.4.6657.3109',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install obs-studio-wiiplayer2-scripts version="0.4.6657.3109" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator gep13 on 3/26/2018.

Description

obs-scripts

Chocolatey
GitHub release
GitHub Release Date
GitHub last commit
GitHub commit activity the past week, 4 weeks, year

Contains scripts I created for obs-studio (https://github.com/obsproject/obs-studio)

filter-dropshadow.lua

This script adds an effect filter that adds a hard drop shadow to any source it's added to.

filter-gaussian-blur.lua

This script adds an effect filter that blurs a source with a gaussian blur filter.

filter-custom.lua

This script adds a custom effect filter where you can select an effect file yourself.


data\scripts.zip
md5: 660FCF9B9DC7C8E4E28A8A868B448F3E | sha1: 4489D9CD19A2A9C49241B65380A72A49E19E4FCE | sha256: 24A82000DB17AA838209494B0CDB77735C7A7AC41DA9A34D89E714D869299AC8 | sha512: 2395100D4DB338598819A499E717EED66E7EB3FA210D97155F8FA276D7FD8B0CFC151CAEEB93AED5D0DEF4833372C9EB52E2BA7F84475533830F1E0E790BC0D5
tools\chocolateyInstall.ps1
function Test-Any {
    [CmdletBinding()]
    param($EvaluateCondition,
        [Parameter(ValueFromPipeline = $true)] $ObjectToTest)
    begin {
        $any = $false
    }
    process {
        if (-not $any -and (& $EvaluateCondition $ObjectToTest)) {
            $any = $true
        }
    }
    end {
        $any
    }
}

$pkgDir = "$env:ChocolateyInstall/lib/obs-studio-wiiplayer2-scripts"
$scriptsArchive = Get-Item (Join-Path $pkgDir 'data/scripts.zip')
$scriptsDirectory = New-Item (Join-Path $pkgDir 'data/scripts') -ItemType Directory -ErrorAction SilentlyContinue
if($scriptsDirectory -eq $null)
{
    $scriptsDirectory = Get-Item (Join-Path $pkgDir 'data/scripts')
}

$scriptFiles = Get-ChildItem $scriptsDirectory.FullName -File

Get-ChocolateyUnzip -FileFullPath $scriptsArchive.FullName -Destination $scriptsDirectory.FullName

$obsDefaultCollection = Get-ChildItem -Path 'C:\Users\*\AppData\Roaming\obs-studio\basic\scenes\Default.json'
foreach($sceneFile in $obsDefaultCollection)
{
    $json = (Get-Content $sceneFile.FullName) -join "`n" | ConvertFrom-Json
    $jsonScripts = $json.modules.'scripts-tool'

    foreach($scriptFile in $scriptFiles)
    {
        $scriptPath = $scriptFile.FullName.Replace('\', '/');
        if(-not ($jsonScripts | Test-Any { $_.path -eq $scriptPath}))
        {
            $obj = @{ path = $scriptPath; settings = @{} }
            $jsonScripts += ,$obj
        }
    }

    $json.modules.'scripts-tool' = $jsonScripts

    ConvertTo-Json $json -Depth 100 | Write-File -Path $sceneFile
}
tools\LICENSE
 
tools\VERIFICATION.txt
This package is published by myself, WiiPlayer2 / DarkLink (https://github.com/WiiPlayer2). The binary (scripts.zip) is the packed content of the src folder of the source code repository (https://github.com/WiiPlayer2/obs-scripts) + LICENSE and README.md.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
DarkLink's Scripts for OBS Studio 0.1.6649.51347 139 Friday, March 16, 2018 Approved
Discussion for the DarkLink's Scripts for OBS Studio Package

Ground Rules:

  • This discussion is only about DarkLink's Scripts for OBS Studio and the DarkLink's Scripts for OBS Studio package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or DarkLink's Scripts for OBS Studio, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus