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

Remote control interface #24

Open
Spacelord09 opened this issue Aug 17, 2019 · 11 comments
Open

Remote control interface #24

Spacelord09 opened this issue Aug 17, 2019 · 11 comments
Assignees
Labels
core MIDIMonster core enhancement Improvements on existing features
Projects

Comments

@Spacelord09
Copy link
Collaborator

@cbdevnet If you add a UI backend to configure IP addresses and stuff it would make some of my projects easier.

@Spacelord09
Copy link
Collaborator Author

A Web UI makes sense.

@cbdevnet
Copy link
Owner

cbdevnet commented Aug 17, 2019

Hmm interesting idea, would need to solve some questions first

  • Where would the web interface store configuration?
    ** Would it overwrite/edit a loaded configuration?
  • What should be configurable?
    ** Backends currently only take configuration at startup time, before events are translated
    ** The core does not know anything about channel names, these are completely backend-internal
    ** Channel (re-)mapping currently is not supported during translation, only at configuration time

It might make sense to relax some of these constraints (e.g. allow the channel map to be reconfigured at runtime), but that still would require new APIs for mapping introspection (as backends currently have no insight into where their events go, they just push them to the core which does the rest).

I can see the appeal, but this is going to be a larger rework of some core limitations, so it might be some time until it happens.

@cbdevnet cbdevnet added core MIDIMonster core enhancement Improvements on existing features labels Aug 17, 2019
@cbdevnet cbdevnet changed the title UI Backend for Settings. Remote control interface Aug 17, 2019
@cbdevnet cbdevnet self-assigned this Aug 17, 2019
@Spacelord09
Copy link
Collaborator Author

I think this Idea is a seperate Software that configures and starts the midimonster.

@Spacelord09
Copy link
Collaborator Author

@cbdevnet Warum schreiben wir eigendlich nicht in Deutsch? ;DD

@cbdevnet
Copy link
Owner

Naja die Arbeitssprache der Informatik ist halt schon Englisch, wenn man programmiert ist man meistens eh schon in nem eher englischen Kontext ;) Dazu kommt dass ich die Software gerne international halten wuerde, aber prinzipiell hab ich auch nichts gegen Deutsch. Sachen die auch wichtig/interessant fuer andere Leute sind, die die Issues anschauen, wuerde ich wahrscheinlich nochmal Englisch drunterschreiben damit man das auch beim nachlesen versteht. Ich reg mich auch manchmal auf wenn Issues oder Code die mich interessieren ploetzlich nur noch auf Russisch weiterdiskutiert werden :D

@Spacelord09
Copy link
Collaborator Author

Jo stimmt. Ich denke man sollte eine extra software dafür proggen, die dann nach der Configuration das midimpnster startet. Verstehst du was ich meine?

@cbdevnet
Copy link
Owner

Kann mir das auch ganz gut als integriertes Interface (also ne REST-API oder so) vorstellen, das braeuchte dann eben mehr Integration (siehe oben).

Als Extra-Tool hat man fast die gleichen Probleme, tendentiell muss man ja irgendwie pruefen dass eingegebene Channel-Namen gueltig sind (das weiss nur das Backend selbst) und welche Konfigurationsoptionen (mit welchen gueltigen Werten) es gibt - das ist bisher programmatisch nicht so recht abfragbar, und einfach hart reinprogrammieren wuerde ichs ungern, da man dann fuer jedes neue Backend an mehr Stellen anpacken muss.

@Spacelord09
Copy link
Collaborator Author

Dann bastel mal was schönes😉
(Hast du meine Mail erhalten?)

@cbdevnet
Copy link
Owner

Jop ich schau mal wies voran geht :) Muss mal schauen, Mails lese ich nicht so haeufig, aber angekommen sollte sie sein :)

@Spacelord09 Spacelord09 added this to Planned / Ready for development in Core Aug 24, 2019
@jduepmeier
Copy link
Contributor

jduepmeier commented Nov 18, 2021

ich habe mal einen controller zu schreiben: https://github.com/jduepmeier/midimonster-controller

das ist ein simples webinterface, dass die Config schreiben kann und dann den service neustartet. Service management geht mit systemd oder einfach mit Subprozessen.

Ich bin gerade noch dabei das richtig zu releasen.

Edit: ist jetzt released in Version 0.1.0

@Spacelord09
Copy link
Collaborator Author

Hey @jduepmeier,
cooles Projekt! Ich werde es die Tage mal austesten ;)
Wenn du möchtest kannst du für dein Projekt gerne einen Artikel in unserer KnowledgeBase schreiben(https://github.com/control8r/midimonster-knowledge-base).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core MIDIMonster core enhancement Improvements on existing features
Projects
Core
  
Planned / Ready for development
Development

No branches or pull requests

3 participants