Skip to content

Commit

Permalink
new idea
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-raheem committed Mar 18, 2012
1 parent 8fbf8f7 commit 116bf34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions README.md
@@ -1,10 +1,11 @@
Jukebox
##Jukebox
========

Jukebox is designed to take RFID data (or any data via a serial device) using this code it checks a database to find what command to run.

So you may tag a CD case and have jukebox load the album playlist.
Or you may use a barcode scanner and have it update a shopping list when yout ake stuff out of the fridge.
- So you may tag a CD case and have jukebox load the album playlist.
- Or you may use a barcode scanner and have it update a shopping list when yout ake stuff out of the fridge.
- My favourite, tag a picture and have it the digital form or album!

To use this code put a character source in a serial port, default port used is /dev/ttyACM0 alter parse() to handle
your data.
Expand Down
2 changes: 1 addition & 1 deletion jukebox.py
Expand Up @@ -48,7 +48,7 @@ def play(code):
name = result[1]
lastTag = code
print "Loading %s..."%name
os.system(cmd)
os.system(cmd+" &")
else:
print "Tag not found!"
if(raw_input("Would you like to add it? [y/n] ")!='y'):
Expand Down

0 comments on commit 116bf34

Please sign in to comment.