imdb script, ratings are floored

If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
Post Reply
elman
Posts: 226
Joined: 2005-01-03 09:05:35

imdb script, ratings are floored

Post by elman »

hi,

just found a small bug with imdb script. I don't use decimals, just integers. When a movie is imported, rating is floored (e.g. 3,8 becomes 3) and it should be rounded. I looked into a script, but there is only call of procedure

Code: Select all

SetField(fieldRating, TextBetween(Value, '<b>', '/'));
and that one is found in MovieCatalog.exe, so I can't fix it :/

Elman
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

I'll see if I can easily make ratings rounded rather than truncated when displayed as Integer within AMC ;)
Post Reply