The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

RE: How best to collect stats for xplrionet play top 10 20 etc


  • Subject: RE: How best to collect stats for xplrionet play top 10 20 etc
  • From: "UKHA" <ukha@xxxxxxxxxxxxxxxxxxxxxxx>
  • Date: Thu, 03 Mar 2005 13:04:18 +0100
  • References: <MDAEMON-F200503031212.AA121811md50000214305@beagles-den.demon.co.uk>


Hi Tony,

On 03/03/2005 at 11:11 Tony Tofts wrote:

>> The table, once generated, can be used to find the real id of
>> a track/album and allow you to click it to add to the playlist
etc..
>
>So how do I create an md5 checksum?
>
>I can encrypt a string (actually a byte array) using md5, but any idea
how
>I
>sum the bits please?
>

Err, why... the source string (array) being encoded consists of the track
detail not an md5 sum of each element;s md5 added

Artist name + album name + track title

ie:

My Artist Name My Album Name My Track Title

literally generates

19ae0f498e8487add6fff0ea4b581c8b

(hex)

Even tiny changes result in a different value,

My Artist Name My Album name My Track Title

generates

737387eb3f3662d12218e40f656f9209

(hex) -  the only change in the source text is the 'n' in 'My Album Name'
is lower case in the 2nd example.


HTH

Andy




xPL Links: http://www.xplproject.org.uk http://www.xplhal.com http://www.xpl.myby.co.uk
To Post a Message: ukha_xpl@xxxxxxx
To Subscribe:  ukha_xpl-subscribe@xxxxxxx
To Unsubscribe:  ukha_xpl-unsubscribe@xxxxxxx

xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.