8
Mar

Minor videodb mod – allow adding genres

   Posted by: Roguetech   in PHP programming, videodb

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 »

7
Mar

Relationship Catch-22

   Posted by: Roguetech   in Relationship

My girlfriend and I are having issues. Lately she's been complaining more and more about me. We had a fight several days ago, where she bitched about something I said. I said I'd just keep my mouth shut from now on, and asked a couple times if that's what she wanted. She never answered, so I have been saying as little as possible to her. I just don't know what to do. I don't want to loose her, but on the other hand, she doesn't seem to be happy with me.

5
Mar

videodb Random page mod

   Posted by: Roguetech   in PHP programming, videodb

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   in PHP programming, videodb

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 »

Tags: ,

2
Mar

imdb.com changes and videodb

   Posted by: Roguetech   in PHP programming, videodb

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 »

Tags: , ,

2
Mar

Instincts

   Posted by: Roguetech   in Uncategorized

An arguement my partner and I had recently got me thinking about instincts and how much we are guided by them. We have all sorts of impulses and urges. People always think of love and and sex when they think instincts, and certainly they are examples.  Fear can completely cripple people. Lust can ruin lives. And anyone who has loved knows it's power. But I've been considering what else may be instincts. Consider:

loyalty - Some people are natural leaders. Others aren't. But have you ever felt loyalty to Read the rest of this entry »

Tags: , ,

2
Mar

Welcome

   Posted by: Roguetech   in Uncategorized

Heyhey. This blog, assuming it contnues, is that of an almost middle-aged, currently unemployed, divorced, Aspie father in a long-term relationship. It'll cover Apserger issues, relationship issues, computer tips & tricks, and PHP programming, but mostly generally musings.

Tags: ,