-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
[WIP] Development Branch #35
base: master
Are you sure you want to change the base?
Conversation
Sounds like this should probably be a draft if there is no plan for it to be merged as is. |
Yes, this is a draft. I'm hacking on this branch to suite my own needs, but then separating out useful bits as standalone PRs. I marked the PR [WIP] for work in progress, but if there is a better way of marking it as a draft, let me know. |
No worries. There is a dropdown when you open a PR where you can choose to open it as a draft. |
0867eb1
to
51e8777
Compare
Some news on this. I've written code that creates an test server for testing and demo environments. I'm surprised how difficult it was to programatically setup a jellyfin server. It seems that the only official way to initialize a server is via manual interaction with the web-UI. However, I was able to work around this by discovering the REST calls the web-UI makes and replicating them in Python code. The function The first test I wrote with this demos the MediaGraph I've been working on:
And this prints:
The initial code is definitely rough, but with a bit of tweaking it should enable robust automated testing of the API. |
I've moved the demo server code into a separate submodule. |
This is a development branch where I'm hacking on the API. I will separate out individual features as smaller PRs to make review and merger easier. This branch is a single location where they all come together for my own use. I'm posting it as a PR for reference.
Contains: