#1 2012-02-22 15:08:00
- Akovia
- Member
- Registered: 2012-01-30
- Posts: 13
"double list" CSV import?
Is this possible?
I tried to decipher the imdb plugin to see if I could figure out how it imports "actor & role" to a double list, but I just don't get it. It seems to use an @rray with a "count" somehow.
Could someone explain how this works in theory, and if it could be used with the CSV import plugin with a defined separator?
Offline
#2 2012-02-26 02:13:10
- Akovia
- Member
- Registered: 2012-01-30
- Posts: 13
Re: "double list" CSV import?
Well again I was able to hack my way to success by copying some routines from the GCimdb.pm plugin. I still don't completely understand it, but would like to.
I got stuck for a while with how it was being formatted, but realized that I was trying to import 2 values into a triple list.
Instead of getting:
Actor1 (Role1), Actor2 (Role2), ....
I got:
Actor1|Role1||, Actor2|Role2||, ....
I haven't experimented yet with how it handles a third value, but I might try at some point.
Maybe:
Actor1 (Role1) [Language], Actor2 (Role2) [Language], ....
Cheers
Offline
Should you have a problem using GCstar, you can open a bug report or request some support on GCstar forums.