My Films 5.1 released (19.09.2011) - V5.1.0.1468 (MP 1.2.0) (1 Viewer)

Guzzi

Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,159
    750
    • Thread starter
    • Moderator
    • #61
    AW: Re: AW: Re: AW: Re: My Films 5.0.1 beta 2 released (09.08.2011) - V5.0.1.1286 (MP

    Do you get the content of movie.txt displayed in the lower window?
    No I haven't been able to get it. My task is, step by step:

    New grabber. In the search window I type #FILESERVE# in the URL. Next in the Test Page I type "... button" to navigate to the movie.txt. Next press Search. In the preview I get "0 movie.txt (Autoredirect)". Nothing happens. All the rest of the sections and the detail page are empty. I have attached a movie.txt

    Thanks
    try setting URL field to the name of your file or a mask. #Filename# is only required, if you have nfo/text files that have same name as movie - and you have multiple in a directory.
    For your example you could just use "*.txt"
    Then in "testpage" brose to the directory where your txt file is located.
    Prevew should list all files matching your URL definition.
    Choose one and press "Use with Detail page" - this should load the content and allow you to edit the detail definitions for the grabbing.
     

    donpipo

    Portal Pro
    July 22, 2007
    55
    19
    Home Country
    Spain Spain
    Re: AW: Re: My Films 5.0.1 beta 2 released (09.08.2011) - V5.0.1.1286 (MP 1.2.0)

    3) Is possible to configure the grabber to access the search web with an username and password?

    Why? I cant see the utility of that

    Many movies webs like Filmaffinity (spanish site) or IMDB have the option to acccess them with a registration name.
    The advantages in logging as a registered user are being able to access to customized fields of information, such as

    Customized rate of a film,
    Personal review of a film,
    Affinity network (almas gemelas): The punctuation for the film is based in the ratings given by the people who rated other films with similar levels.
    Film that I would like to watch.
    Film that I Watched in cinema etc.

    Usually others plugins haven't enough fields for this information. But my Films has custom fields that could be used.


    I made two feature requests on the Google site. One for this and the other one for the Support to open My Films with a parameter

    Regards
     

    igormaiden

    Portal Member
    February 24, 2008
    43
    14
    Home Country
    Italy Italy
    Re: AW: Re: My Films 5.0.1 beta 2 released (09.08.2011) - V5.0.1.1286 (MP 1.2.0)

    I have a problem
    after I finished watching a movie, "watch status" don't change so is not recorded even on trakt :(
    What can I do?
    thanks
    best bet would be to post config and logs and some addittional info about your setup (catalogtype, settings for watched handling, etc.)

    OK..

    Config:
    Media Portal 1.2, StreamedMP skin, last release of MyFilms

    Catalogtype
    Ant Movie Catalog 3.5.1

    I haven't configured anything regarding "watched handling" etc

    settings you see in the attachments

    If I checked "watched status" manually trakt tells me that I have seen it but not when

    thanks for your support
     

    Attachments

    • Myfilms 1.JPG
      Myfilms 1.JPG
      91.3 KB
    • Myfilms 2.JPG
      Myfilms 2.JPG
      91.3 KB
    • Myfilms 3.JPG
      Myfilms 3.JPG
      75.9 KB

    z3us

    Portal Pro
    December 4, 2007
    1,047
    123
    46
    Home Country
    Spain Spain
    Trakt works fine for me. Can u add me as friend there?

    Enviado desde mi GT-I9000 usando Tapatalk
     

    igormaiden

    Portal Member
    February 24, 2008
    43
    14
    Home Country
    Italy Italy
    Re: My Films 5.0.1 beta 2 released (09.08.2011) - V5.0.1.1286 (MP 1.2.0)

    Trakt works fine for me. Can u add me as friend there?

    Enviado desde mi GT-I9000 usando Tapatalk

    Ok.....added :D

    but you haven't watched any movie this month?
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,767
    7,241
    Sydney
    Home Country
    Australia Australia
    Re: AW: Re: My Films 5.0.1 beta 2 released (09.08.2011) - V5.0.1.1286 (MP 1.2.0)

    I haven't configured anything regarding "watched handling" etc

    settings you see in the attachments

    If I checked "watched status" manually trakt tells me that I have seen it but not when
    Hi igormaiden, can you also attach your TraktPlugin.log. Ensure logging is set as Debug in MediaPortal configuration before reproducing if not already.

    The trakt plugin will only set as watched (scrobble) on trakt if you have watched atleast 90% of the film.
     

    donpipo

    Portal Pro
    July 22, 2007
    55
    19
    Home Country
    Spain Spain
    Re: AW: Re: AW: Re: AW: Re: My Films 5.0.1 beta 2 released (09.08.2011) - V5.0.1.1286

    Do you get the content of movie.txt displayed in the lower window?
    No I haven't been able to get it. My task is, step by step:

    New grabber. In the search window I type #FILESERVE# in the URL. Next in the Test Page I type "... button" to navigate to the movie.txt. Next press Search. In the preview I get "0 movie.txt (Autoredirect)". Nothing happens. All the rest of the sections and the detail page are empty. I have attached a movie.txt

    Thanks
    try setting URL field to the name of your file or a mask. #Filename# is only required, if you have nfo/text files that have same name as movie - and you have multiple in a directory.
    For your example you could just use "*.txt"
    Then in "testpage" brose to the directory where your txt file is located.
    Prevew should list all files matching your URL definition.
    Choose one and press "Use with Detail page" - this should load the content and allow you to edit the detail definitions for the grabbing.

    Thanks Guzzi. Now it works. I have the details section with the txt file.

    Another question. I have home videos that I would like to manage with My Films. Those videos obviously don't have matching in IMDB. I have tried to check the "prohibit Internet Lookup" and choose "Only Media data" in the database Field but I can't import any movie. What am I doing wrong?
    That should be no problem - and I would recommend to put them in a separate config.
    What you're doing seems the right direction - and since you don't make internet lookups, you have to make sure to get the "title" from either filename or foldername. Depending on your structure, you might use filename and grouping by foldername, if you have grouped your homevideos like that.
    You also have to make sure to enable "Import File if Internet lookup fails" and disable "Don't import File in interactive mode" on Interactive Tab - by default those settings are optimized for "normal movies".
    If this still doesn't work for you, I need AMCupdater log file and your config files.

    Though following your advice, I am not able to import my home movies. I have attached my log and config files.

    By the way, I am making a grabber for the Spanish website Filmaffinity, but the image extraction is tricky for me.

    This is the code:


    <script language="javascript">
    var carousel_images = {
    imgs_1:
    [{url_s: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-558954192-small.jpg', url_l: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-558954192-large.jpg', description: '', type_id: 'Poster / Imagen Principal', country: 'Estados Unidos' }
    ]
    , imgs_2:
    [{url_s: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-872447802-small.jpg', url_l: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-872447802-large.jpg', description: '', type_id: 'Posters', country: 'Estados Unidos' }
    ,{url_s: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-466536520-small.jpg', url_l: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-466536520-large.jpg', description: '', type_id: 'Posters', country: 'Estados Unidos' }
    ,{url_s: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-464172996-small.jpg', url_l: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-464172996-large.jpg', description: '', type_id: 'Posters', country: 'España' }
    ,{url_s: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-722982177-small.jpg', url_l: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-722982177-large.jpg', description: '', type_id: 'Posters', country: 'Francia' }
    ,{url_s: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-341839130-small.jpg', url_l: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-341839130-large.jpg', description: '', type_id: 'Posters', country: 'Italia' }
    ]
    }
    </script>

    How can I get the Spanish poster http://pics.filmaffinity.com/Algo_pasa_con_Mary-464172996-large.jpg?

    I think that the key is in locating the word España, but the part of the code that I'm interested in is just before, and I don't know how to do it.

    Regards.
     

    Attachments

    • AMCUpdater_Settings.xml
      6 KB

    igormaiden

    Portal Member
    February 24, 2008
    43
    14
    Home Country
    Italy Italy
    Re: AW: Re: My Films 5.0.1 beta 2 released (09.08.2011) - V5.0.1.1286 (MP 1.2.0)

    I haven't configured anything regarding "watched handling" etc

    settings you see in the attachments

    If I checked "watched status" manually trakt tells me that I have seen it but not when
    Hi igormaiden, can you also attach your TraktPlugin.log. Ensure logging is set as Debug in MediaPortal configuration before reproducing if not already.

    The trakt plugin will only set as watched (scrobble) on trakt if you have watched atleast 90% of the film.

    here it is

    Last night I watched Iron Man 2, but doesn't appear on trakt, and in Media Portal has remained as unwatched...

    I did a test with an episode of Star Trek, I arrived quickly at the end, on trakt appears with the date and time...only myfilms doesn't work
     

    Guzzi

    Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,159
    750
    • Thread starter
    • Moderator
    • #69
    AW: Re: AW: Re: My Films 5.0.1 beta 2 released (09.08.2011) - V5.0.1.1286 (MP 1.2.0)

    I haven't configured anything regarding "watched handling" etc

    settings you see in the attachments

    If I checked "watched status" manually trakt tells me that I have seen it but not when
    Hi igormaiden, can you also attach your TraktPlugin.log. Ensure logging is set as Debug in MediaPortal configuration before reproducing if not already.

    The trakt plugin will only set as watched (scrobble) on trakt if you have watched atleast 90% of the film.

    here it is

    Last night I watched Iron Man 2, but doesn't appear on trakt, and in Media Portal has remained as unwatched...

    I did a test with an episode of Star Trek, I arrived quickly at the end, on trakt appears with the date and time...only myfilms doesn't work
    Hi, in the attached log, there is nothing about any played events - so either there is a general problem, that trakt cannot listen to your player - or you didn't play anything in the session from where the log was taken?

    I have the same in MF log - there is nothing about a played movie in there !? can you retry?
    Edit: please also attach error.log
     

    Guzzi

    Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,159
    750
    • Thread starter
    • Moderator
    • #70
    AW: Re: AW: Re: AW: Re: AW: Re: My Films 5.0.1 beta 2 released (09.08.2011) - V5.0.1.

    By the way, I am making a grabber for the Spanish website Filmaffinity, but the image extraction is tricky for me.

    This is the code:


    <script language="javascript">
    var carousel_images = {
    imgs_1:
    [{url_s: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-558954192-small.jpg', url_l: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-558954192-large.jpg', description: '', type_id: 'Poster / Imagen Principal', country: 'Estados Unidos' }
    ]
    , imgs_2:
    [{url_s: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-872447802-small.jpg', url_l: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-872447802-large.jpg', description: '', type_id: 'Posters', country: 'Estados Unidos' }
    ,{url_s: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-466536520-small.jpg', url_l: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-466536520-large.jpg', description: '', type_id: 'Posters', country: 'Estados Unidos' }
    ,{url_s: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-464172996-small.jpg', url_l: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-464172996-large.jpg', description: '', type_id: 'Posters', country: 'España' }
    ,{url_s: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-722982177-small.jpg', url_l: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-722982177-large.jpg', description: '', type_id: 'Posters', country: 'Francia' }
    ,{url_s: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-341839130-small.jpg', url_l: 'http://pics.filmaffinity.com/Algo_pasa_con_Mary-341839130-large.jpg', description: '', type_id: 'Posters', country: 'Italia' }
    ]
    }
    </script>
    How can I get the Spanish poster http://pics.filmaffinity.com/Algo_pasa_con_Mary-464172996-large.jpg?

    I think that the key is in locating the word España, but the part of the code that I'm interested in is just before, and I don't know how to do it.

    Regards.
    Try this:

    URL Cover, KeyStart:
    #REGEX#<img class="foto".*?href="
    URL Cover, KeyEnd:
    "

    Attached an example - be aware, this is only to show image loading, not a complete script.
     

    Attachments

    • Affinity.xml
      13.1 KB

    Users who are viewing this thread

    Top Bottom