Moviemeter.nl problem

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.
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

No problem reported, I'll upload it on the server then
wvd
Posts: 96
Joined: 2006-08-02 22:21:20
Location: Nederland

Post by wvd »

Too bad!!

the script again doesn't works anymore

No results when searching for a movie by the Title.

It does work if you fill in the URL.

Hopefully someone can fix it again

Wim
Raoul_Volfoni
Posts: 863
Joined: 2006-08-31 23:58:18

Moviemeter 2.8.39 Update *For Testing*

Post by Raoul_Volfoni »

Hi Wim,

Here a 2.8.39 version for testing

- [Fix] Search title.
- [Fix] Rating, Country, Length, Category, Number of votes and Comments.

>>> MovieMeter 2.8.39 <<<
wvd
Posts: 96
Joined: 2006-08-02 22:21:20
Location: Nederland

Post by wvd »

Hello Raoul,

Strange!!
Some titles are going good:

The Recall and Beauty and the Beast

and also some not:

20th Century Women, Het Verlangen and Alone in Berlin


Wim
Raoul_Volfoni
Posts: 863
Joined: 2006-08-31 23:58:18

Moviemeter 2.8.40 Update *For Testing*

Post by Raoul_Volfoni »

Thank you for testing Wim. It should work now. I hope ^_^

Here a 2.8.40 version for testing

- [Fix] Search title.
- [Fix] Character decoding problem on some alternative titles

>>> MovieMeter 2.8.40 <<<
wvd
Posts: 96
Joined: 2006-08-02 22:21:20
Location: Nederland

Post by wvd »

Hi Raoul,

Thank you, it works fine again!!

:grinking: :grinking:

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

Post by antp »

I'll publish it; thanks Raoul!
wvd
Posts: 96
Joined: 2006-08-02 22:21:20
Location: Nederland

Post by wvd »

And again there's something wrong with the script.

Now the "rating" and the "certification" will not load anymore
And sometimes the picture won't load:
https://www.moviemeter.nl/film/1114780
https://www.moviemeter.nl/film/1115888

I don't know how to fix it :(

Hopefully someone can :)
Raoul_Volfoni
Posts: 863
Joined: 2006-08-31 23:58:18

Moviemeter 2.8.41 Update *For Testing*

Post by Raoul_Volfoni »

Hi Wim :)

Here a 2.8.41 version for testing

- [Fix] Search title.
- [Fix] Character decoding problem on some countrys
- [Fix] Picture on some titles
- [Fix] Rating
- [Fix] Certification

>>> MovieMeter 2.8.41 <<<

I wish you all a happy new year :)
wvd
Posts: 96
Joined: 2006-08-02 22:21:20
Location: Nederland

Post by wvd »

Hello Raoul,

For you of course also a very sparkling 2018.

Thanks for your help again

Everything works fine again except a little problem with the "Certification"
If the movie is "alle leeftijden" it does not load "AL" in the field.
If there's a number like 6, 9, 12 or 16 it goes well.

Try this movie "Lucky":
https://www.moviemeter.nl/film/1112041

greetings,
Wim
wvd
Posts: 96
Joined: 2006-08-02 22:21:20
Location: Nederland

Post by wvd »

A friend of mine made someting else for the script.

It puts the "URL" of the trailer on YouTube in the field "Compositor"
You can't start it from Ant Movie Catalog, but you can copy the URL in the browser to see the trailer

This is what you have to add to the script:


// Trailer
Value := TextBetween(Line, '<div id="player" class="player" data-youtube-id="','"></div>');
Release_info := RemainingText;
HTMLRemoveTags(Value);
HTMLDecode(Value);
Value := 'https://www.youtube.com/watch?v='+FullTrim(Value);
SetField(fieldComposer, Value);

Greetings,
Wim
Raoul_Volfoni
Posts: 863
Joined: 2006-08-31 23:58:18

Moviemeter 2.8.42 Update *For Testing*

Post by Raoul_Volfoni »

Hi,

Here a 2.8.42 version for testing

- [Fix] "alle leeftijden" certification
- [New] add an "Trailer" option to take or not the trailer

2 choices in this "Trailer" option :
-> 0 <- = No trailer link (set by default)
-> 1 <- = Trailer link in the composer field

>>> MovieMeter 2.8.42 <<<
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Thanks for your work! :)
I'm not sure that the composer field is the best choice for this kind of things, though :D
Raoul_Volfoni
Posts: 863
Joined: 2006-08-31 23:58:18

Post by Raoul_Volfoni »

Just did what Wim asked :p
wvd
Posts: 96
Joined: 2006-08-02 22:21:20
Location: Nederland

Post by wvd »

Hello Raoul and Antoine,

Raoul, the script works fine again and the Trailer option also! :grinking:
Just did what Wim asked :p
If you were a girl you would get a kiss from me! Haha


Antoine you're right that it may not be the right field for the Trailer but I didn't know what would be a better field to put it in.

But I thought it might be also interesting for other users so thats why I put it in a comment.

Thanks for the help again!

Greetings
Wim
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

I'll upload the script to the server then
pele
Posts: 72
Joined: 2009-02-21 20:25:57

Post by pele »

Thanks for the new script however the release info (extra field) is not showing/retrieving.
Raoul_Volfoni
Posts: 863
Joined: 2006-08-31 23:58:18

Moviemeter 2.8.43 Update *For Testing*

Post by Raoul_Volfoni »

Hi,

Here a 2.8.43 version for testing

- [Fix] release info

>>> MovieMeter 2.8.43 <<<

However i'm not sure it works properly. If it's not, please provide me some examples.
pele
Posts: 72
Joined: 2009-02-21 20:25:57

Re: Moviemeter 2.8.43 Update *For Testing*

Post by pele »

Raoul_Volfoni wrote:Hi,

Here a 2.8.43 version for testing

- [Fix] release info

>>> MovieMeter 2.8.43 <<<

However i'm not sure it works properly. If it's not, please provide me some examples.
It works thanks again. Can i modiy myself the script if there is a new version?
Raoul_Volfoni
Posts: 863
Joined: 2006-08-31 23:58:18

Post by Raoul_Volfoni »

Hi,

Not sure to understand well your question, but yes you can modify yourself the script with anykind of text editor or the editor include in AMC.
For the release info, i just changed one line, but here is the complete code block for release info.

Code: Select all

  // Release information
  if GetOption('Release info') <> 0 then
  begin
    Release_info := TextBetween(Release_info, '">', '</ul>');
    Release_info := StringReplace(Release_info, '<li>', #13#10);
    HTMLRemoveTags(Release_info);
    HTMLDecode(Release_info);
    Release_info := deleteMultiSpace(FullTrim(Release_info));
    if Release_info <> '' then
    begin
      Release_info := 'Release info :'+ #13#10 + Release_info + #13#10#13#10;
    end;
  end
  else
  begin
    Release_info := '';
  end;
Post Reply