Forum rules
Under no circumstances is spamming or advertising of any kind allowed. Do not post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate others security. Profanity or any kind of insolent behavior to other members (regardless of rank) will not be tolerated. Remember, what you don’t find offensive can be offensive to other members. Please treat each other with the kind of reverence you’d expect from other members.
Failure to comply with any of the above will result in users being banned without notice. If any further details are needed, contact: “The team” using the link at the bottom of the forum page. Thank you.
neoandrew
Posts: 8
Joined: Fri Jul 11, 2008 7:31 pm

GetIMDBMovieDetails Enhancements

Fri Jul 11, 2008 7:44 pm

Hi.

It is possible that GetIMDBMovieDetails will be enhanced in the future with this options:

- actors returned with roles they played
- producers
- original music

I will need this options very soon because i'm making a subtitle download/upload program in c# and one of the future will be imdb movie info. I ask because if not i will have to use regular expressions to get this extra info, so please answer and sorry for my English it isn't my native language.

Regards Andrew

User avatar
eduo
Posts: 716
Joined: Sat Feb 10, 2007 1:40 am
Location: Information Technology
Contact: ICQ Website Yahoo Messenger

Sat Jul 12, 2008 2:13 am

This is probably outside the scope of OpenSubtitles, but you can take advantage of the IMDB ID and use Trynt's API for IMDB (there is another for IMDB TV info):

