Skip to content

Commit

Permalink
change song_id from an int to a string
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Banin committed Jan 16, 2016
1 parent 8862eef commit 35d476a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lilo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ def recognize_track(self):

def fingerprint_song(self):
# Now let's add this song to the DB
self.djv.fingerprint_file(self.filename, self.video_id, song_name=self.video_id)
self.djv.fingerprint_file(self.filename, self.video_id)
2 changes: 1 addition & 1 deletion lilo/dejavu/database_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class SQLDatabase(Database):
CREATE_SONGS_TABLE = """
CREATE TABLE IF NOT EXISTS `%s` (
`%s` mediumint unsigned not null auto_increment,
`%s` mediumint unsigned not null,
`%s` varchar(32) not null,
`%s` varchar(250) not null,
`%s` tinyint default 0,
`%s` binary(20) not null,
Expand Down

0 comments on commit 35d476a

Please sign in to comment.