[mythtv] LastFM support in MythMusic
wligtenberg at gmail.com
Tue Feb 19 10:42:46 UTC 2008
OK, I now I have code that compiles, but generates a runtime error...
This is the error that is generated:
mythfrontend: symbol lookup error:
/usr/local/lib/mythtv/plugins/libmythmusic.so: undefined symbol:
And it is created by the following line:
Thanks for any help,
On Feb 18, 2008 9:28 PM, Janne Grunau <janne-mythtv at grunau.be> wrote:
> On Monday 18 February 2008 20:34:10 Willem Ligtenberg wrote:
> > OK, I'm stuck on the MD5 stuff, which annoys me, because it shouldn't
> > be this hard...
> > Well as far as I know now, both md5's that are already in mythtv are
> > meant to be used for something else than Strings.
> define strings. libavutil's md5 operates on uint8_t* which are more or
> less c type strings. If you want to compute the md5 of QString use
> something like:
> uint8_t *my_md5(QString &string)
> uint8_t *md5val = malloc(8);
> uint8_t *c_string = string.local8Bit()
> av_md5_sum(md5val, c_string, strlen(c_string));
> return md5val;
> If you want the typical string result the command line md5sums returns
> print the eight uint8_ts as hexadecimal values.
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
More information about the mythtv-dev