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 TV 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 - 17 Feb 2014 : 21:59:11
Hi.

I wrote a new script for the TV API of TheMovieDB.org.

The script supports the following features:
Languages:
- English
- German
- Italian
- French

Movie Search:
All TV-Show 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)!
The script checks if there is a translated version of your searched TV-Show 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 release year.

TV-Show data:
- ID
- title, translated title
- original title
- status
- global actors (name, character)
- actors extended data (picture [scaled or full size], birthday, deathday, biography, homepage, birthplace [town and country], filmography, webid)
- genre/s
- runtime
- TMDb rating
- release year, first air date
- production countries
- language/s
- broadcasting network/s
- homepage
- writer/s
- plot
- poster/s (scaled or full size)
- backdrop/s / Fanart (full size only)
- IMDB-Link

Episode Details:
- title, original title
- episode number and season
- air date
- production code
- rating
- writer/s
- director/s
- cast
- plot
- still image


Options:
- language (EN, DE, IT, FR)
- poster (none, only first one, all)
- poster size (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)
- download episode list and detailed information

You can download the script here:
https://sourceforge.net/projects/xmm-scripts/files/TheMovieDB%20%28TV%29/

Feel free to test the script.
Maybe there are some bugs... but with more testers we will find them a bit faster...
14   L A T E S T    R E P L I E S    (Newest First)
Alessio Viti Posted - 10 Apr 2014 : 03:59:35
Thank you!

I will put online now.

Ale
rocman Posted - 06 Apr 2014 : 12:13:01
New version v1.1.1 online:
http://sourceforge.net/projects/xmm-scripts/files/TheMovieDB%20%28TV%29/THEMOVIEDB.ORG%5BTV%5D%28API3%29_v1.1.1.txt/download

- Fixes an endless loop bug in actors filmography
JDommi Posted - 23 Feb 2014 : 19:05:11
Both thumbs up!!!

Now it works for german, too

- The weblink is still wrong. But I think it's a matter of the html card. Seems as if there is an unwanted replacement for that field.
- Multiple genres are not correctly on the html card. But I think that's a change on the separator (before: / now: |) in XMM8.

- Episode runtime is not taken
- Guest Stars ??? I only have checked shows without guest stars. So I don't know if that function works. If already implemented.

Request:
As there is additional info like season plot or other special season info I think thtat it would be a good idea to store these info as episode -1 of every season. Plot and episode still should be taken as well as the TV Season Facts to episode custom fields. Plot Keywords can be taken, too.

rocman Posted - 23 Feb 2014 : 17:51:24
OK, v1.1.0 is online.
https://sourceforge.net/projects/xmm-scripts/files/TheMovieDB%20%28TV%29/

German translation seems to work without "hanging" - I tried it ten times a row successfully!

Additional fixes:
- import of episodes with numbers greater than 10
- added the download of producers and fixed the download of other crew members
JDommi Posted - 19 Feb 2014 : 18:53:18
Additionally test. Again with "The Walking Dead"

- weblink checked again
http://www.themoviedb.org/movie/1402?api_key=72cae7941bfe23850229828662c9e4b8&language=en&append_to_response=credits,external_ids
in the editor is saved:
http://api.themoviedb.org/3/tv/1402?api_key=72cae7941bfe23850229828662c9e4b8&language=en&append_to_response=credits,external_ids

- episodes tested again. 51 episodes to take but only 33 in database. The episodes 10 to end are always saved as episode 9.

*EDIT*
Nearly forgotten...
The german translation still hangs. But the movielist now is as fast as any other script. The english version works okay.
JDommi Posted - 19 Feb 2014 : 07:24:05
Quick reply before going to work...
- web id: I don't need it personally as I use IMDB, too. But other users? Maybe an option for?
- country: better would be in the country.js
- mpaa: ok, haven't recognized that
- crew: well, wrong said by me. I meant that only the writer was taken. No director nor any other member of the crew.
- weblink: the one you click on the card. I used it to check the info and I got a movie with the same id as the show. In the tab it is shown correctly. Therefor I had added the question marks.
- episodes: I tried it only once. On selecting all episodes were shown (and chosen!). But the result was 6/9/9/9 episodes shown on the card.
rocman Posted - 18 Feb 2014 : 22:42:28
quote:
Actors = ok (no web id)

