BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 eXtreme Movie Manager 8, 9, 10 Forum
 Scripts
 Brand new script for TMDb API3

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
rocman Posted - 27 Jan 2013 : 20:38:24
Hello there...

I wrote a new script for the API3 of themoviedb.org.

The script supports the following features:
Languages (more are possible if needed):
- English
- German
- Italian
- French

Movie Search:
All movie titles in the search list are english! Nevertheless your import will be localized in your choosen language! If you want localized movie titles in the search list you have to edit the script (change language=en to language=de or language=it or language=fr in #WEBQUERY# string)! Maybe Alessio or I can upload localized script versions, but this would result in a total of 8 new scripts (4 for movie imports, 4 for actor imports). I didn't find a way to use other variables in the #WEBQUERY# string than #MOVIE#!
The script checks if there is a translated version of your searched movie on TMDb. If so it shows this in your search results or the script falls back to english import. In front of each search result you see what language will be imported. Furthermore you can see the movie release year.

Movie data:
- MovieID
- Movie title
- Original movie title
- Director/s
- Actors (name, character in movie)
- Actors extended data (picture [scaled or full size], birthday, deathday, biography, birthplace [town and country], filmography, webid)
- Genre/s (seperately in XMM8)
- TMDb rating
- Plot
- Tagline
- Runtime
- Production countries
- Movie release year
- Poster/s (scaled or full size)
- Backdrop/s / Fanart (full size only)
- Producer/s
- Writer/s
- Photographer/s
- Composer/s
- Production studio/s
- MPAA (localized, with US fallback)
- Official website
- Budget -> in Custom 1 or Budget in XMM8
- Revenue -> in Custom 2 or Revenue in XMM8
- Release Date -> in Custom 3
- IMDB-Link -> in Custom 8 or IMDB Link in XMM8

Options:
- Language (EN, DE, IT, FR)
- Poster (none, only first one, all)
- Postersize (scaled to width 500, full size)
- Backdrop (none, only first one, all)
- Detailed actors information (no, yes)
- Overwrite existing detailed actors information (no, yes) -> speed up import if actor already exists in database
- Actors picture (no, yes)
- Actors picture size (scaled to width 185, full size)

An actor only import script is available, too!

You can download the scripts here:
https://docs.google.com/folder/d/0Bx5mVBWjZDagNHdHRUJXVGxFelE/edit
Click on script, then choose File -> Download!

I also mailed them to Alessio for uploading to server.

If you find any bugs, you can write it down here. I will have a look after it...
20   L A T E S T    R E P L I E S    (Newest First)
Alessio Viti Posted - 10 Apr 2014 : 03:54:35
Thank you Rocman!

I will upload to server now.

Ale
rocman Posted - 09 Apr 2014 : 12:06:52
OK, I've upgraded the scripts to the following versions:

Movie XMM8 -> v2.2.3
Movie XMM7 -> v2.1.3

Actors XMM8 -> v2.1.0
Actors XMM7 -> v2.1.0

https://sourceforge.net/projects/xmm-scripts/files/TheMovieDB/

I've successfully tested all your examples and script settings.

Besides:
I don't know why the movie script is not importing all actors data but the actors script does (both scripts use the same instructions). I guess this is an issue with XMM8.
The script is downloading full size covers. Be aware of the HTML template you are using - I use one which only shows a small picture but the full size picture is available in database.
leslei Posted - 08 Apr 2014 : 10:30:05
quote:
Originally posted by rocman

OK, I will do some more tests...
Give me some time.

--- UPDATE ---
Can you provide some further informations please?
1) What movie/actor do you try when the script freezes?
2) What settings you are using? (provide the option settings of the script)
---/UPDATE/---



These Lock Up Regulary


Con Air 1997
The Missing 2003

The Lock up Some times

Prometheus 2012
The Avengers 2008
Limitless 2011

THERE ARE A LOT MORE BUT I DONT HAVE THEM LISTED AT THE MOMENT


Default Script For Movies THEMOVIEDB_ORG(API3)_for_Rel_8_v2_2_2.txt

Default Script For Actors THEMOVIEDB_ORG[Actors](API3)_for_Rel_8_v2_0_3.txt

Default Script For TV THEMOVIEDB_ORG[TV](API3)_v1_1_1.txt


UNDER DEFAULT SCRIPT FOR MOVIES

Options

Use Intelligent Direct Engine 0
Select Language 1
Posters 1
Poster Size 0
Backdrop 0
Detailes Actors Information 1
Override Existing Detailed Actors Information 0
Actors Picture 1
Actor Picture Size 0

Fields

These TICKED

