BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 eXtreme Movie Manager (Rel. 7), No More Updates
 Suggestions / New Features
 Number of Varibales for Cover, Backcover, Fanart
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2 Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Prinz
Senior Member

Germany
1522 Posts

Posted - 10 Nov 2010 :  13:05:37  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
New exe is working.

Here are the new Movie Cards that use the new function.

As an example a added a Card: movie_bigcover-limited.htm that shows how to limit the amount of image that are shown (the old limit 20/50 is used in this example movie card):

quote:
var relTo = document.getElementById ("extracover");
var relTo2 = document.getElementById ("Additional_Fanart");
var fmc = $('#mcov1').text();
var fmf = $('#mfan1').text();
var mc_count = _MOVIE_COVERCOUNT_;
if (mc_count > 20) {mc_count = 20;}
var mf_count = _MOVIE_FANARTCOUNT_;
if (mf_count > 50) {mf_count = 50;}
for (var mic = 1;mic < mc_count;mic++) {
relTo.insertAdjacentHTML('BeforeEnd','<img src="' + fmc.replace('_1.','_' + mic + '.') + '" onerror="ImgError2(this);" class="my_img">#013;');}
for (var mic = 1;mic < mf_count;mic++) {
relTo2.insertAdjacentHTML('BeforeEnd','<img src="' + fmf.replace('_1.','_' + mic + '.') + '" onerror="ImgError2(this);" class="my_img">#013;');}


http://www.mediafire.com/download.php?cyjrrl0yl1kpzfe

PS: On my PC the new movie cards are even loaded quicker with all images as before the old "hard-coded variables" movie cards and less images.

Edited by - Prinz on 10 Nov 2010 13:06:06
Go to Top of Page

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 10 Nov 2010 :  13:31:48  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Great Prinz!

So, if everything is OK for you I will upload the new release in few hours...

The main moviecard will be movie_bigcover

Ale

http://www.facebook.com/pages/eXtreme-Movie-Manager/47220214342?ref=mf
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 10 Nov 2010 :  13:36:32  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
In my tests everything work as it should.
Go to Top of Page

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 10 Nov 2010 :  13:43:54  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Perfect! Thank you again!

Ale

http://www.facebook.com/pages/eXtreme-Movie-Manager/47220214342?ref=mf
Go to Top of Page

katleeh
Starting Member

USA
12 Posts

Posted - 12 Nov 2010 :  04:19:47  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
On the concept of having the other variables available, has anyone made a moviecard using those yet? IE: the banner and poster one?

- KatLeeH
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 19 Nov 2010 :  13:15:33  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
_MOVIE_POSTER_
_MOVIE_COVER_ (for DVD, Blue-ray, VHS)
_MOVIE_FRONTCOVER_ (for Jewelcase)
_MOVIE_BACKCOVER_ (for Jewelcase)
_MOVIE_CD_DVD_
_MOVIE_FANART_
_MOVIE_SCREENSHOTS_
_MOVIE_BANNERS_


To add all these new Category's to XMM shouldn't be a big problem anymore. Because the main reason against it doesn't exist anymore. There are only 3 Variables for each new Category necessary anymore. (The primary Image, the first additional Image (_1.jpg) and the COUNT Variable)

quote:
_MOVIE_SEASON_BANNERS_
_MOVIE_SEASON_COVERS_


To integrate these is in XMM will be a bit more difficult, because there have to be grouped as a (Sub-)category for each Season of a TV Show. Especially how to integrate it/display them in the the Edit-Dialog will be a little Challenge.

A special function to import these for the magic script engine should be not that of a problem.

And i would suggest to make all 3 Variables (The primary Image, the first additional Image (_1.jpg) and the COUNT Variable)
of all Category's also available on the Episode Card. Adding the Actors Displaying just like on the movie card to the episode card would be the icing on the cake.

*Edit*

The Variables for these Category's could also be a bit problematic because you would have to have a set for each Season. That will be a even bigger challenge. I'm thinking about it...

Edited by - Prinz on 19 Nov 2010 13:39:57
Go to Top of Page

JDommi
Administrator

Germany
4650 Posts

Posted - 19 Nov 2010 :  19:55:53  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
As soon as Ale (hopefully) implements that (and corrects the renumbering bug) I can activate the new categories in my CM. Five additional types are already possible...

