jreklund / php4dvd

php4dvd is an open source php/mysql powered movie database. Catalog your video collection with ease. Automatic update of information and images.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Easy way to configure defaults for "seen" and "favorite"

keyboardsmash opened this issue · comments

I managed to disable having new movies added as favorites, but trying to do that with 'seen' is fruitless.

It would be nice if it was possible to how php4dvd should handle new movies.

Doesn't look that hard to implement a custom favorite, own, seen preference. Will have a look at it.

Change true into false, if you want the default to be "No" in the meanwhile. This is regarding "imdb"-movies, if you add them yourself they will always be set to "Yes" regardless of what you set this too.

/lib/db/Movie.class.php:

$this->favourite = isset($this->favourite) ? $this->favourite : false;
$this->own = isset($this->own) ? $this->own : true;
$this->seen = isset($this->seen) ? $this->seen : true;