Code Monkey home page Code Monkey logo

php4dvd's People

Contributors

ajtak avatar bloodsoul avatar cnovoa avatar jakub96124124 avatar jreklund avatar kkayacan avatar pajaura avatar polakosz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

php4dvd's Issues

Filter movies by rating exactly pg-0

Currently, the default values for pgMin and pgMax within the search are 0. If their value is 0, they are not included in the database query.
Thus, it is currently not possible to filter by a rating of exactly zero.

Since the most rating systems won't have a rating 1, it can be worked around from users by setting the slider to 0:1. But one might be confused, that a slider of 0:0 results in displaying all the movies.

How to reset your category selection?

Hello. Need help in the script. The problem is this: when you select one of the categories and then click on the main page, it does not go to the main page, but remains on the category page. How can I fix this?

How to process genres in comma separated list instead of new line?

I need help, there is a code, it takes all the data from their database, but makes them ALL in one line, how to make it split them into each element (Before) (If they were added to the database separated by commas (In line), and not on everyone on the new line)
{assign var=genres value=$movie->getList('genres')}
{foreach $genres as $g}{if !$g@first}, {/if}{$g}{/foreach}

Index Number for private libraries?

Good Day. A great script for personal video collection. Is it possible to have a small field for library number?

For example, I already have my DVDs and BluRays in CSV format with unique identifier to help me find it on the shelf. A field with 6 VARCHAR would be great to reference the ID of the physical unit.

Many thanks.

Gund

New Select

How to add a menu similar to the category, but only with the year?

Progress

Hi, would you like to know how things are progressing for version 4?

Filter and/or sort by content rating

Suggestion: It would be nice to filter and/or sort movies by their content rating.

Since there are many different content ratings out there, and someone could have foreign movies with another content rating, this maybe should be configurable. Maybe with a corresponding image of the content rating label on the details page of a movie.

Notes field undefined in movies templates

When I try to access $movies[m]->notes in tpl//movies/movies/.html, I get this error message: Undefined property: Movie::$notes.
For some reasone the notes property is not defined in the Movie object. It seems it is imported from the DB, but why is it then undefined in the lists?

Costum pages, news, imdb rating

I see very future proof in that project. Love to see some new cool future's...
I'm huge movies and tv show's fan, before i had custom made movies collection script, but it needed a lot off work to make it modern version, bootstrap, new software (php, mysql) etc.

So have some ideas:

Add Custom pages and a little news corner, nothing special, just title, when added, content, category, source link.

IMDB Rating, Fetching from imdb id.

I'm already working those requested futures in my personal project.

One thing where i struggle is how show some info like movie Type, show that output as a little icon.
Example When adding movie, in field Movie Type and have 3 choose Digital, DVD, Blu-Ray

If i selected ex Blu-ray it show that selections in movie as a Blu-ray icon image.

Anyway this project looks very cool, love to see more updates and futures :)

Custom fields

As discussed in #35; add the ability to add customized fields:

  • Text
  • Textarea

Maybe:

  • Radio (Yes / No)
  • Checkbox

user registration

If guest mode is disabled site is restricted and need to login.
Can you make registration for users ?

Favorites for an individual user

Hi, I need help, I wanted to create a page with selected films so that an individual user can add films to his collection (I registered it), but I can't implement the code "Add to collection" and "Remove from collection", can you help me with this question?

ERROR 500 when adding movie/tv without adding a cover

Hi! When I trying to add information from IMDB, without adding a cover, I get an error, did someone encounter this? If you add the cover art manually, then everything is fine. https://i.imgbox.com/mZ1K6ov2.gif

Hi @Solmier, please see the FAQ regarding "SSL certificate problem: unable to get local issuer certificate". Your sever can't validate IMDb SSL certificate and a fatal error is encountered.

In the future, please open an issue instead of commenting on a commit.

User ratings?

Can You implement user ratings? This function is useful.

Collection icons: Toggle Own/Seen - Need confirmation

I for myself add new movies to the database once I order them. When they arrive, I often have to switch some movies at once to "owned".

Maybe this could be done by clicking on the star icon in the top right corner of a movie to speed up this process a little? To avoid clicking it by mistake, there could also be a small confirmation for this action.

Additionally, this could also apply for the switch from "not seen" to "seen".

https://prnt.sc/hba8ot

add multiple

Is there a option to add multiple movies in once ?

Netsted Formats

Sometimes it could be handy to have a specific hierarchy for formats to filter by.
As a small example, there are the formats "DVD", "Blu-ray" and "Blu-ray 3D". One could select to filter for Blu-rays only, but he does not see the 3D Blu-rays, because it is a format by itself.

Maybe this can be done in one of the following ways:

1 Text Input:
The format could be separated by a divide symbol (";" for example).
Movie A: "Blu-rays;Blu-ray 3D"
Movie B: "Blu-rays;Blu-ray"
This would result in the following format filters:

  • All formats
  • Blu-rays
    • Blu-ray
    • Blu-ray 3D

The first Movie would be displayed, when "Blu-rays" or "Blu-ray 3D" is selected, the second will be displayed when "Blu-rays" or "Blu-ray" is selected.
The disadvantage is, that this isn't clearly readable and it is more complicated to deal with the different levels when editing a movie.

2 Nested Array in Settings:
Maybe it would be more easy to define a type and the possible formats in the configuration.
Example:

$settings["formats"] = array(
    "Blu-rays" => array(
        "Blu-ray",
        "Blu-ray 3D",
    ),
    "DVD"
);

