xgate1 / pylast

Automatically exported from code.google.com/p/pylast
Apache License 2.0
0 stars 0 forks source link

get_loved_tracks doesn't return a timestamp #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Please type example code that produces the issue:
user.get_loved_tracks()

What is the expected output? What do you see instead?
I'd like to see something similar to get_recent_tracks() which _does_ include a 
timestamp.

What version of pyLast is this?
0.4

Please provide any additional information below.
Something similar to the get_recent_tracks() method should suffice, and 
shouldn't be to hard to 
implement. I will have a look at it and post some code asap.

Original issue reported on code.google.com by wytse.ka...@gmail.com on 28 Jan 2010 at 6:17

GoogleCodeExporter commented 8 years ago
I've added a named tuple LovedTrack (like there is for PlayedTrack) which 
contains the timestamp and 
loved_date. See attached fix.

Original comment by wytse.ka...@gmail.com on 28 Jan 2010 at 6:35

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed in r219

Original comment by amr.hassan on 19 Feb 2010 at 5:51