*EDIT*
Btw. why do you need 3 variables? The first additional cover has only an appended _1 to the primary/base name!?!

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse

Edited by - JDommi on 19 Nov 2010 20:00:35
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 19 Nov 2010 :  20:14:15  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by JDommi
*EDIT*
Btw. why do you need 3 variables? The first additional cover has only an appended _1 to the primary/base name!?!



Speed of the replacement is the simple reason. It's faster to replace the _1 with other numbers.
Go to Top of Page

JDommi
Administrator

Germany
4650 Posts

Posted - 19 Nov 2010 :  20:15:52  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Okay, that's an argument!
Thx for quick reply ;)

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 19 Nov 2010 :  20:56:09  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
_MOVIE_SEASON_BANNERS_
_MOVIE_SEASON_COVERS_

I got a solution for that. We don't use these Variables.

I would suggest a Naming pattern like this:

MOVIEID-TITLE_BANNER_SEASON01_NUMBER.jpg
example: 301-Chuck_BANNER_SEASON01_1.jpg

MOVIEID-TITLE_COVER_SEASON01_NUMBER.jpg
example: 301-Chuck_COVER_SEASON01_1.jpg

And as the Variables:

_MOVIE_SEASON_BASENAME_
This Variable has always to be set, regardless if there are any Images. Its only used to generate the real filenames with javascript. It's contents is the Path and Basefilename.
Example: C:\extremmoviemanger database\standard_cover\301-Chuck_SEASON.jpg


_MOVIE_SEASON_BANNERSCOUNTS_
_MOVIE_SEASON_COVERSCOUNTS_

These Variables should have the number of Images for each season separated with a commas always beginning with the season 0 up to the last season imported for the TV Show, but at least 2 Entries. For seasons that aren't in the database set the number to -1.
Example what the Variable should give back: -1, 0, 3, 5
It has always to give back at least: -1, -1

These Variables will be used as a javascript array:
var tvshowbannercount = new Array(_MOVIE_SEASON_BANNERSCOUNTS_);
var tvshowcovercount = new Array(_MOVIE_SEASON_COVERSCOUNTS_);


When replaced it's a javascript array:
var tvshowbannercount = new Array(-1, 0, 3, 5);
var tvshowcovercount = new Array(-1, 2, 1, 0);


Because of the use as an array the variables have at least 2 Numbers separated with a comma like i sad.

With this all real Filenames can be generates with javascript.

Edited by - Prinz on 19 Nov 2010 21:24:19
Go to Top of Page

JDommi
Administrator

Germany
4650 Posts

Posted - 19 Nov 2010 :  21:11:26  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
GREAT, Prinz!
Now let's all call "Ale" to keep him a little further work *lol*

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 19 Nov 2010 :  22:36:48  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Sorry guys, I haven't read the topic deeply, I have only understand that there is more work for me, right?

Ale

http://www.facebook.com/pages/eXtreme-Movie-Manager/47220214342?ref=mf
Go to Top of Page

JDommi
Administrator

Germany
4650 Posts

Posted - 19 Nov 2010 :  22:45:49  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Oh yeah, Ale ;)
Seems to be a lot of "fun" for you *ggg*
You have to correct the renumbering bug and add a few more cover categories - but read it (after enjoying to be back again!)

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

JDommi
Administrator

Germany
4650 Posts

Posted - 21 Nov 2010 :  11:20:17  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
@Prinz:
Yesterday I have uploaded a new CoverManager_Test.rar with ability to batch rename all covers to fit the MovieID.

Requirements:
1. Check IDs if every cover type (cover, backcover, fanart) has the same ID
2. If the check finds any differences: Equalize IDs
3. Rename all covers to fit the MovieID and update their base names in database
To point 3.: I proceed only movies that have a valid entry in field "Cover". The other pics will keep old name.

About 1000 pics per minute were processed on my computer.

A complete renumbering to eliminate the gap of deleted movies is not possible as I don't wanna build the whole table new.

Beside that it's only a work around until Ale has time to correct the Renumbering "bug" in XMM.

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse

Edited by - JDommi on 21 Nov 2010 11:20:58
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic   Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
Previous Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.18 sec. Powered By: Snitz Forums 2000 Version 3.4.07