-
Notifications
You must be signed in to change notification settings - Fork 1
/
user.py
48 lines (39 loc) · 1.36 KB
/
user.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
from enum import Enum
class UserMood(Enum):
HAPPY = 1
SAD = 2
ANGRY = 3
RELAXED = 4
class User:
def _init_(self):
self.name = None
self.session_id = None
self.current_mood = None
def selectSongFromPopularSongs():
'''Select a song to play from the list of Popular Songs'''
pass
def selectSongFromRecommendedSongs():
'''Select a song to play from the list of Recommended Songs'''
pass
def deleteSongFromCurrentSession():
'''Deleting a song from current session,
this requires a refresh of recommendations as the session changes'''
pass
def enableMoodRecommendations():
'''The user interface provides the user with a Toggle button
To enable the Mood based Recommendation system
This requires a refresh of recommendations'''
pass
def disableMoodRecommendations():
'''The user interface provides the user with a Toggle button
To disable the Mood based Recommendation system
This requires a refresh of recommendations'''
pass
def startSession():
'''The user is starting a fresh session
Verify if the session variables are cleared'''
pass
def endSession():
'''The user decides to end the current session
Clear all the session variables'''
pass