Skip to content

Commit 4face44

Browse files
vassbojzongker
andauthored
1.5.1-beta.2 (#2259)
* Fixed freeze on startup if song number was not a string value - Fixed show not loading in output if presented before loaded * Fixed stage editor freezing with some old items * Partial implmentation of AmazingLife. Fixed truncted media names. * Fixed stage editor freezing with some old items * Fixed project media import not always working cross platform - Shorter slide notes preview - Fixed text edit freeze when having empty textbox last in layer * Option to disable arrow right/left to change project item on last/first slide * Scripture rewrite (#2252) * Scripture rewrite * Scripture rewrite * Fixes & cleanup * Polishing * Fixed shows search freeze with bad show file * Fixed media folder not opening * Hardware acceleration enabled by default also on macOS - Many small fixes * Use stock Electron 37.7 - This fixes performance issues on macOS 26 Tahoe * Playing media from project clears slide content properly - Media set to foreground cleared when slide is played - Fixed slide also deleted when undoing media adding * Change global volume per output (#2258) * Audio channels * Better audio mixer - Change global volume per output - Mute/unmute global volume - Audio mute by video fading back to correct volume if playlist * Metronome updates * Double click scripture drawer tab to play - Double click audio playlist tab to play - Visual metronome stage item - Fixed calendar to show month incorrect - Player video triggers video start action activation - Small tweaks - Version update --------- Co-authored-by: Jeremy Zongker <jeremy@zongker.net>
1 parent 78bf809 commit 4face44

File tree

99 files changed

+2417
-2537
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+2417
-2537
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,9 @@ jobs:
7676
sudo apt-get update
7777
sudo apt-get install -y libfontconfig1-dev uuid-dev --fix-missing
7878

79-
- name: Use stock Electron on ARM64
80-
run: npm run replace-electron
79+
# WIDEVINE
80+
# - name: Use stock Electron on ARM64
81+
# run: npm run replace-electron
8182

8283
- name: Install dependencies
8384
run: npm install

config/building/electron-builder.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ appId: app.freeshow
22
productName: FreeShow
33
artifactName: FreeShow-${version}-${arch}.${ext}
44

5-
electronDownload:
6-
mirror: https://github.com/castlabs/electron-releases/releases/download/
5+
# WIDEVINE
6+
# Use castlabs electron builds to get widevine support
7+
# electronDownload:
8+
# mirror: https://github.com/castlabs/electron-releases/releases/download/
79

810
files:
911
- build/electron/**
Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
1-
const fs = require("fs")
1+
// WIDEVINE
2+
// github:castlabs/electron-releases#v37.0.0+wvcus
23

3-
// castlabs electron has no build for Linux arm64
4-
const version = "37.0.0"
5-
const integrity = "sha512-QhdtwF7Hq1qfnUXigYp1+bTGuLYTmYTir5KnrMXxWJoWfNhURRU2EYuTktBHoWT5mtv/GmmRjGEiR3IS2p9SSA=="
4+
// const fs = require("fs")
65

7-
// replace package.json entry
8-
const pkg = JSON.parse(fs.readFileSync("package.json", "utf8"))
9-
pkg.devDependencies["electron"] = version
10-
fs.writeFileSync("package.json", JSON.stringify(pkg, null, 2))
6+
// // castlabs electron has no build for Linux arm64
7+
// const version = "37.0.0"
8+
// const integrity = "sha512-QhdtwF7Hq1qfnUXigYp1+bTGuLYTmYTir5KnrMXxWJoWfNhURRU2EYuTktBHoWT5mtv/GmmRjGEiR3IS2p9SSA=="
119

12-
// replace package-lock.json entry
13-
const lock = JSON.parse(fs.readFileSync("package-lock.json", "utf8"))
14-
if (lock.packages && lock.packages["node_modules/electron"]) {
15-
lock.packages["node_modules/electron"].version = version
16-
lock.packages["node_modules/electron"].resolved = `https://registry.npmjs.org/electron/-/electron-${version}.tgz`
17-
lock.packages["node_modules/electron"].integrity = integrity
18-
}
19-
fs.writeFileSync("package-lock.json", JSON.stringify(lock, null, 2))
10+
// // replace package.json entry
11+
// const pkg = JSON.parse(fs.readFileSync("package.json", "utf8"))
12+
// pkg.devDependencies["electron"] = version
13+
// fs.writeFileSync("package.json", JSON.stringify(pkg, null, 2))
14+
15+
// // replace package-lock.json entry
16+
// const lock = JSON.parse(fs.readFileSync("package-lock.json", "utf8"))
17+
// if (lock.packages && lock.packages["node_modules/electron"]) {
18+
// lock.packages["node_modules/electron"].version = version
19+
// lock.packages["node_modules/electron"].resolved = `https://registry.npmjs.org/electron/-/electron-${version}.tgz`
20+
// lock.packages["node_modules/electron"].integrity = integrity
21+
// }
22+
// fs.writeFileSync("package-lock.json", JSON.stringify(lock, null, 2))

package-lock.json

Lines changed: 24 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "freeshow",
3-
"version": "1.5.1-beta.1",
3+
"version": "1.5.1-beta.2",
44
"private": true,
55
"main": "build/electron/index.js",
66
"description": "Show song lyrics and more for free!",
@@ -74,7 +74,7 @@
7474
"@typescript-eslint/eslint-plugin": "^5.62.0",
7575
"@typescript-eslint/parser": "^5.62.0",
7676
"cross-env": "^7.0.3",
77-
"electron": "github:castlabs/electron-releases#v37.0.0+wvcus",
77+
"electron": "^37.7.0",
7878
"electron-builder": "^26.0.19",
7979
"eslint": "^8.57.1",
8080
"eslint-config-prettier": "^8.10.2",
@@ -120,6 +120,7 @@
120120
"follow-redirects": "^1.15.11",
121121
"genius-lyrics": "^4.4.7",
122122
"grandiose": "github:ChurchApps/grandiose#a334962",
123+
"json-bible": "^1.1.0",
123124
"jzz": "^1.9.5",
124125
"libreoffice-convert": "^1.6.1",
125126
"mdb-reader": "^1.2.1",
@@ -138,6 +139,7 @@
138139
"sqlite3": "5.1.6",
139140
"uid": "^2.0.2",
140141
"ultimate-guitar": "^2.0.3",
142+
"upath": "^2.0.1",
141143
"word-extractor": "^1.0.4",
142144
"xml2js": "^0.6.2",
143145
"youtube-player": "^5.6.0"

public/assets/mixer_slider.webp

-170 Bytes
Binary file not shown.

public/lang/en.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@
219219
"allow_gaining_tip": "Allow setting volume above 100% (May cause distortion)",
220220
"pre_fader_volume_meter": "Pre fader volume meter",
221221
"mixer": "Mixer",
222+
"main": "Main",
222223
"metronome": "Metronome",
223224
"toggle_metronome": "Toggle metronome",
224225
"use_metadata_bpm": "Use BPM from metadata",
@@ -1069,6 +1070,7 @@
10691070
"slide_tracker": "Progress",
10701071
"visualizer": "Visualizer",
10711072
"captions": "Captions",
1073+
"metronome": "Metronome",
10721074
"icon": "Icon",
10731075
"effect": "Effect",
10741076
"slide_text": "Slide text",
@@ -1262,6 +1264,7 @@
12621264
"auto_group_numbers": "Auto assign group numbers",
12631265
"transparent_slides": "Transparent slide preview",
12641266
"full_colors": "High contrast group colors",
1267+
"next_item_on_last_slide": "Arrow right/left changes project item on last/first slide",
12651268
"slide_number_keys": "Play slides with number keys",
12661269
"auto_shortcut_first_letter": "Auto shortcut to first letter in text",
12671270
"startup_projects_list": "Show the projects list on startup",

src/electron/IPC/responsesMain.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ export function startImport(data: { channel: string; format: { name: string; ext
243243
}
244244

245245
// BIBLE
246-
export function loadScripture(msg: { id: string; path: string; name: string; data: any }) {
246+
export function loadScripture(msg: { id: string; path: string; name: string }) {
247247
const bibleFolder: string = getDataFolder(msg.path || "", dataFolderNames.scriptures)
248248
let filePath: string = path.join(bibleFolder, msg.name + ".fsb")
249249

@@ -253,7 +253,6 @@ export function loadScripture(msg: { id: string; path: string; name: string; dat
253253
if (bible.error) filePath = path.join(app.getPath("documents"), "Bibles", msg.name + ".fsb")
254254
bible = loadFile(filePath, msg.id)
255255

256-
if (msg.data) return { ...bible, data: msg.data }
257256
return bible
258257
}
259258

0 commit comments

Comments
 (0)