IntroductionOriginally a Last.FM journal entry Details- The latest version of the AudioScrobbler protocol (1.2, handshaked by client versions 1.3.1.x) no longer support the use of np.php to obtain metadata.
- Whatever client version "you" feed handshake.php will determine the version of the protocol you will be using. In order to use np.php to obtain metadata the version Post variable (version=X) must be <= 1.3.0.0 (tested with 1.0.1.1).
- Your session will stay alive for about seven days.
- You will keep the same session ID regardless of how many handshakes are performed.
- You cannot change the protocol version while you have a session ID.
- A session ID is used every time you use the Last.FM Client Player; and will "automatically" be "renewed" upon expiration (making it generally impossible to reset the version to a version that allows you to use np.php to obtain metadata).
SolutionThe solution is to conform to AudioScrobbler protocol 1.2 specifications, which uses XSPFs to create a playlist of six songs. The XSPF file contains the metadata for the songs.
|