I was taking a flag that I used to determine which list func to call. I think it is simpler to take a function pointer passed from either list_playlist() or list_queue() |
||
---|---|---|
.. | ||
playlist | ||
queue | ||
__init__.py | ||
file.py | ||
index.py | ||
library.py | ||
track.py |
I was taking a flag that I used to determine which list func to call. I think it is simpler to take a function pointer passed from either list_playlist() or list_queue() |
||
---|---|---|
.. | ||
playlist | ||
queue | ||
__init__.py | ||
file.py | ||
index.py | ||
library.py | ||
track.py |