All Projects → jreklund → php4dvd

jreklund / php4dvd

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

Programming Languages

PHP
23972 projects - #3 most used programming language
CSS
56736 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
Smarty
1635 projects

Projects that are alternatives of or similar to php4dvd

auto-movie-tagger
A Python script that auto tags and adds poster to mkv or mp4 movie files.
Stars: ✭ 49 (-30%)
Mutual labels:  imdb, movie-collection
imdb-spider
scrapy spider for scraping imdb {movie_id: [recommended, ...]}
Stars: ✭ 23 (-67.14%)
Mutual labels:  imdb
Imdb
An IMDb interface for Node
Stars: ✭ 35 (-50%)
Mutual labels:  imdb
Topcorn
A minimalistic movie listing app to browse IMDB's top 250 movies, built to demonstrate MVVM with latest hot-trending Android development tools.
Stars: ✭ 131 (+87.14%)
Mutual labels:  imdb
Iwatched
Track movies or tv shows you watched.
Stars: ✭ 64 (-8.57%)
Mutual labels:  imdb
Rats
Movie Ratings Synchronization with Python
Stars: ✭ 156 (+122.86%)
Mutual labels:  imdb
Imdbpy
IMDbPY is a Python package useful to retrieve and manage the data of the IMDb movie database about movies, people, characters and companies
Stars: ✭ 792 (+1031.43%)
Mutual labels:  imdb
imdb-transformer
A simple Neural Network for sentiment analysis, embedding sentences using a Transformer network.
Stars: ✭ 26 (-62.86%)
Mutual labels:  imdb
Neo4j Movies Template
A Neo4j movies React application with backends in Python/Flask and Node/Express.
Stars: ✭ 228 (+225.71%)
Mutual labels:  imdb
Cloudstream 2
CloudStream 2 is an android streaming app for movies, tv-shows and anime
Stars: ✭ 120 (+71.43%)
Mutual labels:  imdb
Imdb Party
IMDB client using the IMDB API that their iPhone app uses
Stars: ✭ 115 (+64.29%)
Mutual labels:  imdb
Deep Atrous Cnn Sentiment
Deep-Atrous-CNN-Text-Network: End-to-end word level model for sentiment analysis and other text classifications
Stars: ✭ 64 (-8.57%)
Mutual labels:  imdb
Gmdb
GMDB is the ultra-simple, cross-platform Movie Library with Features (Search, Take Note, Watch Later, Like, Import, Learn, Instantly Torrent Magnet Watch)
Stars: ✭ 189 (+170%)
Mutual labels:  imdb
Imdbtr
IMDb on terminal.
Stars: ✭ 63 (-10%)
Mutual labels:  imdb
Sentiment-Analysis-with-Python
Lectures in Urban Data Science Lab, Seoul
Stars: ✭ 19 (-72.86%)
Mutual labels:  imdb
Media Hub
A Django based Web app that allows users to access information about movies present in their computer even when offline(Initial Setup requires Internet)
Stars: ✭ 20 (-71.43%)
Mutual labels:  imdb
Userscripts
Userscripts for Greasemonkey, Tampermonkey etc.
Stars: ✭ 78 (+11.43%)
Mutual labels:  imdb
Movie Compare
豆瓣电影的评分靠谱吗?——一点数据分析的视角
Stars: ✭ 141 (+101.43%)
Mutual labels:  imdb
unicornn
Official code for UnICORNN (ICML 2021)
Stars: ✭ 21 (-70%)
Mutual labels:  imdb
IMDb-Scout-Mod
Auto search for movie/series on torrent, usenet, ddl, subtitles, streaming, predb and other sites. Adds links to IMDb pages from hundreds various sites. Adds movies/series to Radarr/Sonarr. Adds external ratings from Metacritic, Rotten Tomatoes, Letterboxd, Douban, Allocine. Media Server indicators for Plex, Jellyfin, Emby. Dark theme/style for …
Stars: ✭ 177 (+152.86%)
Mutual labels:  imdb

php4dvd 3.X

php4dvd is a small yet powerful, php/mysql powered movie database.

Features

  • Add movie information from IMDb.com
    • (directors, actors, poster, language...)
  • Keeps track on what movies you watched, bought or loaned out to a friend
  • Add covers/posters to your movies
  • What do you think about a movie? Write it down in personal notes
  • Search function (title, year, plot)
    • Age rating: filter by age (Parental Guidance/MPAA)
    • Filter by: categories, format, movie, tv, seen, own, favourite
    • Sort it by: name, year, rating, format, added, loaned out
    • Results: limit amount of movies shown
    • Layouts: choose between five different display layouts
  • Multi-user (admin, editor, guest)
  • Multiple languages
  • Very configurable, easy to use
  • Editable templates using Smarty (no PHP knowledge is required)
  • SEO Friendly URL
  • Automatic YouTube trailers

Requirements

  • Apache 2.2+
  • PHP 5.3.7+
  • MySQL 5.0+
  • GD2 library to be able to upload (and resize) covers
  • PDO library
    • PDO driver for MySQL/MariaDB
  • cURL

Recommendations

  • Apache 2.4+ / Nginx
  • PHP 7+
  • MySQL 5.6+ / MariaDB 10.0+
  • YouTube Data API key
    • Minimum Apache 2.4
    • Minimum PHP 5.5.0

