Page 1 of 1

categories

Posted: 2010-10-30 08:29:58
by pgouspy
Hello,

About the view grouped by categories
Some films have several categories
example : Dardevil -> action, fantastic

in the view it appear in the category "action, fantastic"

"action, fantastic"
- Daredevil

i think it will be better if the categories are splitted and the film appears in two categories :

"action"
- Daredevil

"fantastic"
- Daredevil

By this way we have less categories and if multiples categories are not wrtten in the same order will not make 2 differentes categories:
exemple :
currently "action, fantastic" and "fantastic, action" appears as two differents categories in the iew.

I hope i'm clear enough.
Thank,
Pierre


- Daredevil

Posted: 2010-10-30 10:17:07
by bad4u
To sort one movie into multiple categories is currently not possible, as it would need changes in the program and database file to split the categories (and other multiple value fields like countries, actors, etc).

There is only one field in the database for e.g. categories and it depends on the script what is written to this field. Some scripts like IMDB have options to change what goes to this field, e.g. "Only take first value for Category", "Take full list, separated with commas" etc.. So it's up to the script writer what is imported from website's html code to the field.

Again it would be helpful to know which script you are talking about..

Posted: 2010-10-31 08:42:42
by pgouspy
curently, films are in multiple categories, each one separated by a ",". That's ok.

What's i speak is to display multiple categories in treeview as distinct category. Instead of one category called for example "animation, action", I prefere get two entries in the treeview one for "animation" and another one for "action".

In VB i will do a split(thecategory, ",") to get a table of category to add it to treeview. There is no need to make any change to the database, just a little change in the way that catagories/films are added to the treeview.

Pierre

Posted: 2010-10-31 12:11:34
by bad4u
The layout of imported categories list (or other multiple value fields) depends on the script that writes to the field, so you would need more changes to catch different layouts or restrict possibilities for the script writer. Not saying it wouldn't be possible, but it's more work than just a "split the entries and display a treeview". Though I'm not the programmer of AMC, so he might have a different view on that ;)

Posted: 2010-10-31 14:01:43
by antp
It would not be very difficult to handle properly multiple values when separated by commas, but it is one of the numerous features that I have to add, and as I barely never work on the program these days I can't say when it will be added.