Author Topic: MyMovies.it script for movies and people  (Read 10103 times)

0 Members and 1 Guest are viewing this topic.

Offline Thiezar

  • Member
  • *
  • Posts: 16
    • View Profile
MyMovies.it script for movies and people
« on: May 22, 2010, 12:25:25 pm »
Hi everybody  ;D
I noticed PVD doesn't have a script for retrieving information from MyMovies.it which is a great movie database.
Since I'm italian and I want my movie and people informations in italian, and I really dont' like the existing plug-in for FilmUP.it because there aren't enough data, I've made two scripts.  ;)
They work fine in general but they have some bugs I'm working on.
For example sometimes, if there isn't a poster or a photo aviable they go into loop  :-\
Due to a bad organization of the data in MyMovies.it often the awards aren't registered very well, expecially the name of the winner/nominated.
However I let you try my scripts while waitin for bug fixes.
Enjoy and make suggestions please  :)

[attachment deleted by admin]
« Last Edit: May 25, 2010, 03:12:16 pm by Thiezar »

Offline Thiezar

  • Member
  • *
  • Posts: 16
    • View Profile
Re: MyMovies.it script for movies and people
« Reply #1 on: May 25, 2010, 03:07:47 pm »
Ok i fixed a few bugs. Now it should work fine. It should not run into loop anymore. I updated the attachments into the first post.

Offline Zacca

  • User
  • ***
  • Posts: 117
    • View Profile
Re: MyMovies.it script for movies and people
« Reply #2 on: May 29, 2010, 05:33:06 pm »
I test it now

Mille grazie  ;D

Offline Zacca

  • User
  • ***
  • Posts: 117
    • View Profile
Re: MyMovies.it script for movies and people
« Reply #3 on: May 29, 2010, 05:47:02 pm »
O ho qualche problema io o non salva l'URL della scheda nella chiamata URL
The script don't save the URL

Cmq complimenti..bello scriptino  ;D

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1898
    • View Profile
Re: MyMovies.it script for movies and people
« Reply #4 on: May 29, 2010, 08:31:02 pm »
Zacca,rating may manipulated like this here sure verified work.
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


Offline Thiezar

  • Member
  • *
  • Posts: 16
    • View Profile
Re: MyMovies.it script for movies and people
« Reply #5 on: May 30, 2010, 02:55:05 pm »
O ho qualche problema io o non salva l'URL della scheda nella chiamata URL
The script don't save the URL

Cmq complimenti..bello scriptino  ;D

Non capisco...intendi dire che non registra come informazione il campo URL o che lo script si blocca quando entra nella scheda del film.
Nel primo caso no, non lo fa...non mi è mai piaciuto l'URL nelle mie schede dei film e non l'ho fatto :-p ma se volete lo metto.
Nel secondo caso spiegami meglio il problema e vedrò di risolverlo. Magari posta anche il Log.

Offline claudio54

  • Member
  • *
  • Posts: 4
    • View Profile
Re: MyMovies.it script for movies and people
« Reply #6 on: May 31, 2010, 11:28:54 pm »
C'è un problema sull'update dei campi quando questi sono già valorizzati. Ad esempio non modifica/corregge il titolo se diverso da quello presente sul db, se la descrizione c'è già (magari presa da un altro script o inserita a mano)  non la sostituisce . Cosi gli altri campi. Comunque grazie per il lavoro svolto.
p.s. : non c'è possibilità di scaricare anche immagini?

Offline Zacca

  • User
  • ***
  • Posts: 117
    • View Profile
Re: MyMovies.it script for movies and people
« Reply #7 on: June 01, 2010, 09:01:51 pm »
Non capisco...intendi dire che non registra come informazione il campo URL o che lo script si blocca quando entra nella scheda del film.
Nel primo caso no, non lo fa...non mi è mai piaciuto l'URL nelle mie schede dei film e non l'ho fatto :-p ma se volete lo metto.
Nel secondo caso spiegami meglio il problema e vedrò di risolverlo. Magari posta anche il Log.

Nel senso di... non registra l'http:..... nel campo URL che mi sembra, per gli standard degli altri script, che sia meglio metterlo. cmq fai te  ;)

Offline Thiezar

  • Member
  • *
  • Posts: 16
    • View Profile
Re: MyMovies.it script for movies and people
« Reply #8 on: June 01, 2010, 10:28:31 pm »
non modifica/corregge il titolo se diverso da quello presente sul db, se la descrizione c'è già (magari presa da un altro script o inserita a mano)  non la sostituisce . Cosi gli altri campi.

Per il titolo all'inizio credevo fosse meglio che l'utente a decidesse il titolo esatto quindi lo script non scarica il titolo dal sito. Però ora credo sia meglio scaricarlo. Provvederò.
Per gli altri campi devi configurare lo script nelle impostazioni come tutti gli altri. Per ogni campo ci sono 3 opzioni:
-quadratino vuoto: il campo non viene aggiornato
-quadratino pieno: il campo viene aggiornato solo se vuoto
-spunta: il campo viene sempre aggiornato

