Page 1 of 1

Bug in function GetPicture()

Posted: 2005-05-07 17:33:27
by atomek2000
Bug in function GetPicture() in scripts AMC 3.5.0, ex. for Filmweb (PL).
When name picture's have more than one dot, GetPicture() not found picture.
For ex. "Joe Black" (http://www.filmweb.pl/Film?id=74) have this link to picture: http://gfx.filmweb.pl/f/74/74.jpg and picture is load,
but for ex. "Finding Nemo" (http://gdzie.jest.nemo.filmweb.pl/) have this link to picture: http://gfx.filmweb.pl/f/36042/po.6902285.jpg and picture doesn't load.
I analysed script and pictures with more than one dot in name doesn't load. This problem is in function GetPicture()
Filmweb script use www.filmweb.pl.
In AMC 3.4.3 it was OK, but in AMC 3.5.0 it isn't OK.

Posted: 2005-05-07 19:58:12
by antp
It's funny because the bug seems to be corrected by another bug correction that I made today.
It seems to work in version 3.5.0.1 but not in 3.5.0.0 as you said.
You can test it with this version:
viewtopic.php?p=11183

Posted: 2005-05-08 14:58:42
by atomek2000
Thanks it's working :)
Here is new script for Filmweb.pl for AMC 3.5.0.1:
http://klub.chip.pl/atomek2000/Filmweb_ ... 20(PL).ifs
and for AMC 3.4.3:
http://klub.chip.pl/atomek2000/Filmweb_ ... 20(PL).ifs