Author Topic: Annoucement: Getting cover art and attributes from IMDB  (Read 36724 times)

chriss

  • Veteran
  • ***
  • Posts: 140
    • View Profile
Annoucement: Getting cover art and attributes from IMDB
« on: December 13, 2008, 03:10:40 pm »
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

  • Veteran
  • ***
  • Posts: 140
    • View Profile
Re: Annoucement: Getting cover art and attributes from IMDB
« Reply #1 on: December 13, 2008, 03:12:02 pm »
BTW, it's quite slow ATM, see attached log output (50s for 20 IMDB items).

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: Annoucement: Getting cover art and attributes from IMDB
« Reply #2 on: December 13, 2008, 08:26:10 pm »
Looks good, and 20 in 50s is still a lot faster then I can do manually. ;)
"Change is inevitable. Progress is optional."
-- Anonymous


golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1193
  • hrumpf!
    • View Profile
    • Mah Website
Re: Annoucement: Getting cover art and attributes from IMDB
« Reply #3 on: December 13, 2008, 11:48:49 pm »
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

  • Veteran
  • ***
  • Posts: 140
    • View Profile
Re: Annoucement: Getting cover art and attributes from IMDB
« Reply #4 on: December 14, 2008, 12:50:58 am »
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

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Annoucement: Getting cover art and attributes from IMDB
« Reply #5 on: December 14, 2008, 12:54:47 am »
cool!

br, Hari
rock your home - http://www.agocontrol.com home automation

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: Annoucement: Getting cover art and attributes from IMDB
« Reply #6 on: December 14, 2008, 02:08:34 am »
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


totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Annoucement: Getting cover art and attributes from IMDB
« Reply #7 on: December 14, 2008, 09:46:12 am »
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 http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Annoucement: Getting cover art and attributes from IMDB
« Reply #8 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

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Annoucement: Getting cover art and attributes from IMDB
« Reply #9 on: December 14, 2008, 11:45:21 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 http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Annoucement: Getting cover art and attributes from IMDB
« Reply #10 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

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Annoucement: Getting cover art and attributes from IMDB
« Reply #11 on: December 14, 2008, 01:11:36 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 http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

freymann

  • Douchebag
  • Guru
  • *
  • Posts: 380
    • View Profile
Re: Annoucement: Getting cover art and attributes from IMDB
« Reply #12 on: December 14, 2008, 03:58:20 pm »
Is there a link to the code that we can download and try?

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Annoucement: Getting cover art and attributes from IMDB
« Reply #13 on: December 14, 2008, 05:33:05 pm »
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

  • Veteran
  • ***
  • Posts: 140
    • View Profile
Re: Annoucement: Getting cover art and attributes from IMDB
« Reply #14 on: December 14, 2008, 05:42:47 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.