diff options
author | Michael Wittig <michael.wittig@fu-berlin.de> | 2010-10-14 11:47:06 +0200 |
---|---|---|
committer | Michael Wittig <michael.wittig@fu-berlin.de> | 2010-10-14 11:47:06 +0200 |
commit | 1fe579064197fbab2473136618a9a59dba12cac6 (patch) | |
tree | dca542651ce6b7a2d548fde6d8d1492631e91303 | |
parent | 7f7862efc17932637234f54e4faa503ed356b4ce (diff) | |
download | erlang-1fe579064197fbab2473136618a9a59dba12cac6.tar.gz erlang-1fe579064197fbab2473136618a9a59dba12cac6.tar.xz erlang-1fe579064197fbab2473136618a9a59dba12cac6.zip |
media server fixed playing
-rw-r--r-- | server/media.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/media.erl b/server/media.erl index f73de20..91fc34b 100644 --- a/server/media.erl +++ b/server/media.erl @@ -51,7 +51,7 @@ insert(Artist, Title, Filepath) -> % We want to query in order to simplify the next calls. ask(Artist, Title) -> F = fun() -> - mnesia:match_object({track, Artist, Title, '_', '_', '_'}) + mnesia:match_object({track, Title, Artist, '_', '_', '_'}) end, {atomic, Results} = mnesia:transaction(F), Results. |