News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Annoucement: Getting cover art and attributes from IMDB

Started by chriss, December 13, 2008, 03:10:40 PM

Previous topic - Next topic

chriss

Hi *,

I added an option to get my movies tagged with IMDB. It's basically working (see pictures attached) but still needs some fine tuning I think.

Cheers,
/chriss

chriss

BTW, it's quite slow ATM, see attached log output (50s for 20 IMDB items).

Zaerc

Looks good, and 20 in 50s is still a lot faster then I can do manually. ;)
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

golgoj4

how did you get around their tos? or did they open up a new api?
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

chriss

Quote from: golgoj4 on December 13, 2008, 11:48:49 PM
how did you get around their tos? or did they open up a new api?

I just tried the first IMDB PHP library I found (http://sourceforge.net/projects/imdbphp/) and it works well.  ;D

hari

rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

Zaerc

If you open a ticket I'll patch it into the 0810 branch so it could be included in the next alpha update.
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

totallymaxed

Quote from: chriss on December 14, 2008, 12:50:58 AM
Quote from: golgoj4 on December 13, 2008, 11:48:49 PM
how did you get around their tos? or did they open up a new api?

I just tried the first IMDB PHP library I found (http://sourceforge.net/projects/imdbphp/) and it works well.  ;D

Very nice! Now if we could also get IMDB used when a DVD is ID'd on insertion into a drive....

Great work.

All the best

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

tschak909

Andrew, IMDB does not have this info, and unfortunately DVD fingerprints of the type that the EMI emits are very specific to itself and its endpoint.

This is a much tougher nut to crack than would first appear, especially since almost nobody has this information. If you'd like, I can explain the problem in more detail...

-Thom

totallymaxed

Quote from: tschak909 on December 14, 2008, 11:24:13 AM
Andrew, IMDB does not have this info, and unfortunately DVD fingerprints of the type that the EMI emits are very specific to itself and its endpoint.

This is a much tougher nut to crack than would first appear, especially since almost nobody has this information. If you'd like, I can explain the problem in more detail...

-Thom


Hi Tom,

I understand the DVD fingerprint problem. What I am interested in is the much richer data available from IMDB about each movie. It may be that a hybrid solution is possible where we allow the DVD to be ID'd using the EMI then we use that data to query the IMDB. This would be deliver a massive improvement in the attribute data per DVD.

As far as i can see this is technically feasible. What your view?

All the best

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

tschak909

Yes, this could be done, We might want to augment the media identifier stuff to be able to query more than one media identifier.. It seems to only work with a single media identifier device.

*hmm* too much to do.

-Thom

totallymaxed

Quote from: tschak909 on December 14, 2008, 12:09:55 PM
Yes, this could be done, We might want to augment the media identifier stuff to be able to query more than one media identifier.. It seems to only work with a single media identifier device.

*hmm* too much to do.

-Thom


Yeah... just need to add it too the list ;-)

Your already doing more than your share Thom. Anyone else up for looking at this and then getting it into shape if it looks doable?

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

freymann

Is there a link to the code that we can download and try?

tschak909

Yes, the code is in SVN. You can do a checkout from this URL:

http://svn.linuxmce.org/svn/trunk/ for the current dev sources for 0810
http://svn.linuxmce.org/svn/branches/LinuxMCE-0710 for the 0710 sources.

you'll probably need some help setting it up as the self hosted build no longer works. So contact us in the channel.

-Thom

chriss

Quote from: freymann on December 14, 2008, 03:58:20 PM
Is there a link to the code that we can download and try?

Freyman, if you are referring to the IMDB code please be patient. I'm still cleaning up a few things and will prepare a patch soon.