memoryfm.ScrobbleLog.tail#

ScrobbleLog.tail(n=None)#

Create a ScrobbleLog containing the last n scrobbles from the original.

Parameters:
nint, default None

The number of Scrobbles to use in the new ScrobbleLog. If None, then the last 5 Scrobbles will be used.

Returns:
ScrobbleLog

Returns a new ScrobbleLog containing the last(latest) n scrobbles from the original.