Easy way to configure defaults for "seen" and "favorite"
keyboardsmash opened this issue · comments
Oscar Söderholm commented
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.
Johan Eklund commented
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;