Archive for the ‘videodb’ Category

8
Mar

Minor videodb mod – allow adding genres

   Posted by: Roguetech

Did a new mod to videodb. To be able to add custom genres, and automatically add imdb genres:

OPEN edit.php
FIND

// check if genre is found- otherwise fail silently
if (is_numeric($genre = getGenreId($gname)))
{
$genres[] = $genre;
}

Read the rest of this entry »

5
Mar

videodb Random page mod

   Posted by: Roguetech

I've finally done a major update on videodb to add to the mods in the previous post. I've modded it to allow selecting criteria for selecting a Random movie. It allows picking genres, selecting a minimum rating, or selecting MPAA ratings. Demo

4
Mar

videodb mods

   Posted by: Roguetech Tags: ,

Recently I've been working on fixing up videodb. I've made a lot of changes. Demo.

  • Added a Random movie criteria page
  • Added pagination
  • Allows sorting (by title, year, date added, date modified, length, disk ID, etc., etc.)
  • Added Release Year, Date Added, and MPAA rating to list view

Read the rest of this entry »

2
Mar

imdb.com changes and videodb

   Posted by: Roguetech Tags: , ,

imdb.com has changed some of their formatting. Release year and mpaa ratings have changed. I'm not sure what changed about release year, but what I did to fix videodb:
Find in engines/imdb.php:

preg_match('/<title>(.*?) \([1-2][0-9][0-9][0-9].*?\)< \/TITLE>/i', $resp['data'], $ary);

Read the rest of this entry »