English > Development
How to change "viewed" flag by script
Nautilus2067:
Hi there,
I have just finished my draft version of an .nfo import script to import locally saved meta data (from MediaPortal). The watch status is stored separately in a small XML file beside every movie. I have succeded to read that file but using the AddFieldValueXML( ) function on the field "viewed" does not change the viewed flag.
Is it possible to change that field via script? If yes, how can it be done? I tried "true" and "false" as well as "0" and "1". Nothing worked.
Thanks for your help.
Oliver
afrocuban:
-1?
Nautilus2067:
Nope, doesn't seem to work.
afrocuban:
"Minus one"? It should. Unfortunately, I have no ideas left.
Nautilus2067:
Why -1 instead of 1? Do you know that? I can set the "viewdate" successfully, but not the "viewed" flag. hmmm...
Navigation
[0] Message Index
[#] Next page
Go to full version