Installation

  1. Download and unzip php4dvd package if you haven't already.
  2. Create a database for php4dvd on your web server, as well as a MySQL (or MariaDB) user who has all privileges for accessing and modifying it.
  3. Upload the php4dvd files to the desired location on your web server:
  4. Run the php4dvd installation script by accessing the URL in a web browser.
  5. Manually remove the install/ directory.
  6. Log into php4dvd using the username: admin, password: admin.

Upgrade

Delete all files and folders except:

config/config.php
config/version.inc.php
movies/*
movies/covers/*

v3.1.1 or older: You will need to change your $settings["defaultlanguage"] inside config.php

$settings["defaultlanguage"] = "en"; // English
$settings["defaultlanguage"] = "nl"; // Nederlands
$settings["defaultlanguage"] = "sv"; // Swedish
$settings["defaultlanguage"] = "pl"; // Polish
  1. Download and unzip php4dvd package if you haven't already.
  2. Upload the php4dvd files to the desired location on your web server:
  3. Run the php4dvd installation script by accessing the URL in a web browser.
  4. Manually remove the install/ directory.
  5. Log into php4dvd using your username/password.
  6. Empty your browser's cache or force refresh with CTRL+F5 (Win), Ctrl+Shift+R (Win/Linux) or Command+Shift+R (Mac).

Screenshots

Login Movie collection Search Movie Movie trailer Add movies Search from IMDb Users

Configuration / FAQ

You will find all configurable options inside config/config.default.php, all of which can be set in your config/config.php file. By default, guest users can't view your movie collection. If you want guest users to view your collection, set the guestview variable to true in config/config.php after installation or upgrade.

SEO Friendly URL (pretty_url)

Activate inside config/config.default.php or config/config.php and read the instructions inside .htaccess.

Age rating / Parental Guidance / MPAA

Activate inside config/parental.guidance.php or config/config.php and read the instructions inside config/parental.guidance.php.

Configure languages

Tell IMDb which is the preferred language (e.g. en-US, de-DE, pt-BR)

Sometimes IMDb gets unsure that the specified language are correct, if you only specify your unique language and territory code (de-DE). In the example below, you can find that we have chosen to include de-DE (German, Germany), de (German) and en (English). If IMDb can’t find anything matching German, Germany, you will get German results instead or English if there are no German translation.

$settings["imdbphp"]["language"] = 'de-DE,de,en';

Please use The Unicode Consortium Langugage-Territory Information database for finding your unique language and territory code.

Language Code Territory Code
German de Germany {O} DE

After you have found your unique language and territory code you will need to combine them. Start with language code (de), add a separator (-) and at last your territory code (DE); de-DE. Now include your language code (de); de-DE,de. And the last step add English (en); de-DE,de,en.

Change geolocation

Sometimes your server aren't located in your preferred area (language), so you can use another ip address (e.g. a public proxy), for tricking IMDb geolocation system. There are some movies/TV Series that have the English translation in "World-wide" and the only way to retrieve them is an US/UK IP-address.

$settings["imdbphp"]["ip_address"] = '';

Keyboard shortcuts

  • CTRL+F, CMD+F or F3
    • Focus search field
  • DELETE (in search field)
    • Removes text in search field
  • END (in search field)
    • Reset everything (except: sort by, results per page and layout)

Internal Server Error

Try to run the website, but if the site failes opening with a Internal Server Error, adjust the .htaccess file in the root of the site. Try to remove the Options line by placing a # at the beginning of the line. Otherwise remove the <Files> section. These settings might fail because of the permissions of your webserver.

SSL certificate problem: unable to get local issuer certificate

Visible as ERROR 500 in your browser when adding movie/tv posters from IMDb.

Windows

  1. Download cacert.pem.
  2. Store it somewhere on your server.
    C:\php\extras\ssl\cacert.pem
  3. Open your php.ini and add the following under [curl].
    curl.cainfo = "C:\php\extras\ssl\cacert.pem"
  4. Restart your web server.

Linux

I recommend that you update your local ca-bundle.crt or ca-certificates.crt file for your whole system.
There are different best practices depending on OS. Google is your best bet, for finding the safest way.

You can also use a local cacert.pem like in Windows.

/etc/ssl/certs/cacert.pem  
curl.cainfo = "/etc/ssl/certs/cacert.pem"

Templates

You can customize your site by adding your own template. Take a look at the tpl/default/ directory and copy this directory to your own tpl directory. Now you can adjust the config/config.php to your new template. Check all template files and try to adjust them to your own whishes.

If you just want to change the color, please check config/config.defaults.php for available skins.

Thanks to

Thanks to cyberolf. He originally created php4dvd.

Thanks to morphias0. He wrote the first automatic installer/upgrade script and came up with some extra features.

Thanks to Izzy from IzzySoft. He wrote the imdbphp class to be able to search for movies at IMDb.com. Big shoutout to Tom for continuing his work.

Libraries

HTML/CSS/JavaScript

PHP

License

This file is part of php4dvd.

php4dvd is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

php4dvd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with php4dvd. If not, see http://www.gnu.org/licenses/.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].