http://www.trynt.com/trynt-movie-imdb-api/
http://eduo.info/
[url=http://eduo.info/soleol/]OpenSubtitles from your desktop: SolEol for Mac/Windows/Linux[/url]
[url=http://forums.plexapp.com/index.php?showtopic=325&st=0&p=2480&#entry2480]My current episode processing work flow[/url].

neoandrew
Posts: 8
Joined: Fri Jul 11, 2008 7:31 pm

Sat Jul 12, 2008 6:13 pm

If it is just outside the scope, then for what it is there ? If it was out of scope then it wouldn't be implemented... right ? I other hand it is very simple to implement this additional futures, and then i can use only opensubtitles xmp-rpc, that just simplifies some thing, without that i must use regular expressions and i hate that! And Trynt's API doesn't make my day - it is very poor.

User avatar
eduo
Posts: 716
Joined: Sat Feb 10, 2007 1:40 am
Location: Information Technology
Contact: ICQ Website Yahoo Messenger

Sat Jul 12, 2008 6:42 pm

I'm not being clear. I'm sorry.

It's there just because movie files and subtitles need to be attached to an IMDB ID, as per the current OpenSubtitles standard. It's there to help users find the basic data required to be able to correctly identify the movie so OpenSubtitles has it.

Obviously OS has the final word, but I don't believe this is really in scope for OpenSubtitles (whereas helping find the correct IMDB ID is in scope).

You can very easily set this up yourself. It took me ten minutes to download imdbphp and set it up as http://eduo.hopto.org/~eduo/imdb/

Also, please remember demanding something from others doesn't usually work on your favour. You say it's very easy to implement so you have your answer. You don't need to use any RegEx. It's not currently implemented in OS so there's no point saying it is.

Also, OS just as imdbphp and trynt and every other site out there do precisely what you don't want to do: RegEx on the IMDB pages. IMDB doesn't provide an API so anywhere you see their data is because SOMEONE is doing regex behind the scenes.

Please, learn to be civil. It's best for everyone and you'd get better responses.
http://eduo.info/
[url=http://eduo.info/soleol/]OpenSubtitles from your desktop: SolEol for Mac/Windows/Linux[/url]
[url=http://forums.plexapp.com/index.php?showtopic=325&st=0&p=2480&#entry2480]My current episode processing work flow[/url].

neoandrew
Posts: 8
Joined: Fri Jul 11, 2008 7:31 pm

Sat Jul 12, 2008 10:05 pm

First of all: i don't demand something - i just ask how it looks like( sorry if You feel like i'm demanding something); and I'm also not being clear, the reason it makes me post here is that i must use two system in my project:
- first - the GetIMDBMovieDetails function - it very good, but as You say it's purpose is to deliver "basic data" and for me basic data means also producers, music and roles of actors - but never mind

- the second system is regex to imdb for the missing (for me) data

and that's my real problem, i don't like to mix futures; it complicates project, if there were some additional data returned from GetIMDBMovieDetails it would simplify the developing process.
In the other hand if i do some regex and then a week later this functionality will be added to GetIMDBMovieDetails it would be damn frustrating to me, so i ask this questions about some enhancements before i start the work.

And yes i know that if not me, someone makes the regex job, but as i say i'm want to write this program in a "logical way" i mean one call to obtain imdb id (through opensubtitles) and second to get movie details from GetIMDBMovieDetails. And since i can get all needed info from GetIMDBMovieDetails i will not use it; instead i get the imdb id from first call and then get the rest of data from my own regex.
I just must do it in 2 calls, if i use one call for obtaining imdb id and then GetIMDBMovieDetails which doesn't return all data for me i need do a third call to my regex stuff, so better to skip GetIMDBMovieDetails and get all data by own regex.

I'm not programming in php only in asp.net so what is imdbphp and since i see that i must make my own regex i think i will use this thing( imdbphp) because this site http://eduo.hopto.org/~eduo/imdb/ have all info i want and more, i think i can extract regex's from imdbphp but can You tell me more about it ?

User avatar
eduo
Posts: 716
Joined: Sat Feb 10, 2007 1:40 am
Location: Information Technology
Contact: ICQ Website Yahoo Messenger

Sat Jul 12, 2008 10:24 pm

I probably am not being clear, so I'll try to simplify my answer:

1.-You come across as agressive. This may be a secondary effect of your english, I don't know. I thought you should know it because otherwise you might get negative replies everywhere. Take this as you want, I personally don't care. But you DO sound like you're demanding.

2.-The GetIMDBMovieDetails method is there to help users provide the minimum data they must provide when uploading subtitles. It's unimportant what you believe is "basic details". This is from and for OpenSubtitles and they put there what they consider "basic details" (which is more than they have to, really). OS may add more data but, really, they don't have to (they already provide more than they should, to my eyes).

3.-You can do just two calls. It's just that the second one doesn't need to be to OpenSubtitles. It can be to TRYNT, who provide open APIs to IMDB, it can be directly to the iMDB page or it can be to a public interface to IMDbPHP like the one I set-up.

4.-What do you mean about "this site" with eduo.hopto.org? I just said before that is MY machine, where I set-up IMDbPHP in ten minutes. What "this thing" is is my mac, where I'm typing this up right now. I set that up to show you you can do the same.

5.-Stop thinking in terms of RegEx. If you want the data and it's already provided then you're set. You don't need to do any more RegEx, you need to get the XML, if anything.

6.-If you don't know PHP you have an excellent opportunity to do so now. It's easier than ASP and much better in all respects. It's also much cheaper down the road (for example, this ASP IMDB component that's identical to the free imdbphp, costs money to purchase: http://www.quilogic.cc/ )

7.-No, I can't tell you more about imdbphp. That's what Google is for. You didn't even try searching for it?
http://eduo.info/
[url=http://eduo.info/soleol/]OpenSubtitles from your desktop: SolEol for Mac/Windows/Linux[/url]
[url=http://forums.plexapp.com/index.php?showtopic=325&st=0&p=2480&#entry2480]My current episode processing work flow[/url].

User avatar
oss
Site Admin
Posts: 5891
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

Sun Jul 13, 2008 12:49 pm

eduo, thanks, I agree with you on everything. I didnt wanted put SearchIMDB... and GetIMDB... on XML RPC at all, because if too many people will use this, I believe imdb.com just block my IP, and...

Anyway, I have no problem to put those information in response, problem http://search.cpan.org/~stepanov/IMDB-Film-0.33/ is not supporting them. So send patch to Michael and I will add it too :)

Eduo thanks again for nice answers.

neoandrew
Posts: 8
Joined: Fri Jul 11, 2008 7:31 pm

Sun Jul 13, 2008 2:46 pm

eduo -> thanks for help, and by the way i don't know why You think i'm aggressive or demanding futures, maybe You have right - it's because my English, but in my point of view it doesn't looks like i'm aggressive or demanding , but if You say so, then i apologise for that ,this was not my purpose so sorry. In the future i will better check out what i'm typing.

And i don't want to learn php, the truth is that if you choose PHP you say it's better and if you choose ASP.NET you say that it's better, so i have chosen ASP.NET and that's all. In the other hand i have no plans for building a web site i only want to build a stand-alone app.

So thanks for the all advises. Regards Andrew

User avatar
eduo
Posts: 716
Joined: Sat Feb 10, 2007 1:40 am
Location: Information Technology
Contact: ICQ Website Yahoo Messenger

Sun Jul 13, 2008 4:06 pm

Yeah, well. The thing is that I know both ASP and PHP, and thus I can say all the reason where PHP is better than ASP.
http://eduo.info/
[url=http://eduo.info/soleol/]OpenSubtitles from your desktop: SolEol for Mac/Windows/Linux[/url]
[url=http://forums.plexapp.com/index.php?showtopic=325&st=0&p=2480&#entry2480]My current episode processing work flow[/url].

User avatar
eduo
Posts: 716
Joined: Sat Feb 10, 2007 1:40 am
Location: Information Technology
Contact: ICQ Website Yahoo Messenger

Sun Jul 13, 2008 6:51 pm

Anyway, I have no problem to put those information in response, problem http://search.cpan.org/~stepanov/IMDB-Film-0.33/ is not supporting them. So send patch to Michael and I will add it too :)

Eduo thanks again for nice answers.
How interesting. I thought you were using imdbphp. It's pretty good and you use PHP for the rest of the site. I especially like that it has a lot of caching, to not hit IMDB more than necessary.
http://eduo.info/
[url=http://eduo.info/soleol/]OpenSubtitles from your desktop: SolEol for Mac/Windows/Linux[/url]
[url=http://forums.plexapp.com/index.php?showtopic=325&st=0&p=2480&#entry2480]My current episode processing work flow[/url].

neoandrew
Posts: 8
Joined: Fri Jul 11, 2008 7:31 pm

Sun Jul 13, 2008 7:59 pm

Yeah, well. The thing is that I know both ASP and PHP, and thus I can say all the reason where PHP is better than ASP.
But You know ASP or ASP.NET 2 or higher because it is
a big difference ?

User avatar
eduo
Posts: 716
Joined: Sat Feb 10, 2007 1:40 am
Location: Information Technology
Contact: ICQ Website Yahoo Messenger

Sun Jul 13, 2008 8:06 pm

Yeah, well. The thing is that I know both ASP and PHP, and thus I can say all the reason where PHP is better than ASP.
But You know ASP or ASP.NET 2 or higher because it is
a big difference ?
It's irrelevant. The point is that knowing one language doesn't mean another one can't be learnt.
http://eduo.info/
[url=http://eduo.info/soleol/]OpenSubtitles from your desktop: SolEol for Mac/Windows/Linux[/url]
[url=http://forums.plexapp.com/index.php?showtopic=325&st=0&p=2480&#entry2480]My current episode processing work flow[/url].

neoandrew
Posts: 8
Joined: Fri Jul 11, 2008 7:31 pm

Sun Jul 13, 2008 8:22 pm

It's irrelevant. The point is that knowing one language doesn't mean another one can't be learnt.
Yes but the point is also: what for learn something new if the current is good and better( in my opinion)?

So can You answer my question - are You know ASP or ASP.NET ?

User avatar
eduo
Posts: 716
Joined: Sat Feb 10, 2007 1:40 am
Location: Information Technology
Contact: ICQ Website Yahoo Messenger

Mon Jul 14, 2008 2:04 am

I don't need to answer your question. It's clear there's no point. You've already stated something you know is better than something you don't want to know about. There's not discussion to be had here.

This whole thread is closed, as far as I'm concerned. You can go back at not using the tools available already out there and keep on waiting for Open Subtitles to provide them for you.

I'm unsubscribing from this thread now.

By the way, that eduo.hopto.org machine is mine, running in my DSL connection. I will be taking down the imdbphp page as the example has been satisfactorily shown. Sadly it was useless.
http://eduo.info/
[url=http://eduo.info/soleol/]OpenSubtitles from your desktop: SolEol for Mac/Windows/Linux[/url]
[url=http://forums.plexapp.com/index.php?showtopic=325&st=0&p=2480&#entry2480]My current episode processing work flow[/url].

neoandrew
Posts: 8
Joined: Fri Jul 11, 2008 7:31 pm

Mon Jul 14, 2008 4:25 pm

So it seems that You won't answer because You just doesn't know what asp.net is and You say that php is better without having a knowledge of asp.net - so Your opinion is USELESS and FRIVOLOUS.

Return to “Developing”

Who is online

Users browsing this forum: No registered users and 28 guests