[mythtv] LastFM support in MythMusic

Paul Harrison mythtv at dsl.pipex.com
Tue Feb 26 16:25:17 UTC 2008

Willem Ligtenberg wrote:
> uint8_t *c_string = (uint8_t*)string.ascii();
> Also results in a core dump...
> or
> uint8_t *c_string = (uint8_t*)string.local8bit();
> QString doesn't have the function local8bit().
> So, it still doesn't work...
> Thanks though,
> Willem

Sorry that should be local8Bit()

Also just noticed that md5val is uninitialized so is pointing to some 
random address so you need to allocate the memory used something like this:-

uint8_t *md5val = malloc(8);

Paul H. 

More information about the mythtv-dev mailing list