• Index
  •  » Support
  •  » exporting to HTML, exportprefs, and filter

#1 2012-11-13 13:21:54

sjacobs
New member
Registered: 2012-11-13
Posts: 1

exporting to HTML, exportprefs, and filter

I want to be able to export to HTML from the command line and add a filter to export a subset of the items in my movie collection.

I found this line

Code:

 $options->{items} = $self->{parent}->{items}->getItemsListFiltered($filter);

in GCExport.pm

So it looks like it may use a filter.
I created a filter "Age17" and then tried this in the exportprefs

Code:

gcstar -x -e HTML --exportprefs "template=>Shelf2,title=>My Movies,sorter=>title,order=>asc,items=>Age17"...

I got

Code:

Can't use string ("Age17") as an ARRAY ref while "strict refs" in use at /usr/bin/../share/gcstar/lib/GCExport/GCExportBase.pm line 276.

I'm not familiar with programming language so I'm not sure what to pass in on my --exportprefs argument.

Can anyone help me out?

Offline

 
  • Index
  •  » Support
  •  » exporting to HTML, exportprefs, and filter



Should you have a problem using GCstar, you can open a bug report or request some support on GCstar forums.