INTERACT FORUM

More => Old Versions => JRiver Media Center 25 for Windows => Topic started by: MGD_King on October 07, 2019, 05:29:18 pm

Title: Reading a field from an NFO file into custom field in MC?
Post by: MGD_King on October 07, 2019, 05:29:18 pm
Does anyone know how I can implement a field from an NFO file into a custom field? My NFO file has field called "set" and I would like to use it in the "Series" field, or even make a custom field. The field looks like this in the NFO file:

Code: [Select]
    <set>
        <name>The Incredibles Collection</name>
        <overview/>
    </set>

Any help will be greatly appreciated.
Title: Re: Reading a field from an NFO file into custom field in MC?
Post by: Yaobing on October 08, 2019, 08:19:26 am
It appears that we read "set" element in the following form only:

    <set>
        The Incredibles Collection
    </set>

not in the form you cited.  When I get around I will take a look and see if we can read it in both formats.

Until I make the change, you will not be able to load the data into a field.  You can try this though:

Manually change the <set> element to
    <set>
        The Incredibles Collection
    </set>

and in MC create a custom element "set", it must be all lower case.
Title: Re: Reading a field from an NFO file into custom field in MC?
Post by: MGD_King on October 08, 2019, 04:52:29 pm
It appears that we read "set" element in the following form only:

    <set>
        The Incredibles Collection
    </set>

not in the form you cited.  When I get around I will take a look and see if we can read it in both formats.

Until I make the change, you will not be able to load the data into a field.  You can try this though:

Manually change the <set> element to
    <set>
        The Incredibles Collection
    </set>

and in MC create a custom element "set", it must be all lower case.

Yaobing, I tried your suggestion and it works. Thank you for looking into this!