This would need changing the text input to a drop-down of what is configured.
It would unfortunately force some headache when updating to this I assume. :(
For new installations it could come preset for "DVD" and "Blu-ray" without the nested array maybe.

Movies starting with special characters get removed from the database

I got some issue with movies, that start with special characters such as dots, quotation marks or brackets.

It seems that updating all movies or the update process to 3.6.1 has removed all movies starting with one of them from the database. I try to figure out if I can reproduce it, when I manage to re-add them. They are still in the cache directory.

contact

hello, how can i contact you ?

View Filmdetails in same Window

Hi, is it possible to implement to view the informations of a film in same window like the collection/search window when clicking on a specific film? so not a new window is opening and the left sidebar always is shown?

i think it will increase the usability.

greetz dOpesen

Play trailers from your local computer

First thanks for the great project. Was asking or rather suggesting whether it would be possible for the url for trailer to be modified so as it could be able to fetch for the trailers in the local machine

Change the date format

Hello. I would like to change the format of the dates displayed (for example, those of loans) from the current YYYY-MM-DD to DD-MM-YYYY. I tried to change some parameters in the code but I was not successful. How can I do? TY

Markdown support in personal notes area

Since the personal notes area does not support html or any kind of text formatting, I believe it would be useful to have this field to support Markdown syntax and get formatted automatically in display mode, in order to feature hyperlinks and other formatting options.

There are some nice libraries that could make the work easier.

If you can point the code where notes area is displayed, I would love to work on this.

Lock movie specific values to not being updated automatically

Sometimes IMDb delivers data, which one will specifically decide to overwrite it with own data or leave blank. When automatically updating the movie collection from IMDb, that movie specific data should not be updated.

As an example, there are some (mostly older) movies, that have more than one or two names in a single language. The fetched name is correct, but maybe one will decide to use an other name he recognizes the most.
This could also help with foreign movies where the title is written in non-latin characters.

When updating a specific movie manually, maybe there is a possibility to display a diff-like view, where the user could decide which data to keep.

cover is not stored at hard disc

Hi,

The issue happens as follows:

  1. I open an already imported movie in edit mode (see my installation)
  2. click refresh
  3. cover and also IMDB data is successfully fetched (cover is visible at the left)
  4. click on store or store and next movie
  5. IMDB data is stored successfully in database
  6. cover is not stored at hard disc
  7. reloading movie details in view mode or search result view does not reveal a cover.

The issue does not happen for new added movies. Here cover is fetched from source and is stored as a jpg-file below movies directory.

My installation of php4dvd is as follow:

  • same code base as git master from 2018-10-04.
  • php7 + php-gd + php-curl and other dependencies fulfilled
  • import process succeeded successfully like described by #34 (comment)
  • no errors in error log of apache2 or in development mode

My relevant configuration options:
$settings["photo"]["movies"] = "./movies/";
$settings["photo"]["covers"] = $settings["photo"]["movies"]."covers/";

current access rights of movies and covers (access with all rwx rights does also run in this issue)
/var/www/php4dvd# ls -al movies/
drwxr-xr-x 3 www-data www-data 4096 Okt 4 08:28 .
drwxr-xr-x 12 www-data www-data 4096 Okt 3 17:41 ..
drwxr-xr-x 2 www-data www-data 4096 Okt 3 16:48 covers
-rw-r--r-- 1 www-data www-data 33 Okt 3 16:48 index.php

What may I do to fix it?

"Plots" formatting

Same as the original project, the plots are formatted with an ordered list with a number, which makes them have a new number every time there is a line break in the information that comes over from IMDB.

php4dvd issue

Remove all filters at once

If you select filters and write a movie title, you get a filtered list for the selected filters. If you reload the site or are willing to reset it to display all, it is necessary to remove all the filters manually one by one.

A little link or a button to remove all the filters would be nice to have.

Can I import a CSV file?

Hi. At first glance, it is not possible to import a csv file, is this facility available? I already have thousands of DVDs and BluRays in csv format. Many thanks, the software looks great!

Change language on movie titles

I really like php4dvd. but I have a problem with it. my server that I installed php4dvd on it is located in Germany. so when I search for a movie or update a movie it replaces English title with German title. but I don't know German and I'd like to have titles in English.

How can I fix it ?

Some more features in nevigation bar

I just want to add more features in navigation bar. i have already add some navigation list option like( dual audio movie, hollywod movie, bollywood movie). Now help me to written the code scripts related to this added features.
Thanks
Atul
1588164925252870272138132761548

New field: IMDb Number of Votes

I like sorting movies by number of votes on IMDb so a new sortable field would be great. I believe imdphp library already supports this data. If you advise where to look, I can try to add this.

  /**
   * Return number of votes for this movie
   * @method votes
   * @return int
   * @see IMDB page / (TitlePage)
   */
  public function votes() {
    if ($this->main_votes == -1) $this->rate_vote();
    return $this->main_votes;
  }

Can't log in after fresh install

Hi,

I've installed v3.7.0 and deleted theinstall/ directory. That all went smoothly and I can now view php4dvd but when I try to log in I get error 500. I enabled all the debugging and now get the following:

SELECT `users`.* FROM `users` WHERE username = 'admin' LIMIT 1 -- keep-cache
resultset: 1 rows

I understand this is something to do with SQL but I have no clue how to fix it. What does this message mean?

I'm using lighttpd instead of Apache. Could that be a problem? I've installed the rest of packages in the Requirements section. Could I still be missing a package (I'm running OpenWRT CC on a Zsun WiFi card reader so my environment is quite stripped down)?

Thanks :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.