13 Commits

Author SHA1 Message Date
Janis
14079a997e v0.0.8 2022-10-29 16:53:39 +02:00
Janis
23044c320d v0.0.8 2022-10-29 16:53:35 +02:00
Janis
ae6d3f0ebf v0.0.7 2022-10-29 16:51:32 +02:00
Janis
832aa9beb0 v0.0.6 2022-10-29 16:48:22 +02:00
Janis
7bb209a8d6 2s to 11s 2022-10-29 16:48:09 +02:00
Janis
85501820f1 add config to gitignore to prevent pushing apikey by accident 2022-10-29 15:55:50 +02:00
Janis
b12a9742f1 gitignore 2022-10-29 15:55:03 +02:00
Janis
9de4c7fc03 added gitignore 2022-10-29 15:54:19 +02:00
Janis
d198699844 change version to v0.0.5 2022-10-29 15:51:20 +02:00
Janis
b5889e7b0a removed api key ;) 2022-10-29 15:51:02 +02:00
Janis
6936eaf689 fix update script 2022-10-29 15:47:22 +02:00
Janis
1fbd632a30 update script now works 2022-10-29 15:41:22 +02:00
Janis
493e85684d version v0.0.2 2022-10-29 15:38:59 +02:00
6 changed files with 14 additions and 9 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
config.js

View File

@@ -1,3 +1,3 @@
const CONFIG = {
apiKey: "1e8d3bcbc24f95e64672521ccdcf6020e2d64d30",
apiKey: "",
};

View File

@@ -16,10 +16,10 @@ function updateSubCount() {
function sub(subName) {
frame.style.animationName = "subAnimation";
frame.style.animationDuration = "2s";
frame.style.animationDuration = "5s";
subCount.style.animationName = "backgroundSubAnimation";
subCount.style.animationDuration = "2s";
subCount.style.animationDuration = "5s";
subCount.innerText = subName + " " + subCountNumber;
@@ -31,6 +31,6 @@ function sub(subName) {
subCount.style.animationDuration = "20s";
subCount.innerText = subCountNumber;
updateSubCount();
}, 2000);
}, 11000);
}
updateSubCount();

View File

@@ -1,3 +1,3 @@
{
"version": "v0.0.1"
"version": "v0.0.8"
}

5
readme.md Normal file
View File

@@ -0,0 +1,5 @@
# A Twtich camera frame for OBS
## Setup
1. Change the `apiKey` in the file `config.js` to your [Tipeestream API-Key](https://www.tipeeestream.com/dashboard/api-key/)
2. Insert the `frame.html` as browser source in your obs

View File

@@ -40,7 +40,7 @@ if ($newestVersionString -ne "") {
Invoke-WebRequest -Uri "https://github.com/DerTyp876/obs-twitch-camera-frame/archive/refs/tags/$newestVersionString.zip" -OutFile "./temp/$newestVersionString.zip"
Write-Output "Extracting archive..."
Expand-Archive -Path "./temp/$newestVersionString.zip" -DestinationPath "./temp/"
Get-ChildItem -Path "./temp/ts5-obs-overlay-$($newestVersionString -replace 'v')" -Recurse | Move-Item -Destination "./"
Get-ChildItem -Path "./temp/obs-twitch-camera-frame-$($newestVersionString -replace 'v')" -Recurse | Move-Item -Destination "./"
Remove-Item "./temp" -Recurse -Force -Confirm
@@ -50,6 +50,5 @@ if ($newestVersionString -ne "") {
else {
Write-Output "No new version found!"
}
Write-Output "You need to add your API-Key again to the config.js!"
pause