Last active
May 7, 2016 19:05
-
-
Save taylordelehanty/48f385b9ea774eb7eab97680761873d0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! usr/bin/python | |
| #currently python3 | |
| import py2neo as py | |
| class MusicTraverser: | |
| def getSong(): | |
| # gets the information needed from the neo4j graph and sends request to lastfm API to play song | |
| pass | |
| def playSong(): | |
| # need to manage audio | |
| pass | |
| def waitUntilSongIsOver(): | |
| # need to make sure the next song doesn't start playing until the current song is over | |
| def nextSong(): | |
| # checks nearby nodes and randomly(?) chooses one as the next song | |
| pass | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment