summaryrefslogtreecommitdiffstats
path: root/mpdrast/process.py
diff options
context:
space:
mode:
Diffstat (limited to 'mpdrast/process.py')
-rw-r--r--mpdrast/process.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mpdrast/process.py b/mpdrast/process.py
index efe240d..da5d13b 100644
--- a/mpdrast/process.py
+++ b/mpdrast/process.py
@@ -29,4 +29,7 @@ def process_song(item):
if item.has_key("pos"):
item["pos"] = int(item["pos"])
+ if item.has_key("time"):
+ item["time"] = int(item["time"])
+
return item