[Approved] [Italian] www.mymovies.it (2009-07-27) (3 Viewers)

LRFalk01

Portal Pro
August 27, 2007
257
92
39
Home Country
United States of America United States of America
This is being caused by an infinite loop error in the FindFilm method. If this if (iURL > 0) doesn't get called. iCount doesn't increment and you go into an infinite loop.

Attached is the corrected script.
 

Attachments

  • mymovies_it.zip
    30.6 KB

chemelli

Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    50
    Milano, Italy
    Home Country
    Italy Italy
    This is being caused by an infinite loop error in the FindFilm method. If this if (iURL > 0) doesn't get called. iCount doesn't increment and you go into an infinite loop.

    Attached is the corrected script.

    Uploaded. To get it just refresh your scripts from Configuration.exe.

    :D again LRFalk01

    Simone
     

    robyf

    Retired Team Member
  • Premium Supporter
  • June 20, 2005
    1,076
    278
    53
    Bolzano
    Home Country
    Italy Italy
    Posted new version in first thread... it fixes mymovies site changes.
     

    Gilberto

    New Member
    May 5, 2011
    4
    0
    65
    Home Country
    Italy Italy
    Ciao a tutti.

    Ho catalogato i miei film nel seguente modo:

    nomefilm (anno)

    es.

    Le spie (2002).mkv
    Le spie (2002).jpg

    Sto usando MediaPortal 1.2.0.0 beta ed ho modificato la skin di default in modo che nello scorrere l’elenco dei Film, visualizzi (in basso) anche la trama.

    Il problema è nel prelevare le trame (da MyMovies.it ) usando “Video Database”, perché se non tolgo l’anno dal nome del film, mi è impossibile completare l’operazione (a meno che edito manualmente film per film).

    Come posso modificare mymovies_it.csscript per far si che MediaPortal -> “Video Database” digerisca anche l’anno di produzione del film?:mad:


    E non mi suggerite di togliere l’anno!!!! Anche perché con lo stesso nome ci sono più Film:oops:.


    Gilberto



    Strumenti per le lingue

    I scored my film as follows:

    nomefilm (year)

    es.

    Spies (2002). mkv
    Spies (2002). jpg

    I am using MediaPortal 1.2.0.0 beta and I have changed the default skin so that the through the list of movies, view (bottom), even the plot.

    The problem is in taking the textures (from MyMovies.it) using "Video Database ", because if I take off a year by the name of the movie, I can not complete the operation (unless you manually edited the film to film).

    How can I change to make that mymovies_it.csscript MediaPortal -> "Video Database" digest also the year of production of the film?


    And I suggested to remove the year!! Even with the same name because there are more movies.
     

    robyf

    Retired Team Member
  • Premium Supporter
  • June 20, 2005
    1,076
    278
    53
    Bolzano
    Home Country
    Italy Italy
    Probably some change by mymovies prevents the script to work correctly. I will look into it as soon as I can.
     

    robyf

    Retired Team Member
  • Premium Supporter
  • June 20, 2005
    1,076
    278
    53
    Bolzano
    Home Country
    Italy Italy
    Please try the attached script and let me know how it works. Now it takes into account if (year) or [year] is found in search string.
     

    Attachments

    • mymovies_it.zip
      4.9 KB

    Gilberto

    New Member
    May 5, 2011
    4
    0
    65
    Home Country
    Italy Italy
    Please try the attached script and let me know how it works. Now it takes into account if (year) or [year] is found in search string.

    Scrivo in italiano perché penso che se traduco il tutto con google, vie fuori una schifezza.

    A qualche volenteroso l’arduo compito di tradurre!!!!!



    Lo script funziona alla grande:D, sia con le parentesi tonde, sia con le quadre.

    L’unico neo è quello che (in alcune trame, ma non su tutte) visualizza un quadratino a posto dell’apostrofo e/o delle doppie virgolette.

    Un'altra cosa un po’ strana è che per alcuni film la trama viene prelevata, per altri no (benché nel sito di mymovies.it sia presente. Esempi sono quelli dei film “L'uomo dal doppio passato (2003) e Mistero alle Bermuda (2001)).
    Di quest’ultimi, pur non prelevando la trama, viene prelevato il genere, il regista e l’anno.


    :DGrazie di cuore per la professionalità e il tempo che gli hai dedicato.


    Gilberto


    P.S.
    :oops:È possibile togliere dallo script la parte che carica le locandine?
     

    robyf

    Retired Team Member
  • Premium Supporter
  • June 20, 2005
    1,076
    278
    53
    Bolzano
    Home Country
    Italy Italy
    Regarding the strange chars I do not know what the problem can be. The script uses iso-8859-1 encoding, that should give the best compatibility (this change was made by Chemelli, previously the script used utf-8 that caused a lot of strange chars).

    Regarding the missing plots, these particular movies have a different page format on mymovies, will try to handle this in a future version.

    If you want to strip out artwork search you have to edit the script and comment the line 390:

    Code:
    movieDetails.ThumbURL = strImgBody.Substring(iImage, iEnd - iImage).Trim();
     

    Users who are viewing this thread

    Top Bottom