Page 13 of 15

Posted: 2018-01-30 10:55:58
by pele
Raoul_Volfoni wrote: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;
Yes you understood my question. If you forget to change the release info in future versions i can do it myself or you can add the line permantly :)

Thanks again

Posted: 2018-01-30 15:09:58
by Raoul_Volfoni
The release info feature is permanently present in the script, but due to changes on moviemeter website, we have to correct the script often. And sometimes i don't have time or i forgot to check all the feature of the script. But i count on you all to tell us if something goes wrong with the script :D

Posted: 2018-01-30 18:11:41
by antp
thanks, updated on the server

Re: Moviemeter.nl problem

Posted: 2018-04-02 19:41:18
by wvd
I'm sorry to say that there is already again a problem with the script.
There is oviously again something chanced on the website, the script doesn't find any movie anymore
Hope someone can fix it.

Thanx!

Greetings Wim

ps.
If you first search the movie on moviemeter.nl then copy the URL in the URL field
it will find the movie, when you have the option "batch mode" on.

Re: Moviemeter.nl problem

Posted: 2018-04-03 12:16:17
by pele
same thing here....

Re: Moviemeter.nl problem

Posted: 2018-04-04 08:41:13
by Raoul_Volfoni
Hi,

It's probably a cookie problem.(see picture)
Image

may be due to the cookie entry regarding the expiration date

Code: Select all

<script type="text/javascript">
                document.getElementsByClassName('CookiesOK')[0].addEventListener('click', function() {

                    var date = new Date();
                    date.setYear(date.getFullYear() + 1);
                    document.cookie = "cok=1; expires=" + date.toUTCString() + "; path=/";

                    location.reload();
                }); 
                </script>
Unfortunately, I've no time right now to look for a solution :(

Re: Moviemeter.nl problem

Posted: 2018-04-04 15:52:32
by wvd
Raoul,

Thanks for looking so far, I can wait until you have time.
I have a work around so no problem.
I will be patient

Greetings
Wim

Re: Moviemeter.nl problem

Posted: 2018-04-07 14:45:06
by StefMir
Hope you can find a solution Raoul, t.i.a.

StefMir

Re: Moviemeter.nl problem

Posted: 2018-04-07 18:53:55
by antp
If he does not have time I'll try to take a look one of these days, but I also have to find some time to make a proper beta release for the program itself.

Re: Moviemeter.nl problem

Posted: 2018-04-14 10:06:02
by Raoul_Volfoni
HI all,

@ antp
For multiple reasons I can't currently take care of scripts right now.
Sorry Antoine for the extra workload.

Re: Moviemeter.nl problem

Posted: 2018-04-14 13:25:46
by antp
No problem, all the work you did previously on this script and other was very appreciated, I can also sometimes take time on these ;)
I forgot it a little, I'll try to check that in the next days, now that the beta version of AMC is released.

Re: Moviemeter.nl problem

Posted: 2018-04-16 09:48:47
by Motorboot
I'm sorry to say that there is already again a problem with the script,Vs 2.8.43 dd 30-01-2018 - 19:01:36
There is oviously again something chanced on the website, the script doesn't find any movie anymore
Hope someone can fix it.

Re: Moviemeter.nl problem

Posted: 2018-04-16 16:01:51
by antp
What do you mean by "again"? There is a problem since two weeks :D
I should take some time to fix it, tomorrow maybe ;)

Re: Moviemeter.nl problem

Posted: 2018-04-16 20:34:59
by wvd
That would be very nice Antoine :) :)

Thanks,
Wim

Re: Moviemeter.nl problem

Posted: 2018-04-17 11:02:15
by handelaar
@Antoinne - thanks for willing to fix the problem.
@Wim - Thanks for the tip ' if you first search the movie on moviemeter.nl then copy the URL in the URL field
it will find the movie ', so we can still move forward with this.

Re: Moviemeter.nl problem

Posted: 2018-04-17 16:59:55
by antp
It was just a tiny change: a <li> tag in the search result that had extra attributes and then could not be found when searching for <li>, so now it is searching for <li instead.
Updated as v 2.8.44
Sorry for the delay for such a small fix required

Re: Moviemeter.nl problem

Posted: 2018-04-19 21:01:21
by wvd
Thanks for fixing the problem Antoine! :clapping: :grinking:

It works fine again!

Kindest regards
Wim

Re: Moviemeter.nl problem

Posted: 2018-05-03 17:45:24
by StefMir
thanks!!!!

Re: Moviemeter.nl problem

Posted: 2018-07-26 05:44:39
by wvd
Hi,

There's another problem with the script, the trailer didn't work anymore.
You have to give permission to show the trailer on Moviemeter.nl.

A friend of mine solved the problem, here is the solution to fix it:

OLD:

// Trailer
if GetOption('Trailer') <> 0 then
begin
if Pos('<h2>TRAILER</h2>', PageText) <> 0 then
begin
Value := TextBetween(PageText, '<div id="player" class="player" data-youtube-id="','">');
HTMLRemoveTags(Value);
HTMLDecode(Value);
Value := 'https://www.youtube.com/watch?v='+FullTrim(Value);
SetField(fieldComposer, Value);
end;
end;

NEW:

// Trailer
if GetOption('Trailer') <> 0 then
begin
if Pos('<h2>TRAILER</h2>', PageText) <> 0 then
begin
Value := TextBetween(PageText, '<a href="https://www.youtube.com/watch?v=','" >');
HTMLRemoveTags(Value);
HTMLDecode(Value);
Value := 'https://www.youtube.com/watch?v='+FullTrim(Value);
SetField(fieldComposer, Value);
end;
end;

Greetings,
Wim

Re: Moviemeter.nl problem

Posted: 2018-07-27 06:42:00
by antp
Thanks