Title
Original Title
Starring
Genre
Subgenre
Year
Pictures

THE REST
THESE UNTICKED

UNDER DEFAULT SCRIPT FOR PEOPLE
Select Language 1
Actors Picture 1
Actor Picture Size 1
rocman Posted - 07 Apr 2014 : 18:28:49
OK, I will do some more tests...
Give me some time.

--- UPDATE ---
Can you provide some further informations please?
1) What movie/actor do you try when the script freezes?
2) What settings you are using? (provide the option settings of the script)
---/UPDATE/---
JDommi Posted - 07 Apr 2014 : 10:00:13
In the Advanced Options "Actors Picture Size" setting to 1 (Take full picture size) doesn't work?
leslei Posted - 07 Apr 2014 : 08:27:53
Need Help With Scripts
I am trying to use themoviedb Scripts and the lockup (Freeze) When Downloading the Actors Information .
I Have tried everything I can think of but still cant get it to work.
I have tried all the LATEST SCRIPTS
THEMOVIEDB_ORG(API3)_for_Rel_8_v2_2_2.txt
THEMOVIEDB_ORG[Actors](API3)_for_Rel_8_v2_0_3.txt

BUT IF I Use The OLD SCRIPTS That Are INSTALLED
THEMOVIEDB.ORG(Multi-Language).txt
THEMOVIEDB.ORG.txt
THEMOVIEDB.ORG[Actors](API3) for Rel 8.txt

The Work But Only Bring Down Small (Thumbnail Pictures)

Any Help OR Guidance would Be GREAT

LES

I Have JUST Gone Backwards to THEMOVIEDB_ORG(API3)_v2_1_0.txt
And this One Works OK THIS OLD SCRIPT Does Not Freeze . I am Able to Get a Readable Picture without Being to Large .

rocman Posted - 06 Apr 2014 : 12:15:07
A new bugfix for the scripts is now online:
https://sourceforge.net/projects/xmm-scripts/files/TheMovieDB/

XMM8: v2.2.2
XMM7: v2.1.2

Actors XMM8: v2.0.3
Actors XMM7: v2.0.3

- Fixes an endless loop bug in actors filmography
Alessio Viti Posted - 21 Feb 2014 : 08:08:50
Thank you Rocman, I will upload in the server today.

Ale
rocman Posted - 18 Feb 2014 : 22:21:29
v2.2.1 of "THEMOVIEDB.ORG(API3)_for_Rel_8"
v2.0.2 of "THEMOVIEDB.ORG[Actors](API3)_for_Rel_8"
is now online for XMM8 and

v2.1.1 of "THEMOVIEDB.ORG(API3)"
v2.0.2 of "THEMOVIEDB.ORG[Actors](API3)"
is now online for XMM7

You can download them on Sourceforge here:
https://sourceforge.net/projects/xmm-scripts/files/TheMovieDB/

Changes:
- small fix for actors/directors filmography (because of a change in field order of the API)
rocman Posted - 17 Feb 2014 : 21:40:01
v2.2.0 of "THEMOVIEDB.ORG(API3)_for_Rel_8"
is now online for XMM8 and

v2.1.0 of "THEMOVIEDB.ORG(API3)"
is now online for XMM7

You can download them on Sourceforge here:
https://sourceforge.net/projects/xmm-scripts/files/TheMovieDB/

Changes:
- redesign because of a changed field order in TMDb API (with the previous script you will get wrong actor/character combinations as well as wrong directors, writers, etc.)
rocman Posted - 21 Jan 2014 : 21:00:36
quote:
Originally posted by JDommi


Do you plan to make a script for TVShows, too? Or are there no episode infos available? I haven't test it yet.


You've got me...
At the moment I'm working on a TVShow script for the Tmdb API.
Alessio Viti Posted - 21 Jan 2014 : 10:52:36
Thank you Rocman!

I have upload to server just now.

Ale
JDommi Posted - 21 Jan 2014 : 10:00:16

Do you plan to make a script for TVShows, too? Or are there no episode infos available? I haven't test it yet.
rocman Posted - 20 Jan 2014 : 21:20:29
v2.1.0 of "THEMOVIEDB.ORG(API3)_for_Rel_8"
v2.0.0 of "THEMOVIEDB.ORG[Actors](API3)_for_Rel_8"
is now online for XMM8 and

v2.0.0 of "THEMOVIEDB.ORG(API3)"
v2.0.0 of "THEMOVIEDB.ORG[Actors](API3)"
is now online for XMM7

You can download them on Sourceforge here:
https://sourceforge.net/projects/xmm-scripts/files/TheMovieDB/