That is intentionally - I thought most of you uses IMDB-IDs, but I can add that.

quote:
Country = ok - but not shown in the card

That is correct. The API only delivers the country code like US, CA, etc. There are two possibilities:
1. I can add some SUBSTITUTEWORDs to script or
2. small change of the countrys.js file in MovieCards folder.

quote:
MPAA = missing

At the moment there is no MPAA information on TMDb for TV-Shows.

quote:
Crew = only one writer

There is only one on TMDb for The Walking Dead.

quote:
Weblink = WRONG as link has /movie/ instead of /tv/ on tab WEB it seems to be ok????

Hmm... where can I find this Weblink? I only know about the WEB tab but this is ok.

quote:
Episodes = not all are taken S01=6 okay all other seasons take only 9 of 13 episodes

Sure? I tried twice and everything was ok: S01=6, S02=13, S03=16, S04=16
JDommi Posted - 18 Feb 2014 : 22:15:54
You're right!
The english version grabs the data immediately!

Quick test with "The Walking Dead":
Year = ok
Original Title = ok
Language = ok
Length = ok
Plot = ok
Studio = ok
Genre = ok
IMDB-Link = ok
Cover = ok
Fanart = ok
Actors = ok (no web id)
Actor's Pic = ok
Country = ok - but not shown in the card

MPAA = missing
Crew = only one writer
Weblink = WRONG as link has /movie/ instead of /tv/ on tab WEB it seems to be ok????
Episodes = not all are taken S01=6 okay all other seasons take only 9 of 13 episodes

rocman Posted - 18 Feb 2014 : 22:10:56
Ah yes, it was webslot 4 before my changes...
I've uploaded a new version of the script (I've changed from OPENWEBSLOT to OPENNEWWEB).
https://sourceforge.net/projects/xmm-scripts/files/TheMovieDB%20%28TV%29/

But I think the "stop bug" is still there.
I suspect that the TV-API has some server problems at the moment...? Because if you try multiple times suddenly the scripts works.
Stupid thing is that you have to kill the whole XMM process if you run in the "stop bug"...
JDommi Posted - 18 Feb 2014 : 21:49:58
Well, as I remember I had the hanger on webslot 4 and always after selecting the show.
But up to 5 MINUTES for grabbing the main show titles is really hard, too. Especially for testing.
rocman Posted - 18 Feb 2014 : 21:42:02
quote:
Originally posted by JDommi

Yes, but anyway it's a wonder that the button doesn't stop the script.


That happens quite often if you're testing scripts...

Hmm... I can't find an endless loop.
Sometimes the script works without problems on the same TV-Show, sometimes it stops when downloading the TV-Show translation informations - the associated temp file remains at 0.0 kByte (the download never starts, i don't know why).
The script stops at instruction: "#OPENNEWWEB#=#08#".

Looks like more testing for me...
JDommi Posted - 18 Feb 2014 : 20:40:18
Yes, but anyway it's a wonder that the button doesn't stop the script.
rocman Posted - 18 Feb 2014 : 17:31:44

Weird... sounds like an endless loop.
Hmm... I will make some more tests. Thanks for reporting.
JDommi Posted - 18 Feb 2014 : 10:52:57
I am just testing "Arrow".
It took nearly 5 minutes (!) until the script showed the search results...
After selecting the correct show I had a look at the block statisrics: loadoptions = 10 and setvariables = 17. ???

Another 10 minutes later - still no progress.

*EDIT*
After further 10 minutes I used the TaskManager as even the STOP SCRIPT button didn't work.
Same test started with "The Walking Dead". After 2 minutes I got 3 entries to select.
5 Minutes later: TaskManager...

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