Offline Thiezar

  • Member
  • *
  • Posts: 16
    • View Profile
Re: MyMovies.it script for movies and people
« Reply #9 on: June 01, 2010, 10:30:48 pm »
Nel senso di... non registra l'http:..... nel campo URL che mi sembra, per gli standard degli altri script, che sia meglio metterlo. cmq fai te  ;)

No in questo caso è proprio lo script che non scarica l'URL. Non l'ho fatto. Però a quanto pare la cosa crea problemi con le relazioni del database. Ecco perchè gli altri script lo mettevano sempre XD. Qundi correggerò questa cosa. A breve troverai un update ;-)

Offline claudio54

  • Member
  • *
  • Posts: 4
    • View Profile
Re: MyMovies.it script for movies and people
« Reply #10 on: June 01, 2010, 11:06:30 pm »
ciao, ti confermo che anche mettendo la spunta nella configurazione, non vengono aggiornati i campi ,infatti resta il valore precedente se c'era. Ad esempio nella descrizione, se vuota, la riempie, ma se è già valorizzata non la sostituisce. Cosi anche per gli altri campi (ho messo il segno di spunta su tutti).

Offline claudio54

  • Member
  • *
  • Posts: 4
    • View Profile
Re: MyMovies.it script for movies and people
« Reply #11 on: October 08, 2010, 01:05:14 pm »
Novità ?

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1898
    • View Profile
Re: MyMovies.it script for movies and people
« Reply #12 on: May 18, 2011, 12:49:57 pm »
When I fixed this rating:

Previous proper
curPos := curPos + 26;

Now proper
curPos := curPos + 47;

and rating functions.

[attachment deleted by admin]
« Last Edit: May 20, 2011, 09:31:13 pm by Ivek23 »
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


Offline Cycloptux

  • Member
  • *
  • Posts: 5
    • View Profile
Re: MyMovies.it script for movies and people
« Reply #13 on: September 05, 2011, 01:46:31 pm »
Mymovies scripts seems kind of broken... Not sure if it's me, but it's been a couple weeks that apparently, when looking for a movie on mymovies.it, when the search box appears to confirm the movie, the first 5 characters don't appear. That brings to an error when selecting the movie. This happens with both mymovies and mymovies_NotFound scripts, and they were both working before that day. I attached some screenshots for you to see on your own. Using mymovies or mymovies_NotFound gives exactly the same result (same errors, 500 or 404). Is it just me?
I've already sent an email to nostra about this, he said he'd investigate but I guess he's busy at the moment.


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1898
    • View Profile
Re: MyMovies.it script for movies and people
« Reply #14 on: September 06, 2011, 08:15:47 am »
Welcome Cycloptux.

Until solve problems described script, here's a temporary solution to your problems called mymoviesthiezar_movie_mod, which otherwise might seem a bit slower than the previously added mymoviesthiezar_movie.

It is now added to the URL in mymoviesthiezar_movie_mod script.

In previous versions mymoviesthiezar_movie url not added in script, so there was no transfer URL information.

[attachment deleted by admin]
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1898
    • View Profile
Re: MyMovies.it script for movies and people
« Reply #15 on: September 06, 2011, 12:44:20 pm »
A little advice:
When searching for information used first mymoviesthiezar_movie_mod script, but if no transmission all data or a movie poster, you can use the above problematic script for additional information, because then you will have found work for URLs.
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1898
    • View Profile
Re: MyMovies.it script for movies and people
« Reply #16 on: September 06, 2011, 05:23:00 pm »
Here are the above-mentioned problematic script for testing:

mymovies_mod    attached
mymovies_NotFound_mod     attached

Please contact us here to know how it works, because then the script will also be available to other users on the auto-update system.

[attachment deleted by admin]
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


Offline Cycloptux

  • Member
  • *
  • Posts: 5
    • View Profile
Re: MyMovies.it script for movies and people
« Reply #17 on: September 07, 2011, 01:26:12 pm »
They both seemed to work, had a couple bugs while importing but I guess they were not linked to the script but it was PVD itself (it failed recognizing a movie title from the file name and it duplicated a movie when switching import script, but it all worked on the second try). Had only 1 movie that 404'd so I couldn't test the NotFound script a lot, but the normal one worked 16/16.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1898
    • View Profile
Re: MyMovies.it script for movies and people
« Reply #18 on: September 07, 2011, 02:14:59 pm »
Thank you for your feedback, Cycloptux.
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


Offline Cycloptux

  • Member
  • *
  • Posts: 5
    • View Profile
Re: MyMovies.it script for movies and people
« Reply #19 on: September 07, 2011, 04:28:13 pm »
Found a bug, don't really know what exactly caused it, but when trying to import "The Truth About Love", this message pops:



And it keeps appearing every time I try to select, edit, delete (etc) the movie. That sometimes appears twice in a row. It only stops popping if I clear attributes. Using other import scripts doesn't trigger the error, while both modded mymovies scripts do.