Page 20 of 39

Posted: 2012-02-22 12:28:30
by cialis
Bonjour,
je souhaite optimiser un template existant pour mes séries TV...cela existe-t-il?
Sinon en créer un est-il vraiment compliquer? avez-vous une base qui traîne? :)

De plus, comment créer un champs personnalisé?

Merci par avance de votre aide

PS : je suis en version 4.1

Posted: 2012-02-22 13:23:30
by soulsnake
je souhaite optimiser un template existant pour mes séries TV...cela existe-t-il?
Un template pour l'affichage en HTML ou pour l'impression ?

Pour un template HTML:
Valeur du champ personnalisé = $$ITEM_CF_ + Tag du champ personnalisé en majuscules.
Ex: Pour un champ avec le tag "BandeAnnonce" -> $$ITEM_CF_BANDEANNONCE

Pour un template d'impression:
Valeur du champ personnalisé = [Tag du champ personnalisé]
Ex: Pour un champ avec le tag "BandeAnnonce" -> [BandeAnnonce]

Pour plus de précisions tu peux consulter l'aide fournie avec le programme ;).

Soulsnake.

Posted: 2012-02-22 14:46:23
by cialis
soulsnake wrote:
je souhaite optimiser un template existant pour mes séries TV...cela existe-t-il?
Un template pour l'affichage en HTML ou pour l'impression ?

Pour un template HTML:
Valeur du champ personnalisé = $CF_ + Tag du champ personnalisé en majuscules.
Ex: Pour un champ avec le tag "BandeAnnonce" -> $CF_BANDEANNONCE

Pour un template d'impression:
Valeur du champ personnalisé = [Tag du champ personnalisé]
Ex: Pour un champ avec le tag "BandeAnnonce" -> [BandeAnnonce]

Pour plus de précisions tu peux consulter l'aide fournie avec le programme ;).

Soulsnake.
Merci pour ta réponse...

J'ai donc suivi tes conseils... ;)
J'ai créé 3 champs personnalisés (Saisons, Episodes, Statut) et j'ai donc rajouté au template HTML ces 3 champs...
Mais lorsque j'affiche mon HTML, mes 3 champs ont comme valeur :
$CF_SAISONS
$CF_EPISODES
etc...

Qu'ai je loupé :??:

Voici une partie de mon template
<td class="gr">Saisons:</td>
<td class="wh">$CF_SAISONS</td></tr>
<td class="gr">Episodes:</td>
<td class="wh">$CF_EPISODES</td></tr>
<td class="gr">Statut:</td>
<td class="wh">$CF_STATUT</td></tr>
<td class="gr">Genre:</td>
<td class="wh">$$ITEM_CATEGORY</td></tr>
<td class="gr">Année:</td>
<td class="wh">$$ITEM_YEAR</td></tr>
<td class="gr">Notes:</td>
<td class="wh">$$ITEM_RATING</td></tr>
<td class="gr">Click:</td>

Posted: 2012-02-22 14:55:53
by soulsnake
Autant pour moi j'ai oublié un $ désolé.
J'ai modifié mon post précédent.

Il faut donc écrire:
$$ITEM_CF_SAISONS
$$ITEM_CF_EPISODES
...

Soulsnake.

Posted: 2012-02-22 15:02:32
by cialis
soulsnake wrote:Autant pour moi j'ai oublié un $ désolé.
J'ai modifié mon post précédent.

Il faut donc écrire:
$$CF_SAISONS
$$CF_EPISODES
...

Soulsnake.
Oups je n'avais pas lu ta réponse...
J'ai fait ta modif et ça marche :grinking:

MERCI!!!!!!!!!!!!!! ;)

Posted: 2012-02-22 15:18:40
by soulsnake
Décidément je perds la mémoire...
J'ai oublié le 'ITEM' avant.
J'aurais dû aller vérifier dans la doc avant, désolé :/.
J'ai modifié de nouveau mes posts précédents.

Il faut donc écrire:
<td class="gr">$$LABEL_CF_SAISONS:</td>
<td class="wh">$$ITEM_CF_SAISONS</td></tr>
<td class="gr">$$LABEL_CF_EPISODES:</td>
<td class="wh">$$ITEM_CF_EPISODES</td></tr>
<td class="gr">$$LABEL_CF_STATUT:</td>
<td class="wh">$$ITEM_CF_STATUT</td></tr>
<td class="gr">$$LABEL_CATEGORY:</td>
<td class="wh">$$ITEM_CATEGORY</td></tr>
<td class="gr">$$LABEL_YEAR:</td>
<td class="wh">$$ITEM_YEAR</td></tr>
<td class="gr">$$LABEL_RATING:</td>
<td class="wh">$$ITEM_RATING</td></tr>

La variable $$LABEL_... permet de récupérer le nom du champ (selon la langue choisi en dehors des champs personnalisés).

Soulsnake.

Posted: 2012-03-04 20:50:53
by soulsnake
Ant Movie Catalog 4.1.1 [BETA] (04/03/12) released ! :grinking:

Please see first post for more details! ;)

Soulsnake.

Posted: 2012-03-05 09:01:28
by sstavross
Thank you very much for the new version!

Two questions:

1. Where is the option to import the folder name as movie name? I can't find it!