Changes:
- the scripts now use new and changed features of the API3 interface (to prevent future script failures and extend the script by the new tv show API)
- the filmography of actors is now extended by tv show appearances
rocman Posted - 12 Jan 2014 : 14:48:09
quote:
When importing a movie with detailed actor's information not everything is grabbed. Only the actor's script stores all info

Yes, that's true but at the moment I can't fix it:
The actor script is nearly the same as the "normal" movie script. If I debug with XMM I can see that the information is grabbed but not added to database if you use the "normal" movie script.

Besides I found a small typo in the actor's script (one #GOTO# was not found).
Here is the new version:
v1.3.1 for XMM7:
http://sourceforge.net/projects/xmm-scripts/files/TheMovieDB/THEMOVIEDB.ORG%5BActors%5D%28API3%29_v1.3.1.txt/download
v1.3.1 for XMM8:
http://sourceforge.net/projects/xmm-scripts/files/TheMovieDB/THEMOVIEDB.ORG%5BActors%5D%28API3%29_for_Rel_8_v1.3.1.txt/download
JDommi Posted - 24 Dec 2013 : 12:38:50
To the script.
- When importing a movie with detailed actor's information not everything is grabbed. Only the actor's script stores all info.
- Exist non-english actor's information? Haven't got any so far. So the language option would be useless.

Apart from that: Great work
JDommi Posted - 24 Dec 2013 : 10:27:05
First of all thanks for the new scripts, rocman! I will try to find time today to test them again.

To your problems:
1. That's new to me but I can confirm after a quick test. I had thought that Ale only lists the content of the Scripts folder and don't compares the script names. "THEMOVIEDB.ORG(API3) for Rel 8.txt" is equal to "THEMOVIEDB.ORG(API3)_for_Rel_8.txt" but not to "THEMOVIEDB.ORG_(API3)_for_Rel_8.txt". So this must be a matter of reading the folder content like adding all script names before "_for_rel_8.txt" or " for rel 8.txt" to a listbox with unique entries. Ale has to check that although it would be better to add an identifier like "_test" or "_test_01".

2. That's clearly a bug. No doubt about it.

*EDIT*
To 1. Just recognized that the script list is taken from the LiveUpdateTemp/scripts. Please check it out, rocman.
rocman Posted - 23 Dec 2013 : 19:20:06
Thank you for your reports.
I will have a look after it...

##### UPDATE #####

v2.0.0 of "THEMOVIEDB.ORG(API3)_for_Rel_8"
v1.3.0 of "THEMOVIEDB.ORG[Actors](API3)_for_Rel_8"
is now online for XMM8 and

v1.7.0 of "THEMOVIEDB.ORG(API3)"
v1.3.0 of "THEMOVIEDB.ORG[Actors](API3)"
is now online for XMM7

You can download them on Sourceforge here:
https://sourceforge.net/projects/xmm-scripts/files/TheMovieDB/

Changes:
- Added "Error Handling" for empty database fields in TMDb, which could cause endless loops or no full import of data (unfortunately nearly all fields in TMDb are allowed to be zero)
- Fix for trailer import (small TMDb API change)

I tried with "Die purpurnen Fluesse" etc. and it works fine.

There are two small problems which I can't fix:
1. Sometimes the script is not recognized by XMM8 if there is already a version with spaces in filename present.
For example:
"THEMOVIEDB.ORG(API3) for Rel 8.txt" and
"THEMOVIEDB.ORG(API3)_for_Rel_8.txt"
If you copy both files to the script directory XMM8 only recognizes "THEMOVIEDB.ORG(API3) for Rel 8.txt". If you delete this one the other one with _ is recognized. I don't know why.

2. I can't figure out the problem that sometimes not all data is imported to database. If you "trace" with the MagicScriptEditor you could see that every line in the script is executed successfully but for example you don't see the actor pictures. If you go to the database photo directory you will see all downloaded images but they are not shown in XMM.
After deleting all entries in database and deleting the contents of _androiddevice, _cover, _download, _,mediacenterdir, _photos and _thumb directories, I can see data for actor birthdate, birthplace etc.
JDommi Posted - 23 Dec 2013 : 11:42:23
With advanced options set to 0,2,1,1,1,1,0,1,1 and importing all fields I get only the title, original title, (one?) director and one actor
after importing.
Where only the director has additional info and the actor is only the last one.
I checked that on "Die purpurnen Fluesse", "Die purpurnen Fluesse 2" and "Predator" (2010).
Alessio Viti Posted - 21 Dec 2013 : 23:20:24
I have try it but the script doesnt download actor pictures and some other info.

BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.1 sec. Powered By: Snitz Forums 2000 Version 3.4.07