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 8, 9, 10 Forum
 Scripts
 Brand new script for TMDb API3
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 3 Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

smuche55
Starting Member

France
10 Posts

Posted - 20 Feb 2013 :  18:56:17  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
English title : For a Few Dollars More (1965)
French title : …Et Pour Quelques Dollars De Plus [1965]
Original title : Per qualche dollaro in pií¹ <- "ù"

Plot (in french) :
L'indien , bandit cruel et fou, s'est évadé de prison. Il se prépare í "à" attaquer la banque d'El Paso, la mieux gardée de tout l'Ouest, avec une quinzaine d'autres malfaiteurs. Le Manchot et le Colonel Douglas Mortimer, deux chasseurs de primes concurrents, décident, après une confrontation tendue, de faire finalement équipe pour arrêter les bandits.

link :
http://www.themoviedb.org/movie/938

Another idea put the link of the collection in CUSTOM??

For my film i use IMDB and TmDB (in this order : one after the other)
no chains script because some information of imdb (like groof trivia are not imported in chains - i don't no why)

In my tmdb script i put "tagline" in custom5 (inb french)
in normal tagline i have tagline from imdb in english (because the french imdb is poor :'( )

One more idea : i try to do a script for boxset (collection) to scrap this kind of page : http://www.themoviedb.org/collection/48317-the-dollars-collection?language=en

Sorry for my poor english :'(
Go to Top of Page

rocman
Junior Member

Australia
117 Posts

Posted - 20 Feb 2013 :  21:34:34  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Unfortunately I can't fix your wrong chars.
I tried to import your example and everything is fine (I got "Per qualche dollaro in più" and the "à" too).

Maybe your pc is using another charset and that's why XMM is converting the special chars to something unusefull?
I think its easier when you add some #SUBSTITUTEWORD#-lines to the end of the script, like:
#SUBSTITUTEWORD#=í¹=ù

You can build the link to the collection with parsing the id of "belongs_to_collection" to #xx# and add it to "http://www.themoviedb.org/collection/#xx#". If I have some time maybe I will add this to the script.

The TMDb API can handle queries for boxsets but it delivers only basic informations like the name of the boxset and the "containing" movie titles with their release dates and covers (all other information which is shown on the website is missing... maybe it is added later to the API?). For now it seems better to parse the html of the website.
Go to Top of Page

rocman
Junior Member

Australia
117 Posts

Posted - 10 Mar 2013 :  10:46:03  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
v1.9.0 of "THEMOVIEDB.ORG(API3)_for_Rel_8"
v1.2.4 of "THEMOVIEDB.ORG[Actors](API3)_for_Rel_8"
is now online for XMM8 and

v1.6.0 of "THEMOVIEDB.ORG(API3)"
v1.2.4 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:
- Directors are now imported the same way as Actors (with full details), not just their name
- some small bugfixes (non closing if statements and wrong jumppoints)
Go to Top of Page

rocman
Junior Member

Australia
117 Posts

Posted - 12 Mar 2013 :  21:26:15  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
v1.9.1 of "THEMOVIEDB.ORG(API3)_for_Rel_8"
is now online for XMM8 and

v1.6.2 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:
- added import of collections to CUSTOM4 = means "Matrix" belongs to "Matrix Collection" (now for XMM7, too)
- fixed import of Producers (now Executive Producers are downloaded, too)
Go to Top of Page

rocman
Junior Member

Australia
117 Posts

Posted - 10 Apr 2013 :  21:50:26  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
v1.9.3 of "THEMOVIEDB.ORG(API3)_for_Rel_8"
is now online for XMM8 and

v1.6.4 of "THEMOVIEDB.ORG(API3)"
is now online for XMM7

You can download them on Sourceforge here:
http://sourceforge.net/projects/xmm-scripts/files/TheMovieDB/THEMOVIEDB.ORG%28API3%29_for_Rel_8_v1.9.3.txt/download
http://sourceforge.net/projects/xmm-scripts/files/TheMovieDB/THEMOVIEDB.ORG%28API3%29_v1.6.4.txt/download

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

Changes:
- fixes some problems with empty character names
Go to Top of Page

rocman
Junior Member

Australia
117 Posts

Posted - 20 Dec 2013 :  11:26:11  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
v1.9.4 of "THEMOVIEDB.ORG(API3)_for_Rel_8"
v1.2.5 of "THEMOVIEDB.ORG[Actors](API3)_for_Rel_8"
is now online for XMM8 and

v1.6.5 of "THEMOVIEDB.ORG(API3)"
v1.2.5 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:
- fix for changed API3 configuration (for example actor images not downloaded)
- fixes an issue with very long "cryptic" entries in movie search list (could happen if a movie has no release date in TMDB database)
Go to Top of Page

romex
Starting Member

23 Posts

Posted - 20 Dec 2013 :  15:07:09  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Works perfect! Thank you!!
Go to Top of Page

robin.lyselv
Starting Member

25 Posts

Posted - 21 Dec 2013 :  14:20:23  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you rocman !

At last i can use this script in german !
Really good work !

Robin
Go to Top of Page

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 21 Dec 2013 :  23:20:24  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I have try it but the script doesnt download actor pictures and some other info.

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

JDommi
Administrator

Germany
4638 Posts

Posted - 23 Dec 2013 :  11:42:23  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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).

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

Edited by - JDommi on 23 Dec 2013 11:48:07
Go to Top of Page

rocman
Junior Member

Australia
117 Posts

Posted - 23 Dec 2013 :  19:20:06  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.

Edited by - rocman on 24 Dec 2013 01:16:01
Go to Top of Page

JDommi
Administrator

Germany
4638 Posts

Posted - 24 Dec 2013 :  10:27:05  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.

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

Edited by - JDommi on 24 Dec 2013 12:16:48
Go to Top of Page

JDommi
Administrator

Germany
4638 Posts

Posted - 24 Dec 2013 :  12:38:50  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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

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

rocman
Junior Member

Australia
117 Posts

Posted - 12 Jan 2014 :  14:48:09  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

rocman
Junior Member

Australia
117 Posts

Posted - 20 Jan 2014 :  21:20:29  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

JDommi
Administrator

Germany
4638 Posts

Posted - 21 Jan 2014 :  10:00:16  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply

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

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 - 21 Jan 2014 :  10:52:36  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you Rocman!

I have upload to server just now.

Ale

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

rocman
Junior Member

Australia
117 Posts

Posted - 21 Jan 2014 :  21:00:36  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.
Go to Top of Page

rocman
Junior Member

Australia
117 Posts

Posted - 17 Feb 2014 :  21:40:01  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.)
Go to Top of Page

rocman
Junior Member

Australia
117 Posts

Posted - 18 Feb 2014 :  22:21:29  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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)
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic   Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
Previous Page | 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.21 sec. Powered By: Snitz Forums 2000 Version 3.4.07