Change this one to:
$movie->episodes = $type == 'tv' ? $data['number_of_episodes'] ?: 0 : 0;
Also, change in applications\movies\sources\Movie\Movie.php from
$this->release_date = \IPS\Request::i()->movie_release_date;
to:
$this->release_date = \IPS\Request::i()->movie_release_date ?: NULL;
This one also doesn't has Genres, so it will show empty in the movie view:
I've fixed this for the next version. If you are ok editing template too, then in the view template, find:
<li class="ipsDataItem">
<span class="ipsDataItem_generic ipsDataItem_size3"><strong>{lang="movie_genres"}</strong></span>
{{$genres = \IPS\movies\Movie::getGenreName( explode( ',', $movie->genres ) );}}
<span class="ipsDataItem_generic">{$genres}</span>
</li>
Change to:
{{if $movie->genres}}
<li class="ipsDataItem">
<span class="ipsDataItem_generic ipsDataItem_size3"><strong>{lang="movie_genres"}</strong></span>
{{$genres = \IPS\movies\Movie::getGenreName( explode( ',', $movie->genres ) );}}
<span class="ipsDataItem_generic">{$genres}</span>
</li>
{{endif}}
I will send you a PM in a few minutes with an account on my board so you can post bugs in the Tracker. 👍