server.py: Added last track function