- Allows users to create playlist, add and remove songs, recordings, tracks.
- Specific relationship was establised between recordings, songs, tracks, as shown in the UML diagram.
- The commands should allow establishing all the relationships that exist in the data model. For example: associating songs with recordings, or playlists with users, or songs with user playlists.
- Allows the users to follow other user's playlists as long as their playlists have same name, for which observer design pattern was used.
g++ -g -Wall *.cpp
./a.out
To execute the provided script file (scriptfile.txt
), type .read
This app allows users to add
, delete
and show
the mentioned features in the table below. In addition to those, the program also supports logging of the commands using .log
command.
Features | Keywords |
---|---|
User | -u |
Recording | -r |
Track | -t |
User's Playlist | -p |
For example, adding a user follows the syntax: add -u user_id "name"
To see the rest of the available commands supported by the program, type .help