Personal Video Database

English => Development => Scripts and Templates => Topic started by: w1ch1tA on June 25, 2010, 07:41:04 am

Title: Custom field export for dummies
Post by: w1ch1tA on June 25, 2010, 07:41:04 am
hello,

i added a custom field "imdb", short text to my database, holding the imdb-id of my movies.
my efforts to include this field into my plain-text export plugin were not successful.
this is how my plugin looks like:

%OPTIONS%
encoding="UTF8BOM"
replace=";<->,"
replace=""<->"
replace="#13#10<-> "
replace="#13<-> "
replace="#10<-> "
filter="CSV Files|*.csv"
%OPTIONS%
%HEAD%Titel;Typ;Genre;erstellt;imdb
%HEAD%{%value=title};{%value=type}'};{%value=genre};{%value=dateadded};{%value=imdb}


i quess something's missing, but i am  not a programmer. i want to import these values into my ipod touch database "dvd lister basic".
can anybody help in power-user/non-programmer words?

thanks,
w1ch1tA
Title: Re: Custom field export for dummies
Post by: rick.ca on June 25, 2010, 08:52:28 am
Welcome...Kansas?

Programmers will never understand the minds of us normal folk. Try {%value=imdb custom="true"}.

The manual is here (http://www.videodb.info/help/hlp_export.html#params).
Title: Re: Custom field export for dummies
Post by: w1ch1tA on June 25, 2010, 09:21:58 am
thanks, rick

i had already found the manual, but it is for it-specialists only, isn't it?
no use for dummies like me.

i changed the plugin to (last three lines only):

%OPTIONS%
%HEAD%Titel;Typ;Genre;erstellt;IMDB
%HEAD%{%value=title};{%value=type};{%value=genre};{%value=dateadded};{%value=imdb custom="true"}

the imdb-column in the csv-file remains empty.
the user-defined field reads: IMDB - Short Text

next try:

%OPTIONS%
{%value=imdb custom="true"}
%HEAD%Titel;Typ;Genre;erstellt;IMDB
%HEAD%{%value=title};{%value=type};{%value=genre};{%value=dateadded};{%value=imdb custom}

still no success ....


P.S. I am not Kansas
Title: Re: Custom field export for dummies
Post by: rick.ca on June 25, 2010, 05:08:53 pm
Quote
i had already found the manual, but it is for it-specialists only, isn't it?
no use for dummies like me.

As the title suggests, it's for users of export templates. I don't think "IT specialists" read manuals.

Field names are case-sensitive.
Title: Re: Custom field export for dummies
Post by: myalienvirus on December 18, 2010, 12:15:07 am
Welcome...Kansas?

Programmers will never understand the minds of us normal folk. Try {%value=imdb custom="true"}.

The manual is here (http://www.videodb.info/help/hlp_export.html#params).


 ;D thanks