Hawkee commented on a Page, Updated NP script for Clementine [X-Chat]  -  Apr 26, 2013

Great to see some Python code. Welcome to the site!

ronnocoenahs  -  Apr 26, 2013

Thank you glad to be here

Jordyk19  -  Apr 29, 2013

Looks nice.

pehden  -  Oct 06, 2013

xchat.command("me playing on Clementine" + " :: " + unicode(metadata['artist']).encode('utf-8') + "::" + " Track #" + unicode(metadata['tracknumber']).encode('utf-8') + " :: " + unicode(metadata['title']).encode('utf-8') + " " + ":: " + unicode(metadata['album']).encode('utf-8') + " :: " + unicode(metadata['year']).encode('utf-8') + " :: " + unicode(metadata['audio-bitrate']).encode('utf-8') + bitrate + "kbps" " :: " + unicode(metadata['audio-samplerate']).encode('utf-8') + "KHz")

This is error with python3,
needs to be

xchat.command("me playing on Clementine" + " :: " + metadata['artist'] + "::" + " Track #" + ['tracknumber'] + " :: " + metadata['title']+ " " + ":: " + metadata['album'] + " :: " + metadata['year'] + " :: " + metadata['audio-bitrate'] + bitrate + "kbps" " :: " + metadata['audio-samplerate'] + "KHz")

Sign in to comment

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.