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

Added support for listing/changing art mode mats #109

Merged
merged 4 commits into from
Sep 24, 2022

Conversation

dnetguru
Copy link
Contributor

@dnetguru dnetguru commented May 28, 2022

Added support for

  • listing supported art mode mats
  • setting mats on existing art
  • an example script that changes mats on all existing art

Tested on 2021 Frame TVs

Reference messages from network capture:


{"method":"ms.channel.emit","params":{"data":"{"request":"get_matte_list","id":"72cb249b-b44b-4a05-89e5-03cfe0f78ca6"}","to":"host","event":"art_app_request"}}

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

{"data":"{
  "id": "72cb249b-b44b-4a05-89e5-03cfe0f78ca6",
  "event": "matte_list",
  "matte_type_list": "[
  {
    "matte_type": "none"
  },
  {
    "matte_type": "myshelf"
  

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

{"method":"ms.channel.emit","params":{"data":"{"request":"change_matte","content_id":"MY_F0517","matte_id":"none","id":"5292a036-2ab2-4d19-906b-73e4321d75ff"}","to":"host","event":"art_app_request"}}

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

{"data":"{
  "id": "5292a036-2ab2-4d19-906b-73e4321d75ff",
  "event": "matte_changed",
  "matte_id": "none",
  "target_client_id": "326a44d-688-401c-89e1-b2271d27d39f"
}","event":"d2d_service_message","fro

@dnetguru
Copy link
Contributor Author

Fixes #107

@dnetguru
Copy link
Contributor Author

Fixed flake8 errors

Copy link
Collaborator

@epenet epenet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good (untested)
I wonder if it would be possible to implement all this ART functionnality inside the Async connection...

@xchwarze xchwarze merged commit ae5d2b3 into xchwarze:master Sep 24, 2022
@twilightgod
Copy link

@dnetguru is it possible to set to My Shelf style? I tried to use myshelf as matte type, but it doesn’t work

@dnetguru
Copy link
Contributor Author

Sorry it's been a while since I took a look at this. I might have some free time this weekend, might take a look.

Does this work for you for other matte types?
Can you share the code and/or network traffic?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants