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
 filmaffinity doesn't import "críticas"
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

eemakia
Junior Member

163 Posts

Posted - 09 Jun 2010 :  05:15:24  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello. Can someone modify the script filmaffinity to import all the info in the field "Críticas" to Reviews in the cards?. Thanks

Prinz
Senior Member

Germany
1522 Posts

Posted - 12 Jun 2010 :  23:29:26  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
- Add "Críticas" to Review Field
- Replaced small with big Poster
- Add support for Title searches with special characters like ñ

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

eemakia
Junior Member

163 Posts

Posted - 13 Jun 2010 :  05:59:16  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks for the fix. All the new features are and works perfect. Great job. Thanks
Go to Top of Page

eemakia
Junior Member

163 Posts

Posted - 13 Jun 2010 :  06:15:33  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Sorry but i found one error: i try with the wolfman and works great, but then i try 1408 and 16 blocks and only import this: -------------------.
I will keep testing

Edit: 300 don't work and planet 51 yes. Maybe is for the length of the criticas field (all those who do not work have more criticas than the others) And sometimes the script gives me an error: "can't find the word on the #FIND# Instruction: <td>Line: 204" (try with planet 51). This error was in the old script too

Edit 2: The length is not the problem. Try With the movie REC (have only 5 criticas) and only import ---------------

Edited by - eemakia on 13 Jun 2010 06:34:40
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 13 Jun 2010 :  15:21:26  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
- Fixed "Críticas" import (last html line wasn't taken)
- Rewrote the plot function

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

eemakia
Junior Member

163 Posts

Posted - 13 Jun 2010 :  17:13:42  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Oh yes!!. Now works P E R F E C T. I try with many movies and works really great. Prinz you are the king! . Great job. Thanks

Edited by - eemakia on 13 Jun 2010 17:14:06
Go to Top of Page

eemakia
Junior Member

163 Posts

Posted - 13 Jun 2010 :  18:09:21  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
One more thing (sorry boder you): the script don´t import the decimals of the score (ex: score 5,2 and imports 5). I don´t know if you can fix it or is too much trouble. Thanks in advance
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 13 Jun 2010 :  20:26:09  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
- changed decimal devidor in rating field to a point instead of a comma

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

Edited by - Prinz on 13 Jun 2010 20:26:26
Go to Top of Page

eemakia
Junior Member

163 Posts

Posted - 13 Jun 2010 :  21:57:18  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I have no words for your work. Now really is complete this script. Works PERFECT. Thank you very much.
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 14 Jun 2010 :  14:27:11  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
- Added Actors import
- Added Music import
- Added Studio import
- Added OFFICIAL WEB import
- Added SUBGENRE import

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

eemakia
Junior Member

163 Posts

Posted - 14 Jun 2010 :  16:44:46  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks for the addons!!!. I found one problem: the actors import sometimes works (ex Lakeview Terrace) but others just import one actor (ex City Of Ember)and i think that the subgenre import have the same problem too (ex city of ember works; boogeyman 3 don't works)
Go to Top of Page

eemakia
Junior Member

163 Posts

Posted - 14 Jun 2010 :  17:20:56  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
This is for deafvader: I use movie_bigcover(grey).htm card and i have two little problems: when the genre is in spanish (ex: terror instead of horror) don´t show the icon (i try to rename it). And with some country (Argentina, Sweden) don´t show the icon flag. Please try to fix it if you can. Thanks
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 14 Jun 2010 :  17:26:54  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
city of ember works for me. It imports all actor. But i found a problem with actors import. I made a small mistake :

- Fix Actor that a already in the actors Database weren't added the the Movie

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

boogeyman 3 has only one genre listed. So there is no subgerne to import. Only moviegenre.php?genre= links are used as gerne, the rest is ignored as these aren't genres, these are "tags" or search words... Or maybe i misunderstood something , i don't speak Spanish, i used a online translator...
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 14 Jun 2010 :  17:29:01  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by eemakia

This is for deafvader: I use movie_bigcover(grey).htm card and i have two little problems: when the genre is in spanish (ex: terror instead of horror) don´t show the icon (i try to rename it). And with some country (Argentina, Sweden) don´t show the icon flag. Please try to fix it if you can. Thanks



For that i would need a translation list...
Go to Top of Page

eemakia
Junior Member

163 Posts

Posted - 14 Jun 2010 :  17:58:24  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
With the genre, i understand. You take the word after the point to subgenre and in Boogeyman 3 says: Terror | Secuela (| instead of .)That's ok.You can take it for subgenre too if you want
For the translation list, tell me if i write here or i upload a txt file. The country names are ok (Argentina and Argentina.png)Or you need to change the country name in other pleace?

Edited by - eemakia on 14 Jun 2010 18:00:03
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 14 Jun 2010 :  19:13:12  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can edit the genre list yourself if you want. It's the File Genres.js in the MovieCards Folder. Just add the spanish translation for all genres.

Example:

Original:
quote:
} else if(a == "horror" || a == "grusel") {
document.write('<img border="0" src="MovieCards/Genre/horror.png" width="48" height="48">');


Change to:
quote:
} else if(a == "horror" || a == "grusel" || a == "terror") {
document.write('<img border="0" src="MovieCards/Genre/horror.png" width="48" height="48">');
Go to Top of Page

eemakia
Junior Member

163 Posts

Posted - 14 Jun 2010 :  20:55:20  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by Prinz

You can edit the genre list yourself if you want. It's the File Genres.js in the MovieCards Folder. Just add the spanish translation for all genres.

Example:

Original:
quote:
} else if(a == "horror" || a == "grusel") {
document.write('<img border="0" src="MovieCards/Genre/horror.png" width="48" height="48">');


Change to:
quote:
} else if(a == "horror" || a == "grusel" || a == "terror") {
document.write('<img border="0" src="MovieCards/Genre/horror.png" width="48" height="48">');




Ok, thanks for the info. I done this and works perfect. If you anyone wants the file fixed, please let me know and i upload it. Thanks
Go to Top of Page

JDommi
Administrator

Germany
4655 Posts

Posted - 14 Jun 2010 :  21:22:03  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Although Prinz has already answered:

quote:
Go to the folder "C:\Documents and Settings\...\eXtreme Movie Manager\MovieCards". There is a file called Genre.js that has be be modified manually. This code will be called by DefaultHTMLCard so the card itself don't has to be changed.

A short explanation of how to modify:
1. adding genres:
just add the following lines before the last } else { phrase.
--> } else if(a == "new_genre") {
--> document.write('<img border="0" src="MovieCards/Genre/new_genrepic.png" width="48" height="48">');
new_genre has to be lowercase and the png has to be in folder Genre.
use _empty.png as template for the new pic
2. adding new translation:
add the 2 pipe signs (Alt Gr + <) and the new comparison before the trailing ")" --- || = or
--> } else if(a == "romance" || a == "romanze") {
--> } else if(a == "romance" || a == "romanze" || a == "amore") {

The png itself doesn't has to be renamed for translations.


http://www.binaryworks.it/forum/topic.asp?TOPIC_ID=5558

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