Author Topic: Export to csv, with "seen" field  (Read 9943 times)

0 Members and 1 Guest are viewing this topic.

Offline airmans

  • Member
  • *
  • Posts: 5
    • View Profile
Export to csv, with "seen" field
« on: August 08, 2009, 10:35:19 am »
Hy All!
I have a problem for my CSV export script. Could you help me, how can I listed "seen" field (what I marked in PVD) to my movie list?
THX.

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: Export to csv, with "seen" field
« Reply #1 on: August 08, 2009, 11:54:11 am »
Welcome, airmans.

To output boolean fields like viewed and bookmarked, include the line boolvals="yes<->no" in the template.

Offline airmans

  • Member
  • *
  • Posts: 5
    • View Profile
Re: Export to csv, with "seen" field
« Reply #2 on: September 24, 2009, 11:27:29 am »
Thank the answer... :)

But I'm not a computer genius. :(

I want export a CSV file, this is my ptm file content, all fields is ok, but only one, this "seen" not working!
Could you look for the false and could you revise it?

%OPTIONS%
encoding="UTF8BOM"
replace=";<->,"
replace=""<->"
replace="#13#10<-> "
replace="#13<-> "
replace="#10<-> "
filter="CSV Files|*.csv"
%OPTIONS%
%HEAD%Cím;Eredeti Cím;Év;Műfaj;No.;Hossz(perc);IMDB;Minőség;AudioCodec;Nyelv;Felirat;Dupla
%HEAD%{%value=title};{%value=origtitle};{%value=year};{%value=genre};{%value=13};{%value=25};{%value=9};{%value=24};{%value=65 template="pages\audiocodec.ptm" maxvalues="1"};{%value=65 template="pages\nyelv.ptm" maxvalues="4"};{%value=subs};{%value=seen boolvals="yes<->no"};


Thank.

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: Export to csv, with "seen" field
« Reply #3 on: September 24, 2009, 11:48:23 am »
To output boolean fields like viewed and bookmarked, include the line boolvals="yes<->no" in the options section of the template.
;)

Offline Anson

  • User
  • ***
  • Posts: 46
    • View Profile
Re: Export to csv, with "seen" field
« Reply #4 on: October 13, 2009, 08:46:51 am »
slightly modified from the title intro (*) of Raumpatrouille:

"What looks like a problem today might become easier in the future"
"What looks like an error today might become reality in the future"

... or just some low priority feature suggestions


(*): what sounded like a fairy tale yesterday might become reality tomorrow.
these are the phantastic voyages of the Enterprise adventures of the Orion and its crew ...