Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rich Presence for Steinberg Nuendo and Steinberg Cubase #5

Open
mrtajniak opened this issue Feb 6, 2023 · 43 comments · Fixed by #11
Open

Rich Presence for Steinberg Nuendo and Steinberg Cubase #5

mrtajniak opened this issue Feb 6, 2023 · 43 comments · Fixed by #11
Assignees
Labels
enhancement New feature or request IN PROGRESS

Comments

@mrtajniak
Copy link

I would love to see Nuendo and Cubase with RPC

@Myuuiii Myuuiii added the enhancement New feature or request label Feb 6, 2023
@Myuuiii Myuuiii self-assigned this Feb 6, 2023
@Myuuiii
Copy link
Owner

Myuuiii commented Feb 6, 2023

Hi there!

I'll take a look at it in a little!
Thank you for the idea!

@mrtajniak
Copy link
Author

If you need anything else from me, let me know

@Myuuiii
Copy link
Owner

Myuuiii commented Feb 6, 2023

Hi there, I'm back now.
There'll be a few things I might need from you if you own these softwares.

First of all I'll need the Process Name, this is the name of the DAW as it can be seen in Task Manager (on Windows). You can open Task Manager by pressing ctrl+shift+esc and then under the tab "Processes" find the DAW. It will look something like this, although this is an IDE and your DAW might have other subprocesses.
image

Then I'd need the window title, which can be found in the same overview, so if possible I'd like for you to send a screenshot of the DAW's entry in Task Manager. This then for when you have a project open, and when you don't have a project open / blank project.

I'll handle stuff from there!

@mrtajniak
Copy link
Author

mrtajniak commented Feb 6, 2023

When project is Open
image

When project is closed
image

Window title when project is open "Nuendo Project - [Project Name]
Windows title when project is closed "Nuendo"

@Myuuiii
Copy link
Owner

Myuuiii commented Feb 6, 2023

Thank you so much!

I'll get to work right away!

@Myuuiii
Copy link
Owner

Myuuiii commented Feb 6, 2023

image

Got something to work right now but this is specifically for Version 12 of Nuendo. I'll be making more changes so it also detects other versions.

EDIT: Uploaded a quick test as a release (file too large to be sent as a comment attachment) You can download it here to see if it works. Let me know what you find!

@mrtajniak
Copy link
Author

mrtajniak commented Feb 6, 2023

image
Unfortunately, It doesn't detect DAW

@Myuuiii
Copy link
Owner

Myuuiii commented Feb 6, 2023

Hmm, that seems a bit weird, I'll take a look in a second

@mrtajniak
Copy link
Author

image

@Myuuiii
Copy link
Owner

Myuuiii commented Feb 6, 2023

I'll continue working on this tomorrow, I'll keep you up to date

@mrtajniak
Copy link
Author

Yeah no problem

@Myuuiii
Copy link
Owner

Myuuiii commented Feb 7, 2023

Added another quick test, probably not a fix but worth a shot Release

@mrtajniak
Copy link
Author

I will be back home in like 4-5h 😜

@Myuuiii
Copy link
Owner

Myuuiii commented Feb 7, 2023

Haha no worries, take your time!

@mrtajniak
Copy link
Author

I am testing this release right now

@mrtajniak
Copy link
Author

Added another quick test, probably not a fix but worth a shot Release

Still "No DAW is running"

@mrtajniak
Copy link
Author

Can I give you something that will tell the software more precisely the program that has to be picked up by it

@Myuuiii
Copy link
Owner

Myuuiii commented Feb 8, 2023

mhm mhm sure, Sorry I've been quite busy lately

@mrtajniak
Copy link
Author

1 year after and we now have Nuendo 13 🙈

@No06LuSec
Copy link

Nuendo 13 and Cubase 13 (。_。)

@No06LuSec
Copy link

I'm not sure how Nuendo works because I don't use it so I can only talk about Cubase.

  1. First, when running Cubase, we will run the executable file Cubase[version].exe [ mine is version 13 -> Cubase13.exe ].
  1. After you Create Template (empty)
  1. After I researched, I was able to determine that msedgewebview2.exe is only used to get data for the News table. I was turned off the show News option in settings, in process it only running Cubase13.exe and we got this : https://imgur.com/a/B6Ps7Ah

  2. Next, I run Create Empty again and it will reopen an empty project window like : https://imgur.com/a/nD22hq8

I think creating an ID for Cubase or versions of Cubase is probably more feasible than Nuendo(because it seems to run too many programs at once). ヾ(•ω•`)o

@Myuuiii
Copy link
Owner

Myuuiii commented Mar 31, 2024

Ooh thank you for that information, I will test around with it and post a beta release soon!

@Myuuiii
Copy link
Owner

Myuuiii commented Mar 31, 2024

Alright I've created a testing release for Cubase, it can be found here Let me know if it detects cubase and displays a project once it is open.

Please note that it won't detect Cubase if you are in the Cubase Hub. If this works I can add support for that too

@No06LuSec
Copy link

Ok, I ran the beta test and to my surprise it identified Cubase Hud 👍
While in the Hud window, the RPC identified user is not in any project ✔

image
image

__________________________________________________________________________________________________
When you open an empty project, it will say Untitled as usual. Besides when I 'Save as TESTING', it will immediately update on Discord :
image
image
image

@Myuuiii
Copy link
Owner

Myuuiii commented Mar 31, 2024

Ayyy nice that's looking good, I do see I removed a clearing line so I will fix that real quick, I'm glad to see that it works!

@No06LuSec
Copy link

Because Hud Cubase work so when quit project it will not reset time total on Discord RPC

@Myuuiii
Copy link
Owner

Myuuiii commented Mar 31, 2024

Do you want the time to reset when you go back to the Hub?

@No06LuSec
Copy link

No06LuSec commented Mar 31, 2024

if so possible it should be option if people like it :3 but for me it fine not so important 👍

@Myuuiii
Copy link
Owner

Myuuiii commented Mar 31, 2024

Alrighty, I'll add it to the backlog as an extra option! ヾ(•ω•`)o

@Myuuiii
Copy link
Owner

Myuuiii commented Mar 31, 2024

It has been created under #13
I will work on it when I find the time to do so!

@Myuuiii Myuuiii linked a pull request Mar 31, 2024 that will close this issue
@No06LuSec
Copy link

Okiii (●'◡'●), Just take your time when it's convenient :3

@Myuuiii Myuuiii mentioned this issue Mar 31, 2024
@No06LuSec
Copy link

I just discovered something strange: RPC will confirm that we are not working on a Project if we hover over the Options bar. ÓwÒ) hmmmm that kinda weird

@Myuuiii Myuuiii reopened this Mar 31, 2024
@Myuuiii
Copy link
Owner

Myuuiii commented Mar 31, 2024

hmm that's a bit weird, Its possibly because the process' window name changes when you hover over certain options. I will look into that!

@No06LuSec
Copy link

image

@Myuuiii
Copy link
Owner

Myuuiii commented Mar 31, 2024

I see, it will be a bit difficult to maybe differentiate this state from the one where you aren't working on a project. Because when the project is blank, we assume you are not working on a project, but the same state is shared with when you are hovering over a menu item. I will try to think of a fix and implement it as soon as possible!

@No06LuSec
Copy link

I was confirm that the window name does not change whether in the project window or in the process list ÓwÒ . (if it take to much your time, you just can leave it ÓwÒ )

@Myuuiii
Copy link
Owner

Myuuiii commented Mar 31, 2024

Aah I see, hmm I might have to do some more research then. Thank you for the information, I will move it to the backlog as an issue and look into it later!

@No06LuSec
Copy link

Regarding the validation that RPC is doing it is focusing on the project window, it is determined through focus, meaning if we open project 2 while running project 1, selecting the project window will change name on RPC

@No06LuSec
Copy link

No06LuSec commented Mar 31, 2024

image

@Myuuiii
Copy link
Owner

Myuuiii commented Mar 31, 2024

that's the intentional workings, because the focused project is probably the one you are actively working on. I can also change that to only detect the first window and not change depending on focus

@No06LuSec
Copy link

No06LuSec commented Mar 31, 2024

(>w<)👍 I just wanted to provide information if it might be helpful to you. But defining the project like above seems quite good, especially when having to run Cubase in the studio ( running multiple projects at once >5 ).

@Myuuiii
Copy link
Owner

Myuuiii commented Mar 31, 2024

Ultimate multi-tasker! Maybe I can add a menu so you can manually update it, so you select the window you want, and then go into the app and say "persist selected window" or something!

@No06LuSec
Copy link

(👍≧ w ≦)👍 it sound amazinggg~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request IN PROGRESS
Projects
Development

Successfully merging a pull request may close this issue.

3 participants