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
 Scripts
 TAKEPOSTERFANART - Bug?
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3 Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Prinz
Senior Member

Germany
1522 Posts

Posted - 02 Jan 2010 :  18:21:32  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I changed the thetvdb.com script so it imports all posters and the new fanart. But it doesn't work. It downloads the fanart and saves it to the database folder, but it's not shown/added to the database.

Is it a Bug or does it not work with TVShows? Or something wrong with my changes to the script?

Here is the changed script:
http://www.mediafire.com/download.php?vwowjjcyy0y

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 02 Jan 2010 :  19:16:42  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Prinz,

I will take a look. It should work also for TV Shows (not for episodes right now).

Thank you!

Ale

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

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 02 Jan 2010 :  19:33:09  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I have found the problem... now FanArt work only for movies.

I have fixed it, tomorrow morning I will put online the new release.

Thank you!

Ale

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

Prinz
Senior Member

Germany
1522 Posts

Posted - 04 Jan 2010 :  16:55:52  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you.

I modded your DefaultHTMLCard_with_Fanart.html Card a bit. Since Fanart for TV Shows are big, i edited so it fits to the width of the Page, it will be hidden if no Fanart is in the database. The Moviecover and Backcover i put back down, the Covers will also automatically hidden if there are none. (No more error messages and empty windows when clicking an white.gif Cover-Placeholder)

Is there a Variable ( like _IS_TVSHOW_ ) in Moviecards for the Status of the 'This is a TVShow' Field in the database?

I would like to have it, so i can hide the Episodes Block on the right side of the Moviecard when a Movie is being displayed.

Here is my DefaultHTMLCard_with_Fanart(Mod):
http://www.mediafire.com/download.php?gynagydtlkm
Go to Top of Page

JDommi
Administrator

Germany
4644 Posts

Posted - 05 Jan 2010 :  10:12:37  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Prinz ;)
Good work!
As I have already sent a modified DefaultHTMLCard to Alessio I wanna ask you to merge my changes into yours.
The changes are:
1. tagline placed in an div so taglinecut isn't needed anymore
-inserted <div style="position:absolute;left:75px;top:32px;height:14px;width:97%; overflow-x:hidden; overflow-y:auto">
<strong><font size="1" color="#FFFF00">_MOVIE_TAGLINE_</font></strong>
-inserted </div>

2. added jump marks for some sections (the included download.png has to be placed in folder Symbols)

You can download the card on http://mitglied.lycos.de/jkdommi/xmm/DefaultHTMLCard.rar
Please copy the link and paste it in your browser. lycos seems to have changed something with their redirection *wonder*

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

Edited by - JDommi on 05 Jan 2010 10:16:52
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 05 Jan 2010 :  15:44:58  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi JDommi

I merge them. I put two layouts in the zip, one with the Fanart at the top, the other with Fanart at the Bottom.

I made additional changes:

1. Border around the Fanart
2. Play Movie / Play Movie Icons now will also be hidden if there is no Trailer/Movie in the Database

I put both Layouts in the zip:
(removed because of error)

Edited by - Prinz on 05 Jan 2010 15:58:31
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 05 Jan 2010 :  15:56:33  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Sorry. Found a Bug and corrected it: (Tagline had sometimes scrollbars )

http://www.mediafire.com/download.php?zjt3nz2dmmc
Go to Top of Page

JDommi
Administrator

Germany
4644 Posts

Posted - 05 Jan 2010 :  16:57:27  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Well *lol* that was wished ;)
That way you are able to see whole tagline without "destroying" the main title bar...

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 - 05 Jan 2010 :  17:25:44  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The Problem was that sometimes characters were cutoff at the bottom, not even one line were visible.

Scrollbar is still there when necessary.
Go to Top of Page

JDommi
Administrator

Germany
4644 Posts

Posted - 05 Jan 2010 :  18:03:18  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Ok, for me were up to 3 lines correctly visible. Maybe it is because I tried to surpress the top part of a following line.
But the result counts ;)
Thx again, Prinz.
Btw. the variable _IS_TVSHOW_ I had asked for a few weeks ago, too (when I added the foldable parts). But Ale was a little bit too busy that time. He just has to be remembered...

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 - 06 Jan 2010 :  06:33:29  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply


I have forget the variable _IS_TVSHOW_ guys, sorry.

Please write me what is the best for you, if a simple 0/1 or a boolean value true/false

Thank you!

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

JDommi
Administrator

Germany
4644 Posts

Posted - 06 Jan 2010 :  09:45:22  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I think 0/1 or yes/no are best.
Don't even know if javascript accepts simple boolean true/false

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 - 06 Jan 2010 :  10:22:21  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
0/1 would be best.

If you like you still can use 0/1 as a boolean variable since javascript interprets 0 (empty variable and the words: null, false) as false, everything else as true.
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 06 Jan 2010 :  13:58:16  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Here is an update for the TheTVDB.COM Script.

New Advanced Options (Red):

[Serie Posters]
0=Do not take Posters
1=Take only First Poster
2=Take ALL Posters

[FanArt]
0=Do not Take FanArt
1=Take only First FanArt
2=Take ALL FanArt

Other Changes:
Open WebSlots for Posters and Fanart only when necessary (Option activated)

http://www.mediafire.com/download.php?ngmfmdx1dnj
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 06 Jan 2010 :  15:22:36  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
One Question:

#SUBSTITUTEWORD# doesn't seams to bee working correctly

For example:

Import: The Listener with the TheTVDB.Com Script

The Actress Mylène Dinh-Robic is imported as Mylène Dinh-Robic

In #SUBSTITUTETAGS# is defined:
#SUBSTITUTEWORD#=è=è

So it should substitute it, but it doesn't. Or is there some function that must be executed for the conversion
Go to Top of Page

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 07 Jan 2010 :  12:42:23  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Prinz,

After you have use the #TAKEWORD# instruction, to replace it you must call the #STARTSUBSTITUTEWORD# in order to process it.

I haven't check the script, if the instruction is already there maybe there is a bug.

Ale

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

Prinz
Senior Member

Germany
1522 Posts

Posted - 07 Jan 2010 :  13:10:54  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
#STARTSUBSTITUTEWORD#

That command isn't used in any script whatsoever. It is not documented so i think nobody knows of it.

But other substitutions work without it.

Can't test it at the moment thetvdb.com is offline again.

Edited by - Prinz on 07 Jan 2010 13:11:29
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 07 Jan 2010 :  14:10:30  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Ohh, i see you meant: #STARTSUBSTITUTETAGS#

I merge your addition #STARTSUBSTITUTETAGS# with my modifications (Additional Options, see Posting above):
http://www.mediafire.com/download.php?mmzmnwtmmwj

Can't test it until thetvdb.com is online.

Edit:
Tested and working.

Edited by - Prinz on 07 Jan 2010 19:07:04
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 07 Jan 2010 :  22:59:02  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I found a another Bug in the Script. To fix it properly and for another change i would need a search and replace function for a STRING variable.

Is there such a function? Not a global function like #SUBSTITUTEWORD#, #STARTSUBSTITUTETAGS#
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 09 Jan 2010 :  00:35:11  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thx for the _IS_TVSHOW_ variable. Modded my two Verisons with it. Episodes Block will only be shown if it is a TVSHOW.

Edit:

Made another modification. Bugfix for the Movie Specification. And added automatic change of the tile in TV Show Specification for TV Shows.

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

Edited by - Prinz on 09 Jan 2010 00:51:03
Go to Top of Page

JDommi
Administrator

Germany
4644 Posts

Posted - 09 Jan 2010 :  00:54:21  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Prinz. Would be nice to send me your email adress... as you seem to be able to help me on 2 javascript problems ;)

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic   Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.17 sec. Powered By: Snitz Forums 2000 Version 3.4.07