Skip to content

Adjusted for homey 1.5.12 + logout#4

Open
plarsson wants to merge 1 commit intodenniedegroot:masterfrom
plarsson:dev
Open

Adjusted for homey 1.5.12 + logout#4
plarsson wants to merge 1 commit intodenniedegroot:masterfrom
plarsson:dev

Conversation

@plarsson
Copy link
Copy Markdown

  • added logout so iTunes doesn't prevent mac sleep

@plarsson plarsson changed the title adjusted for homey 1.5.12 Adjusted for homey 1.5.12 + logout Nov 11, 2018
@plarsson
Copy link
Copy Markdown
Author

plarsson commented Dec 7, 2018

Hi, can you have a look on this, please let me know if I should change something?

The logout function will fix so that iTunes doesn't prevent Mac from sleeping. For example the logout could be sent in a 'good night' flow etc.

@denniedegroot
Copy link
Copy Markdown
Owner

Hi there, sorry I did not see your pull-request until now. It look goods to me, but I have one question. Why did you remove the "pause" entry from the app.json?

@plarsson
Copy link
Copy Markdown
Author

Hi, no problem. It seems that they're not allowing pause there anymore.
This is the error I get if I put it back:

✖ Homey App did not validate against level debug:
[
{
"keyword": "enum",
"dataPath": ".media[1]",
"schemaPath": "#/properties/media/items/enum",
"params": {
"allowedValues": [
"play",
"search",
"getPlaylist",
"getPlaylists"
]
},
"message": "should be equal to one of the allowed values"
}
]

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