2. Wonderful the option to import images during import info from folders. I wish that you had the option to import an image with "folder.jpg" name. Is it possible?

Thank you very much again!

Posted: 2012-03-05 10:56:45
by soulsnake
1. Where is the option to import the folder name as movie name? I can't find it!
When you import movies from folders, just select column where there is folder name (or filtered folder name) and use it as Movie Title.
You can't import it in movie title during drag & drop but you can add custom field that import folder name (or filtered folder name).
Maybe I should add an option to import folder name in movie title during drag & drop instead filename.

2. Wonderful the option to import images during import info from folders. I wish that you had the option to import an image with "folder.jpg" name. Is it possible?
No, I don't use "folder.jpg" but filename+EXT or foldername+EXT or "poster"+EXT.
EXT = .jpg or .png or .gif
Maybe I should add an option to choose default poster name (here "poster").

Soulsnake.

Posted: 2012-03-05 12:33:59
by antp
Or just search for a few standard names? In addition of poster searching for folder, movie, film, cover, etc.

Posted: 2012-03-05 15:17:20
by sstavross
soulsnake thanks for your answers! Ok, about the folder's name for importing movies name! It works fine!
About images I a angree with antp. Maybe you make a search for standard names. Or make a "preference" choice to have the user saying what name are his images.

Another thing now: When I search for a movie in the catalogue I have to press the search button and then write my search letters.Would be possible to have a search bar permative on the toobar?

Posted: 2012-03-05 16:52:25
by antp
I am not sure to understand what you ask, but the search window is already a toolbar that you can dock below / at the side of the other toolbar and keep always there like a toolbar

Posted: 2012-03-05 23:39:57
by sstavross
Yes my friend!! Thank you very much! I hadn't tried to dock it...

Posted: 2012-03-06 08:30:34
by soulsnake
Or just search for a few standard names? In addition of poster searching for folder, movie, film, cover, etc.
Ok, I will do that before final release.

Soulsnake.

Date Format Conversion Issues

Posted: 2012-03-09 04:32:58
by Dadeo
Hi Soulsnake:

I still have a few issues with the date conversion between AMC3 XML DB and AMC4 even with 4.1.1_[BETA].

When I open an AMC3 catalog in AMC4, most of the dates convert correctly EXCEPT when the day and month are single digits - i.e. 3/9/2012 changes to 9/3/2012. I am guessing it is not respecting my Regional Language settings in Win7 which are English US (m/d/yyyy)?

If I add the same movie in AMC4 the dates are all correct. Also, if I save the DB in AMC format then open it in AMC4 and save it, the dates are fine. So it is only an issue when converting from AMC3 using the XML db format.

Posted: 2012-03-09 15:17:08
by soulsnake
Hi Dadeo:

Thanks for the bug report.

The problem is because of a change of date format in XML/CSV file between AMC3 and AMC4.
In AMC3 dates format is regional to user settings in XML/CSV.
In AMC4 dates format is unique (yyyy-mm-dd) in XML/CSV.

Furthermore, during import of dates from XML/CSV file in AMC4, we try to read dates as 'yyyy-mm-dd' or 'dd/mm/yyyy' if first failed (for old compatibility) or regional format if first and second failed.
So more precisely your problem is because of second case (dd/mm/yyyy) that can match with some of your dates (m/d/yyyy).

I will see what I can do.
Maybe I should try to read dates as regional format before to try to read dates as two others formats ('yyyy-mm-dd' or 'dd/mm/yyyy').

Soulsnake.

Posted: 2012-03-09 23:11:10
by antp
If the dates were always written in regional format in old version, it would be logical to read them that way when importing from an old version :D

Posted: 2012-03-11 22:00:11
by soulsnake
Yes, you are right.
I can do that for XML by reading header but I can not do it for CSV.
I think finally the better way is to remove second case.
I don't think people use date format as yyyy-dd-mm instead of yyyy-mm-dd.

Soulsnake.

Posted: 2012-03-12 04:12:12
by GnomesRUs
First off, Thank You SO much to soulsnake, antp and others for bringing us these long-awaited upgrades/updates/improvements! :)

I just logged on here this evening looking for some information about running AMC under Ubuntu, and just by chance stumbled upon the post announcing this new version - I didn't even know it had been updated since v 3.5.1...

I know this request has been brought up several times before, but I'd like to add my voice to the crowd as well: Please consider providing the capability to add more than one DVD Cover/Poster/Screenshot/Artwork to each entry. Surely it's not too complicated to do, as Tikonderoga did it with his "Movie Cat" adaptation. I'd also hope for the ability to add more than Movie Cat's 10 additional pictures (at least 20, but why should there be any limit?)

I'm also loving the idea of the new user-defined fields you've made available, but wonder if there might be some way to move them from the separate tab into the main tab, to be included with the standard fields? Perhaps we could use the Language (.lng) files, with Movie Cat's MCDesigner?

Well, again, Thank You for all the great work already done, and looking forward to more amazing things to come! :)

Second Picture to one Title

Posted: 2012-03-12 14:21:42
by ron_dolph
Hi soulsnake,
I really could use the option to add all other pictures by using the same dialog :Select a picture:

like this...

Image

can be this achieved by using :custom fields:?

with respect to the programmer
:)

ron_dolph