Permalink
Browse files

minor unfixups

  • Loading branch information...
1 parent b4120ba commit 8eafa8f4c7edbbb2e18303865c6f00c513685fe0 @comotion committed Oct 30, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −1 setup.sh
  2. +1 −1 web/lib/getracks.lua
  3. +1 −1 web/lib/playlist.lua
  4. +1 −1 web/lib/program.lua
View
2 setup.sh
@@ -45,7 +45,7 @@ case $os in
cd tokyocabinet-1.4.47 && ./configure && make ;make install
cd -
[ -d tokyotyrant-1.1.41 ] || wget http://fallabs.com/tokyotyrant/tokyotyrant-1.1.41.tar.gz -qO - | tar xzf -
- cd tokyotyrant-1.1.41 && ./configure && make
+ cd tokyotyrant-1.1.41 && ./configure --enable-lua && make
make install
cd -
[ -d tokyocabinet-lua-1.10 ] || wget http://fallabs.com/tokyocabinet/luapkg/tokyocabinet-lua-1.10.tar.gz -qO - | tar xzf -
View
2 web/lib/getracks.lua
@@ -34,7 +34,7 @@ for path in io.lines() do
tag.md5 = md5:final()
-- check if we have that hash
print(u.dump(tag))
- --id = tracks:add(tag)
+ id = tracks:add(tag)
-- move the file to the proper place
-- symlink to canonical name? (for ease)
end
View
2 web/lib/playlist.lua
@@ -8,7 +8,7 @@ module(..., package.seeall)
function playlist:init()
return tokyo:init("playlists")
end
-pls = tokyo:init()
+pls = playlist:init()
function playlist:put(pkey,cols)
View
2 web/lib/program.lua
@@ -21,7 +21,7 @@ module("program", package.seeall)
function program:init()
return tokyo:init("programs")
end
-prg = tokyo:init()
+prg = program:init()
function program:put(pkey,cols)
return tokyo:put(prg,pkey,cols)

0 comments on commit 8eafa8f

Please sign in to comment.