Skip to content

Commit

Permalink
Version 2.3.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nhielost committed Apr 14, 2023
1 parent 4ed1175 commit 0b5a5c9
Show file tree
Hide file tree
Showing 53 changed files with 1,384 additions and 629 deletions.
13 changes: 9 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
cmake_minimum_required(VERSION 3.16...3.21)
cmake_minimum_required(VERSION 3.23...3.26)

# Change obs-plugintemplate to your plugin's name in a machine-readable format
# (e.g.: obs-myawesomeplugin) and set
project(obs-midi-mg VERSION 2.3.0)
project(obs-midi-mg VERSION 2.3.1)
add_library(obs-midi-mg MODULE)

# Replace `Your Name Here` with the name (yours or your organization's) you want
# to see as the author of the plugin (in the plugin's metadata itself and in the
# installers)
set(PLUGIN_AUTHOR "nhielost <[email protected]>")

# Replace 'https://www.example.com` with a link to the website of your plugin or
# repository
set(PLUGIN_WEBSITE "https://www.github.com/nhielost/obs-midi-mg")

# Replace `com.example.obs-plugin-template` with a unique Bundle ID for macOS
# releases (used both in the installer and when submitting the installer for
# notarization)
Expand Down Expand Up @@ -49,6 +53,7 @@ target_sources(
./src/actions/mmg-action-collections.cpp
./src/actions/mmg-action-midi.cpp
./src/actions/mmg-action-internal.cpp
./src/actions/mmg-action-preferences.cpp
./src/mmg-binding.cpp
./src/mmg-config.cpp
./src/mmg-device.cpp
Expand Down Expand Up @@ -83,7 +88,7 @@ target_sources(
./src/actions/mmg-action-collections.h
./src/actions/mmg-action-midi.h
./src/actions/mmg-action-internal.h
./src/mmg-action-include.h
./src/actions/mmg-action-preferences.h
./src/mmg-binding.h
./src/mmg-config.h
./src/mmg-device.h
Expand Down Expand Up @@ -153,7 +158,7 @@ elseif(OS_MACOS)

set(MACOSX_PLUGIN_GUI_IDENTIFIER "${MACOS_BUNDLEID}")
set(MACOSX_PLUGIN_BUNDLE_VERSION "${CMAKE_PROJECT_VERSION}")
set(MACOSX_PLUGIN_SHORT_VERSION_STRING "2.3.0")
set(MACOSX_PLUGIN_SHORT_VERSION_STRING "2.3.1")

target_compile_options(obs-midi-mg PRIVATE -Wall)
# --- End of section ---
Expand Down
25 changes: 22 additions & 3 deletions HELP.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,12 @@ Tips in using the plugin as well as how it works can be found here.
- [MIDI](#midi)
- [Internal](#internal)
- [Timeout](#timeout)
- [Preferences](#preferences)
4. [Using the Message Value](#using-the-message-value)
5. [Preferences Guide](#preferences-guide)
- [Device Interaction](#device-interaction)
- [MIDI Activity](#midi-activity)
- [MIDI Throughput](#midi-throughput)
- [Internal Action Behavior](#internal-action-behavior)
- [Binding Transfer](#binding-transfer)
6. [Additional Help](#additional-help)

Expand Down Expand Up @@ -64,6 +67,8 @@ Bindings are composed of one message and one action. If the binding is enabled,

If a binding is disabled, the message will not be listened to. This can be changed by clicking the checkmark next to the binding's name. The action will never be executed whenever any message is received. *See the [Internal](#internal) action for an exception to this rule.*

***New!*** Bindings placed higher up in the list will have higher priority when executing (i.e. the first binding in the list will be dealt with before the second one).

### Messages

Messages are composed of a type, channel, and one or two other values. These values can be inputted manually or, by using the *Listen to Message* feature, can be inputted by the input device automatically. Only one message can activate any action (no longer can one use multiple messages to do this).
Expand Down Expand Up @@ -284,6 +289,12 @@ The timing range is set between 1 and 999 of the specified units.

This category is discontinued as it has moved inside of the *Internal* action.

### Preferences

This category implements [Preferences](#preferences-guide) as actions.

**Note**: The *MIDI Activity* preference can only be turned off using this action, as actions cannot be executed when the *MIDI Activity* preference is turned off.

----------------------------------------------------

## Using the Message Value
Expand Down Expand Up @@ -314,7 +325,7 @@ If any fields are marked with a subscript listed below, they are eligible to be

## Preferences Guide

### Device Interaction
### MIDI Activity

If this option is toggled off, it will turn off all communication between the plugin and the active device.

Expand All @@ -324,6 +335,14 @@ When this option is enabled, all messages received by the active device will aut

This may cause a feedback loop if the output device is configured to send messages to the *Active Device*. Feedback loops lead to undesired behavior, and occasionally cause crashes, so be careful when using this feature.

### Internal Action Behavior

This changes how *Internal* actions behave when they are executed.

When the *Reset on new message* option is selected, all *Internal* actions will reset and start over if they receive another message. Because of this, each action can only be executing once at any moment. (Multiple *Internal* actions can still run at the same time, just not the same action over and over.)

When the *Don't reset on new message* option is selected, any one *Internal* action can be executed up to 64 times at once, and they will all run to completion with no interruptions (aside from errors, of course).

### Binding Transfer

Transferring bindings is useful when a lot of bindings cannot be used since they are on another device that is disconnected or unavailable. All information is provided in the plugin itself.
Expand All @@ -332,4 +351,4 @@ Transferring bindings is useful when a lot of bindings cannot be used since they

## Additional Help

If you need additional help, please file an issue [here](https://github.com/nhielost/obs-midi-mg/issues), or post on the OBS forum discussion [here](https://obsproject.com/forum/threads/obs-midi-mg.158407/).
If you need additional help, please file an issue [here](https://github.com/nhielost/obs-midi-mg/issues), or post on the OBS forum discussion [here](https://obsproject.com/forum/threads/obs-midi-mg.158407/).
50 changes: 25 additions & 25 deletions buildspec.json
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
{
"dependencies": {
"obs-studio": {
"version": "28.1.2",
"version": "29.0.2",
"repository": "https://github.com/obsproject/obs-studio.git",
"branch": "master",
"hash": "567505b2ed2db8a9e331a6e1b372e3d2f9dd1070"
"hash": "099b391e7c67178df9aa0d158093ce394aa6a68b"
},
"prebuilt": {
"version": "2022-08-02",
"version": "2023-04-12",
"baseUrl": "https://github.com/obsproject/obs-deps/releases/download",
"label": "Pre-built obs-deps",
"hashes": {
"macos-x86_64": "7637e52305e6fc53014b5aabd583f1a4490b1d97450420e977cae9a336a29525",
"macos-arm64": "755e0fa69b17a3ae444e1befa9d91d77e3cafe628fbd1c6333686091826595cd",
"macos-universal": "de057e73e6fe0825664c258ca2dd6798c41ae580bf4d896e1647676a4941934a",
"windows-x64": "2192d8ce780c4281b807cd457994963669e5202659ecd92f19b54c3e7d0c1915",
"windows-x86": "9f8582ab5891b000869d6484ea591add9fbac9f1c91b56c7b85fdfd56a261c1b"
"macos-x86_64": "81120ffa33bb050c6c5fcd236e5cedfd7b80f7053fdba271fead5af20be0b5f5",
"macos-arm64": "b9bab79611774c4651d084e14259abe889d2b8d1653787a843d08cf3f0db881c",
"macos-universal": "9535c6e1ad96f7d49960251e85a245774088d48da1d602bb82f734b10219125a",
"windows-x64": "c13a14a1acc4224b21304d97b63da4121de1ed6981297e50496fbc474abc0503",
"windows-x86": "21d05bab23dabe8dcf21519e31eead64b24e4b5d087c0e766f75adafa9276a09"
}
},
"qt5": {
"version": "2022-08-02",
"version": "2023-04-12",
"baseUrl": "https://github.com/obsproject/obs-deps/releases/download",
"label": "Pre-built Qt5",
"hashes": {
"macos-x86_64": "3d0381a52b0e4d49967936c4357f79ac711f43564329304a6db5c90edadd2697",
"macos-arm64": "f4b32548c0530f121956bf0a9a70c36ecbbfca81073d39c396a1759baf2a05c3",
"macos-universal": "9a6cf3b9a6c9efee6ba10df649202e8075e99f3c54ae88dc9a36dbc9d7471c1e",
"windows-x64": "6488a33a474f750d5a4a268a5e20c78bb40799d99136a1b7ce3365a843cb2fd7",
"windows-x86": "a916e09b0a874036801deab2c8a7ec14fdf5d268aa5511eac5bf40727e0c4e33"
"macos-x86_64": "8da47480b3981f4534e22f1b22910332d818890ad17a8e19b99e25343f6eb7ae",
"macos-arm64": "97542eee84698724835f00131bfc89d56e79e545aa6c1d090a4d1f71782c2078",
"macos-universal": "5cc20429791b556bf5a40b1a8fa25691ac20bbe0c425cbe7392f505162c1f895",
"windows-x64": "2415a1ea12ee6e1cab4e37873cf9b2e4e97cc3ac7731495ef1e134b9e01d6dc2",
"windows-x86": "393038c1a88c1622cbc6125b025f416856016bd63a3ae4d38672bd93230cb75e"
},
"pdb-hashes": {
"windows-x64": "e0e5070143fcad9311a68ce5685d8ba8f34f581ed6942b7a92d360f94ca1ba11",
"windows-x86": "36642d1052aa461964f46c17610477b0d9b9defbe2d745ccaacb85f805c1bec2"
"windows-x64": "3ba8ad6bab825309c352c60be02caef6f5bc8388ffbfcb490d6d5d04ab3d520f",
"windows-x86": "38e1bee1d14e0208545b91b244c13ffcaefe3cbec93204f2726f32e4a0d8b16a"
}
},
"qt6": {
"version": "2022-08-02",
"version": "2023-04-12",
"baseUrl": "https://github.com/obsproject/obs-deps/releases/download",
"label": "Pre-built Qt6",
"hashes": {
"macos-x86_64": "a83f72a11023b03b6cb2dc365f0a66ad9df31163bbb4fe2df32d601856a9fad3",
"macos-arm64": "2f30af90c049670a5660656adbb440668aa1b0567f75a5f29e1def9108928403",
"macos-universal": "252e6684f43ab9c6f262c73af739e2296ce391b998da2c4ee04c254aaa07db18",
"windows-x64": "e5509b54196a3f935250cc4b9c54160c8e588fd0f92bc078a2a64f9d9e2e4e93",
"windows-x86": "24fc03bef153a0e027c1479e42eb08097a4ea1d70a4710825be0783d0626cb0d"
"macos-x86_64": "2622d6ecd484a596da12b6a45b709fe563821eda558d0bbb27335c8c2f63945c",
"macos-arm64": "4f72aa1103d88a00d90c01bb3650276ffa1408e16ef40579177605483b986dc9",
"macos-universal": "eb7614544ab4f3d2c6052c797635602280ca5b028a6b987523d8484222ce45d1",
"windows-x64": "4d39364b8a8dee5aa24fcebd8440d5c22bb4551c6b440ffeacce7d61f2ed1add",
"windows-x86": "e67494698f2e6ac284a5640b64a687c971e868de7223cc06cabe794c57d632e2"
},
"pdb-hashes": {
"windows-x64": "60e5b1d2bc4d7c431bc05f14e3b1e85e088788c372fa85f58717cd6c49555a46",
"windows-x86": "f34d1a89fc85d92913bd6c7f75ec5c28471d74db708c98161100bc8b75f8fc63"
"windows-x64": "f34ee5067be19ed370268b15c53684b7b8aaa867dc800b68931df905d679e31f",
"windows-x86": "70f2c23fb937a94cc38cc3716e8b34f3710e233626da9439e9077d3dac0ebd0d"
}
}
},
Expand Down Expand Up @@ -79,7 +79,7 @@
}
},
"name": "obs-midi-mg",
"version": "2.3.0",
"version": "2.3.1",
"author": "nhielost",
"email": "[email protected]"
}
4 changes: 2 additions & 2 deletions cmake/bundle/windows/installer-Windows.iss.in
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#define MyAppName "@CMAKE_PROJECT_NAME@"
#define MyAppVersion "@CMAKE_PROJECT_VERSION@"
#define MyAppPublisher "@PLUGIN_AUTHOR@"
#define MyAppURL "http:https://www.mywebsite.com"
#define MyAppURL "@PLUGIN_WEBSITE@"

[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{CD703FE5-1F2C-4837-BD3D-DD840D83C3E3}
AppId={{86163F35-A65A-449C-8854-C86898BBB393}}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppPublisher={#MyAppPublisher}
Expand Down
Loading

0 comments on commit 0b5a5c9

Please sign in to comment.