libsaria: inc_count() in sources

Doesn't do anything yet, but it will eventually (once I start tracking
dynamic attrs)
This commit is contained in:
Bryan Schumaker 2011-05-24 08:02:18 -04:00
parent 6b0ccce530
commit 9505373198
2 changed files with 5 additions and 1 deletions

View File

@ -46,7 +46,7 @@ def pick_next():
pause_after = False
def catch_eos(*args):
library.inc_count()
libsaria.sources.inc_count()
pick_next()
def next():

View File

@ -36,6 +36,10 @@ class Source:
except:
return False
def inc_count():
# This will eventually increment a play count...
pass
def get_attrs_id(id, *attrs):
return library.get_attrs(id, *attrs)