My Films 5 - Testing (3 Viewers)

Status
Not open for further replies.

doveman

Portal Pro
February 12, 2008
2,326
178
Home Country
United Kingdom United Kingdom
I just checked out the modifed IMDB scripts you kindly posted, but when I load IMDB.xml it shows Generic1 mapped to Description and IMDB-Full.xml doesn't have it mapped to anything, so maybe you uploaded the wrong files?
 

doveman

Portal Pro
February 12, 2008
2,326
178
Home Country
United Kingdom United Kingdom
If anyone wants to modify the AMC IMDB script to put the Certification in the custom Certification field (to match AMCU), this is how to do it.

Look for the section

Code:
        if GetOption('Classification') = 1 then 
SetField(fieldMediaType, Value)

and change the second line to

Code:
          SetCustomField('Certification', Value)

You obviously have to set the Classification option to 1 for it to use this.
 

Guzzi

Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,161
    747
    OK, here's my MyFilms and MyFilmsAMCSettings xml files. In MyFilms config I've set the AMCU config file to Movies-Del-AMCU.xml (which doesn't appear to have been created yet).

    EDIT: I'll try reinstalling MyFilms 2221 in case something's got borked!

    Nope, that didn't help.

    As I said, there's no logs to post. I've posted the config and the steps I took was to setup MyFilms, set an AMCU config path on the Import tab, saved, clicked recreate default settings, then clicked Create Desktop Icon, which gives the error. I repeated these last three steps several times to no avail.

    I tested here with you rfiles and it works fine.
    Steps I did:
    - On Import tab, select the AMCU Config file - the one you posted, that was "somewhere" stored
    - recreating config and desktopicon worked as expected
    Note: You can only choose an existing AMCU Config file in MyFilms setup - if I manually set the XML to an invalid path, I get the same error.
    So in case you want to "manually" do the setup, copy the file to the location where you want to place it (in your example E:\Data\MediaPortal), then select that one in setup and you're fine.
     

    Guzzi

    Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,161
    747
    I'm having a problem with the picture for one particular film "Easy A". The picture that AMCU scrapes causes an Access Violation error when selecting that film in AMC. The picture scraped is 4.86MB, which is much bigger than most which are a few hundred KB, but a few others are almost as large, "Machete" being the next at 3.7MB and these don't cause AMC to produce any errors.
    Please post that issue in AMC forum to soulsnake, as it seems to be an issue af AMC software - nothing I can do about it. As workaround you could just choose a cover with smaller size.
     

    TLD

    Portal Pro
    October 26, 2007
    964
    396
    Rainy Washington
    Home Country
    United States of America United States of America
    Hi Guzzi, I see that you have made it possible to have the movie titles remain the same color after watching them.
    I was wondering if i need to mark all as unwatched before the install to use this option?

    EDIT: Also I still can not find the link to the new version.
     
    Last edited:

    Guzzi

    Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,161
    747
    I note that AMCU scrapes the Certification as "Rated PG-13 for some sequences of intense action violence and frightening images" whereas AMC only scrapes "PG-13". Is it possible to make AMCU only scrape this shorter version as well as I prefer it like that?
    Sure, you can "clean" the output - with grabber script editor, add the expressions you want to get rid of in "Replace" and replace it with space or "nothing".
    You can also use regex to replace / remove several strings:
    Replace:
    "#REGEX#Rated |for.*"
    With:
    ""
    Also, on the Database Fields tab, under Storage Field Handling it shows "Item for File Info Storage: Source" with a warning exclamation/tooltip that says "Make sure the media Source Field is not selected to be updated in database fields". I don't understand this, as it's certainly correctly inserted the Source data for the films I've scraped without unticking Source Field in the database fields and I'd imagine this needs to be checked for this to happen.
    Yeah, difficult to understand ... The warning is especially if users use a field other than source, e.g. "URL" for the media storage info - those fields would get owerwritten in those cases by internet grabbed data, if selected. As MyFilms allows there any field to be selected, that case can happen.
    For "Storage", it is indeed irrelevant, as there is no data source overwriting that field - meither mediainfo nor internet grabbed data...

    Also, I note AMCU has a Writer database field but it doesn't appear to write this to a custom field but instead to the Producer field.
    That is historically as AMC3.x didn't support persistant extended fields ...
    With the availability of custom fields, would it not be better to use one for this and preserve the Producer field for the Producer(s), which is how I have AMC set (which only offers the option of writing the Producer OR the Writer to the Producer field, although I'm sure the IMDB script could be modified to put the Writer in a custom field instead).
    You're probably right - the grabber script definition was done long ago before even mapping was implemented - and due to the fact, producer wasn't available on the fast one page IMDB grabber, we defined the producer field to grab the writer.
    Actually, I am not sure, if we should change that, as AMC3.x users then wouldn't get that info (or would have to make a manual mapping) - and AMC4.x users still can use the IMDB-Full script, that does return much more and detailed data for all the extended fields ...?

    Looking at AMCU's IMDB script, it would appear that the Writer should be written to the Writer field (it's not mapped to Producer) but there doesn't appear to be such a custom field in my XML when I open it in AMC.
    If Writer is written to DB, the respective fields will automatically be generated,
     

    Guzzi

    Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,161
    747
    I just checked out the modifed IMDB scripts you kindly posted, but when I load IMDB.xml it shows Generic1 mapped to Description and IMDB-Full.xml doesn't have it mapped to anything, so maybe you uploaded the wrong files?
    Seems, something got mixed up - thanks for pointing to that.
     

    Attachments

    • IMDB.xml
      23 KB
    • IMDB-Full.xml
      26.4 KB

    Guzzi

    Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,161
    747
    If anyone wants to modify the AMC IMDB script to put the Certification in the custom Certification field (to match AMCU), this is how to do it.

    Look for the section

    Code:
            if GetOption('Classification') = 1 then
    SetField(fieldMediaType, Value)

    and change the second line to

    Code:
              SetCustomField('Certification', Value)

    You obviously have to set the Classification option to 1 for it to use this.
    Hey, thanks for pointing that - might be worth to post that in a separate thread, as I think many other users might be interested in that!
     

    Guzzi

    Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,161
    747
    Hi Guzzi, I see that you have made it possible to have the movie titles remain the same color after watching them.
    I was wondering if i need to mark all as unwatched before the install to use this option?
    Hi TLD - not sure what you mean - the watched color is defined in the skin files? And there is no need to change the watched status itself to reflect this.
    EDIT: Also I still can not find the link to the new version.
    Latest dev version is here
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    I'm having a problem with the picture for one particular film "Easy A". The picture that AMCU scrapes causes an Access Violation error when selecting that film in AMC. The picture scraped is 4.86MB, which is much bigger than most which are a few hundred KB, but a few others are almost as large, "Machete" being the next at 3.7MB and these don't cause AMC to produce any errors.
    Please post that issue in AMC forum to soulsnake, as it seems to be an issue af AMC software - nothing I can do about it. As workaround you could just choose a cover with smaller size.

    Yeah, apparently "The bug comes from Delphi 7 JPEG library" and he'll fix it in the next update :)
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom