Jump to content
Nokioteca Forum

è Uscito Python X 3rd Edition


666
 Share

Recommended Posts

http://blogs.s60.com/s60multimedia/python_related.jpg http://blogs.s60.com/s60multimedia/top_artists.jpg

Python for S60 brings the power and productivity of the Python programming language to the S60 platform. The tools enable rapid application development and prototyping, and the ability to create stand-alone S60 applications written in Python.

If you're a Last.fm user (or know someone who is), you may know about Audioscrobbler, the engine behind Last.fm. Audioscrobbler provides a plugin protocol so that music player applications can update the server with the music you play, and exposes a set of public web services that let you access data and recommendations about Last.fm members and their favorite music.

What I haven't seen (so far) is any mobile interfaces to the Audioscrobbler database. In an attempt to fill this gap (and encourage others to experiment), I wrote a couple of simple Python scripts for S60 devices that demonstrate some of the query features of the Audioscrobbler API (This also gave me a chance to learn Python!). Read on for the details.

Of course, Last.fm is not the only social music game in town. Other services, like MusicStrands, are already experimenting with mobile clients, and offer their own public

The first script is a modification of the File Browser that is included with the S60 Python SDK. When you navigate to an MP3 file, you have the option of looking up related artists from Audioscrobbler. Right now, the script just displays the results, but this can potentially be extended to browse for more music, or information about the related artists. I tested this script on a Nokia N91 with release 1.3.8 of Python for S60.

The second script shows how you might integrate social music with your Contacts. In this case, if you add your friend's Last.fm ID to his or her contact information, you can find out their favorite artists or tracks. I tested this script on a Nokia 6630, using release 1.3.1 of Python for S60. Note: This script will NOT WORK on S60 3rd Edition devices. Platform security blocks access to the Contacts from Python.

Link to comment
Condividi su altri siti

Please sign in to comment

You will be able to leave a comment after signing in



Accedi Ora
 Share

×
×
  • Crea Nuovo...

Informazione Importante

Questo sito utilizza i cookie per analisi, contenuti personalizzati e pubblicità. Continuando la navigazione, accetti l'utilizzo dei cookie da parte nostra | Privacy Policy