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:
parent
6b0ccce530
commit
9505373198
|
@ -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():
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue