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

Version 1: First E2E Version of the System (DO NOT MERGE) #13

Open
wants to merge 1 commit into
base: add-cli
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions bin/cli.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
"""
Run this script from within the /bin directory:

cd bin/
python3 cli
"""
import sys

sys.path.append('../')
Expand Down
4 changes: 2 additions & 2 deletions play_controller/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def control_pause(entity):
return 'Not implemented'


def control_foward(entity):
def control_forward(entity):
# TODO: implement
return 'Not implemented'

Expand All @@ -32,7 +32,7 @@ def default(entity):
'control_play': (['start', 'play '], control_play),
'control_stop': (['stop'], control_stop),
'control_pause': (['pause'], control_pause),
'control_foward': (['skip', 'next'], control_foward),
'control_forward': (['skip', 'next'], control_forward),
'query_artist': (['who', 'artist'], query_artist),
'default': ([''], default),
}
Expand Down