Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added API's "from" and "to" parameters
Since the script always begins with the most recent tracks it is not very useful if one wants to get only the latest scrobbles without all the old tracks one might already have. For that the parameters "from" and "to" (in UNIX timestamp) are necessary, so I have added them as options. By default, they are empty (default=None), in which case the script works as before. A remark for future development: lastexport.py:132: DeprecationWarning: This method will be removed in future versions. Use 'list(elem)' or iteration over elem instead. if trackelement.find('artist').getchildren():
- Loading branch information
1 parent
6d3bf45
commit 9474e3c
Showing
1 changed file
with
23 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters