Skip to content

Adding HBO, Hulu, Peacock, and Paramount+#328

Merged
JeffLIrion merged 1 commit intoJeffLIrion:masterfrom
sergeknystautas:master
Jul 20, 2023
Merged

Adding HBO, Hulu, Peacock, and Paramount+#328
JeffLIrion merged 1 commit intoJeffLIrion:masterfrom
sergeknystautas:master

Conversation

@sergeknystautas
Copy link
Contributor

While working on a different feature, I noticed several of my regular apps were not mapped to friendly names, so adding them.

@JeffLIrion
Copy link
Owner

This might lead to some edge case if a user configures com.hulu.livingroomplus to display as "Hulu" because both that and com.hulu.plus would display as "Hulu." But launching "Hulu" would open com.hulu.livingroomplus. I think it's OK, though.

https://github.com/home-assistant/core/blob/e3b81ad1701440b87c025ce5005027b396f51d81/homeassistant/components/androidtv/media_player.py#L283-L293

@sergeknystautas
Copy link
Contributor Author

This might lead to some edge case if a user configures com.hulu.livingroomplus to display as "Hulu" because both that and com.hulu.plus would display as "Hulu." But launching "Hulu" would open com.hulu.livingroomplus. I think it's OK, though.

https://github.com/home-assistant/core/blob/e3b81ad1701440b87c025ce5005027b396f51d81/homeassistant/components/androidtv/media_player.py#L283-L293

Gotcha, yeah I wasn't sure if the names had to be unique. I was adding the (2) suffix to the names that seemed like duplicate to avoid that, but maybe that's not necessary.

@JeffLIrion JeffLIrion merged commit f1272e0 into JeffLIrion:master Jul 20, 2023
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.

2 participants