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
Pianoteq 7.2.0 PRO appears as STANDARD in the Zynthian UI #351
Comments
It seems like Moddart changed the ID string format when running " ./pianoteq --version". Or perhaps they are using the same binary file for STANDARD and PRO. For solving this we should look for the version on the prefs file instead of using "pianoteq --version". |
@bigmalletman |
That looks good, doesn't it? |
After applying the patch to zynthian_engine_pianoteq.py and re-uploading the binary, I see three files in ~/.config/Modartt. I'm not sure why it is appending "PRO" to filenames and still attempting to read from both. The pianoteq executable stopped appending "PRO" to the file in version 7. |
Okay... i fixed everything on my setup by changing at zyngine/zynthian_engine_pianoteq.py:228. if PIANOTEQ_PRODUCT == "STANDARD": PIANOTEQ_CONFIG_FILENAME = "{}.prefs".format(PIANOTEQ_NAME) else: PIANOTEQ_CONFIG_FILENAME = "{} {}.prefs".format(PIANOTEQ_NAME, PIANOTEQ_PRODUCT) to just PIANOTEQ_CONFIG_FILENAME = "{}.prefs".format(PIANOTEQ_NAME) I am a C/C++/Java programmer, not a Python programmer. Trying to trace this is interesting. I now only have ONE Pianoteq74.prefs in ~/.config/Modartt I realize I probably should have included if PIANOTEQ_VERSION[0] > 6 somewhere to ensure this works with older versions of pianoteq where "PRO" would be appended to the prefs file... |
if PIANOTEQ_VERSION[0] > 6: PIANOTEQ_CONFIG_FILENAME = "{}.prefs".format(PIANOTEQ_NAME) else: if PIANOTEQ_PRODUCT == "STANDARD": PIANOTEQ_CONFIG_FILENAME = "{}.prefs".format(PIANOTEQ_NAME) else: PIANOTEQ_CONFIG_FILENAME = "{} {}.prefs".format(PIANOTEQ_NAME, PIANOTEQ_PRODUCT) I guess? |
So you are telling me, that if you deleted all pref files, installed from scratch and applied the product key, Pianoteq would not start with activation because it requests the pref file without the PRO? |
I did delete all my pref files, but I simply cannot completely redo my Pianoteq from scratch with live performances so near in the future. |
I don't know why it was done. But I wouldn't change it. Maybe to have the option to keep Trial and other versions in parallel. |
@mheidt i have some free time today, so I'll make backups and test my theories and get back to you. |
Here's what I did... root@zetes:/zynthian/zynthian-sw/pianoteq6/arm-32bit# ls extra 'Pianoteq 7' 'Pianoteq 7.lv2' 'Pianoteq 7.so'
root@zetes:~/.config/Modartt# ls Pianoteq74.prefs 'Pianoteq74 PRO.prefs' Checking the prefs files... ... VALUE name="LKey" val="# Pianoteq key file (v7) # Product: Pianoteq 7 PRO # Licensed to: Daniel ... Pianoteq74\ PRO.prefs contains... very little... |
Upon a totally fresh reinstall of Pianoteq 7 and new prefs and activation. This change did not seem to fix. |
Ah damn, @jofemodo |
@dcoredump |
Unfortunately not. That was so long ago now that I can't remember. I havn't touchec the code since then either. But actually it should not be so problematic to change this. |
Ok. |
@bigmalletman Please try this:
|
I don't entirely understand the question. The binary is the same between Standard and Pro. Your activation determines which features you get, not the binary. My webUI is currently showing STANDARD, even though I have PRO activated, and I'm not sure how to get it to show PRO again like before. |
What I learned the last time is, that it's not on us to decide how to name the .prefs file. During the first run Pianoteq itself creates the file. We just have to adapt. |
* zynthian/zynthian-issue-tracking#547 repository page / PEP8 reformating * zynthian/zynthian-issue-tracking#547 repository page modifications * zynthian/zynthian-ui#351 Pianoteq PRO fixes Co-authored-by: Markus Heidt <markus.heidt@heidt-tech.com>
Great. |
What is the status of this one? Apparently my zynthian has had a lot of updates since last time I used. Now Pianoteq75 PRO.prefs is back. |
Not yet. We hope to release a new stable very soon, including all the latest changes. |
Stable release fixed this. |
Describe the bug
I am a PRO user. I appear as a PRO user in the Pianoteq UI, but Zynthian is reporting me as STANDARD. There does not appear to be a separate binary for PRO, or PRO reports itself differently now.
/zynthian/zynthian-sw/pianoteq6/arm-32bit/Pianoteq\ 7\ PRO
does not exist, it is just
/zynthian/zynthian-sw/pianoteq6/arm-32bit/Pianoteq\ 7
root@zetes:/zynthian/zynthian-sw/pianoteq6# ./pianoteq --version
Pianoteq version 7.2.0/20210212 – http://www.pianoteq.com/pianoteq
Copyright © 2021 Modartt.
in that Pianoteq72.prefs file…
VALUE name=“LKey” val="# Pianoteq key file (v7) # Product: Pianoteq 7 PRO # Licensed to: Daniel Wells # Computer: zetes # Date: Wed Mar 10 21:36:07 2021 …
root@zetes:/zynthian/zynthian-sw/pianoteq6# echo $PIANOTEQ_PRODUCT
STANDARD
root@zetes:/zynthian/zynthian-sw/pianoteq6# echo $PIANOTEQ_VERSION
7.2.0
root@zetes:/zynthian/zynthian-sw/pianoteq6# echo $PIANOTEQ_TRIAL
0
To Reproduce
I own Pianoteq PRO 7.2.0. I just downloaded it from https://www.modartt.com/. It is possible how Pianoteq reports STANDARD vs PRO has changed. There is not separate binary as far as I can tell.
Expected behavior
Although I don't think I'm missing any features, Zynthian should appear as PRO, not STANDARD
Screenshots
https://discourse.zynthian.org/uploads/default/optimized/2X/5/5d41168448da5329bc12490a1d3a10cbf2378784_2_435x500.png
https://discourse.zynthian.org/uploads/default/optimized/2X/2/2621bd73c6b9ae3825f73933fc731c895f826a61_2_690x150.png
https://discourse.zynthian.org/uploads/default/original/2X/a/a3305060b37ec97e421001a3abf29a1024c337e5.png
Additional context
Discourse for this issue: https://discourse.zynthian.org/t/zynthian-doesnt-realize-i-upgraded-to-pianoteq-pro-and-have-new-instruments/
The text was updated successfully, but these errors were encountered: