movie trailer scripts

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.
anto33
Posts: 3
Joined: 2012-10-11 00:02:42

movie trailer scripts

Post by anto33 »

hi everybody
I'm new to this forum and was wondering does anyone know of a script to link the movies to their trailers on YouTube or imdb or Any website that has movie trailers.
thanks.
soulsnake
Posts: 756
Joined: 2011-03-14 15:42:20
Location: France

Post by soulsnake »

Hi,

I wrote a little script to search and set the embedded trailer link from YouTube in URL field or custom field 'Trailer'.
The script takes the first movie trailer found, so it is possible that there are some mistakes ;).
The script GetEmbeddedTrailerFromYouTube.ifs is here: http://mickaelvanneufville.online.fr/AMCU/scripts/

Soulsnake.
anto33
Posts: 3
Joined: 2012-10-11 00:02:42

Post by anto33 »

Thanks soulsnake

it worked a charm. very good and as I said it makes the catalog great.
Ant Movie cat is the best movie collectors programme. :)
the_observer
Posts: 62
Joined: 2009-11-12 05:53:14

Post by the_observer »

Hi soulsnake.

May i ask something?

When i press F6 in AMC your script GetEmbeddedTrailerFromYouTube.ifs is not showing although i see it in the AMC script directory.

I am only able to see it only if i pres shift+F6.

Am i doing something wrong ?
UPDATE: I was remembering that i had this problem in the past.The solution is here towards the end of the thread.

Btw ,thank you for this script.It works like a charm.

Thank you for your time reading this.

Regards,
the_observer.

P.S. Could this be done also for trailers from cine.gr cause it has greek subs.Probably this is asking too much.I am very happy as it is now.Just asking...
the_observer
Posts: 62
Joined: 2009-11-12 05:53:14

Post by the_observer »

Hi all,

the script GetEmbeddedTrailerFromYouTube.ifs is not working for me anymore.

Has someone else this problem or is it only me?

Regards,
the_observer
Raoul_Volfoni
Posts: 863
Joined: 2006-08-31 23:58:18

Post by Raoul_Volfoni »

Hi,

In the last version (1.1 (17/04/2013)) of GetEmbeddedTrailerFromYouTube script, you have to change the line 37 (in AMC editor) :

Code: Select all

  videoId := findInfo('data-context-item-id="', '"', page,'4');
By

Code: Select all

  videoId := findInfo('<a href="/watch?v=', '"', page,'4');
Original post
the_observer
Posts: 62
Joined: 2009-11-12 05:53:14

Post by the_observer »

Thank you very much Raoul.
Rostik
Posts: 1
Joined: 2014-03-25 10:18:30

Post by Rostik »

Just what i needed, thanks!
ririri
Posts: 22
Joined: 2012-10-14 16:42:55

Post by ririri »

Raoul_Volfoni wrote:Hi,

In the last version (1.1 (17/04/2013)) of GetEmbeddedTrailerFromYouTube script, you have to change the line 37 (in AMC editor) :

Code: Select all

  videoId := findInfo('data-context-item-id="', '"', page,'4');
By

Code: Select all

  videoId := findInfo('<a href="/watch?v=', '"', page,'4');
Original post
Bonjour,
Je suis un fervant utilisateur de AMC, et j'utilise beaucoup la recherche des Trailer, depuis quelques jours le script "GetEmbeddedTrailerFromYouTube " ne fonctionne plus :cry:

merci pour votre travaille. :grinking:
Bonne journée.
soulsnake
Posts: 756
Joined: 2011-03-14 15:42:20
Location: France

Post by soulsnake »

Hi,

The script has been updated to fix and prevent some YouTube changes.
Thanks to ririri.

The new script GetEmbeddedTrailerFromYouTube.ifs is here: http://mickaelvanneufville.online.fr/AMCU/scripts/

Soulsnake.
ririri
Posts: 22
Joined: 2012-10-14 16:42:55

Post by ririri »

soulsnake wrote:Hi,

The script has been updated to fix and prevent some YouTube changes.
Thanks to ririri.

The new script GetEmbeddedTrailerFromYouTube.ifs is here: http://mickaelvanneufville.online.fr/AMCU/scripts/

Soulsnake.
Merci Soulsnake pour ta correction rapide :grinking:

super cela fonctionne :grinking:
the_observer
Posts: 62
Joined: 2009-11-12 05:53:14

Post by the_observer »

Hi all,

i used to use this script and it was working quite alright.

Right now ,when i try to run it i get the message :

IOHandler is not valid

What is this and can i do something to fix it?

Thank you for your time reading this.

Regards,
the_observer.
soulsnake
Posts: 756
Joined: 2011-03-14 15:42:20
Location: France

Post by soulsnake »

Hi,

Youtube seems to force connection in HTTPS and this protocol is not handled by AMC for now.
I already start to had HTTPS for the next version of AMC.
You will have to wait the next version, sorry.

Soulsnake.
the_observer
Posts: 62
Joined: 2009-11-12 05:53:14

Post by the_observer »

No problem mate.

Wait is easy.
Create is difficult.

So i can wait and respect.

Regards,
the_observer.
the_observer
Posts: 62
Joined: 2009-11-12 05:53:14

Post by the_observer »

Hi ,

any news on this?
soulsnake
Posts: 756
Joined: 2011-03-14 15:42:20
Location: France

Post by soulsnake »

Hi,

I have already added and used OpenSSL to connect on websites using HTTPS protocol in the next update of AMC.
It works great !
But I have still to do some other stuff before to release update.
Don't worry, next update will be released soon, just wait a little more ;).

Soulsnake.
the_observer
Posts: 62
Joined: 2009-11-12 05:53:14

Post by the_observer »

Thank you mate.

As told, you do the difficult stuff (create) while i do the easy stuff (wait).

But i respect.

Regards,
the_observer.
soulsnake
Posts: 756
Joined: 2011-03-14 15:42:20
Location: France

Post by soulsnake »

Hi,

You can install the last update of AMC 4.2.1 [BETA] to fix the problem with HTTPS websites.
I have updated the script too. It is up to date in last update of AMC.

Last update of AMC : viewtopic.php?t=4844
The new script GetEmbeddedTrailerFromYouTube.ifs is here: http://mickaelvanneufville.online.fr/AMCU/scripts/

Soulsnake.
the_observer
Posts: 62
Joined: 2009-11-12 05:53:14

Post by the_observer »

Respect :grinking:
ririri
Posts: 22
Joined: 2012-10-14 16:42:55

Re: movie trailer scripts

Post by ririri »

Bonjour à tous,

Depuis quelques temps la fonction GetEmbeddedTrailerFromYouTube.ifs ne fonction pas correctement.

il y a une erreur qui apparait quand la fonction
page := GetPage(address);

est atteinte "http/1.1 400 Bad Request"

j'ai bien comme la référence de recherche sur "https://www.youtube.com......."

Avez-vous une solution ?

merci d'avance pour votre aide.
:grinking:
Post Reply