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 »
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
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 »
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 »