Git Product home page Git Product logo

kodiwebportal's People

Contributors

boing86 avatar j1pe avatar jayrabas avatar yanncam 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

kodiwebportal's Issues

Default action when tvshow is clicked

Hi,

At the moment if I want to see what series a tvshow has, I have to click on the Info-symbol in the bottom of the tvshow.

I would like to click anywhere on the tvshow that the popup is displayed which shows the informations about the tvshow.

I guess some other users, would like to have another default action when the tvshow is click, or even none. So perhaps making it configurable would be the most generic option.

Thanks!!!

Empty files

Hi,

My system is a DSM 6.0.

I followed the instructions, but I think I have a problem with the X-send-file Apache module configuration. Should this module be installed separately? There was no mod_xsendfile.conf-user file and I created it manually. I have followed all the steps in the manual and I think something is missing.

Everything seems to work fine, but when downloading a movie the file only has 3 bytes.

What could be the problem? Thank you!

Sort by name

First of all, thank you very much for the job, it's a great solution!!

I wanted to know if it was possible to sort the information by name and not by the date of entry in the database?

I search in the files but find nothing.

Thanks again for the work done.

No artwork for TVShows

HI,

Just got this working on a Ubuntu web server.. movies are all working great however when i switch to TV shows, there is no artwork...

Titel height

The letter g is truncated in the title.

This change would be necessary in style.css

.details .details-title {
height: 28px;
}

.entry .title {
height: 28px;
}

I wanted to change it myself like the language file lang_en.php, but it does not work. That's why I created an issue.

Ldap Login error

I found an error with the LDAP login.

Users with - or _ in the username can not log in.
I've edited the following in file functions.php line 52, but am not sure if it causes any other problems.

if (preg_match ( "/ ^ [a-zA-Z \ s \ _ \ s \ -] + $ / ', $ user)) {

Passwords with the + sign also do not work. The password is not transmitted correctly to the functions.php

friendly greetings

Scrolling not possible on browser in 1440p Resolution

Hey there,
first thanks for this project! But I found a "funny" bug. When I open up the site in a 1080p screen everything is okay, I scroll down und the next movies are getting loaded. IF I do this on my 1440p screen 16 results wil be displayed, but so much room at the end, that no scollring is possible and therefore no new results will be loaded 😅

Any Idea how I could fix that? Can to then a pull request for you if I tested it on my site.

Cheers,
Hornochs

Empty files

Hi,
I'm having the same problem with the #27 issue

I'm with a syno NAS DSM 6.2,
The site works fine, the link to the database is correct however, when I download a file, it's 3 bytes.

Here is my file:

/volume1/@appstore/Apache2.4/usr/local/etc/apache24/conf/extra/mod_xsendfile.conf

LoadModule xsendfile_module modules/mod_xsendfile.so

XSendFile on
XSendFilePath /volume1/download
SetEnv MOD_X_SENDFILE_ENABLED yes

I rebooted the NAS and the Web station package several times.

Thanks in advance for the help and congratulations for the good job.

Originally posted by @j1pe in #3 (comment)

No tvshow covers displayed

I set up my kodi web portal 1.2.2 based on Kodi 18.5 and it works fine except for the tvshow section that doesn't show at all any cover. I catch Failed to load resource: net::ERR_NAME_NOT_RESOLVED nopicture/1. Can you help me?

Exposure of username/password in file path

In my database, the filename smb:// paths have the username and password embedded in them. It might be wise to filter those out in the function.php script with a simple regex similar to this:
$path = preg_replace("#(?<=:/)[^:@]+(:[^@]+)?(?=@)#","...",$path)

This way a viewer only sees "..." instead of exposing the username and password.

Otherwise a great script, thanks!

Installation nginx/php/mysql on debian

Hi,

A co-worker pointed me out to this project and i wanted to try it out on my debian 9 server running nginx (no apache installed) with mariadb (mysql Ver 15.1 Distrib 10.1.26-MariaDB)

Initially it seems to work, the movie titles and some of the descriptions are shown. However most of the posters (except for one) are missing and so is most of the descriptions (plot) for the movies and tv shows. Some testing and digging showed that it makes a difference if there is local .nfo and other content in the same directory as the movie file. Because i use Radarr almost all directories contain posters and other information already.

Another issue running into is that downloading any file is not possible. It will just download a bogus file of 3 bytes with the title and extension of the actual file.

Could you provide any insight into how to get this working with nginx?

Rgds,

Kasper

mistake from version 1.1.1

I have updated the webportal on the Main Kodi DB to 1.1.3. I have noticed Fogeldes:

Something has gone wrong between version 1.1.0 and 1.1.1.
In version 1.1.0 it shows me all episodes
From version 1.1.1 and newer it only shows these episodes, which were once looked at with Kodi.

KodiWebPortal 1.1.0
image

KodiWebPortal 1.1.1 and newer
image

See what episodes/movies are already watched

First of all, thanks for your work. Installation worked like charm.

Is it possible that you could a add the information if the movie or episode was already watched? Just as in kodi, where the already watched episodes and movies are checked.

I want to use the webinterface to know which episodes I already watched when I'm on a business trip.

Thanks!

Download files with ä ö ü dos not work

Version 1.2.0

I found an error while downloading.
Files that have an ao in the filename can not be uploaded.

Everyone else is going.

image

OK
Datei Pfad :
/volume1/video/Filme/Die Vollpfosten - Never Change a Losing Team 2012/Die Vollpfosten - Never Change a Losing Team 2012.mp4

NOK
Datei Pfad :
/volume1/video/Filme/3 Türken und ein Baby 2015/3 Türken und ein Baby 2015.mp4|utf8=0

Problem with hashed password

I successfully installed KodiWebPortal with Debian, but I found a (simple) problem which took me a long time to resolve: When using internal authentication, if the hashed password contains a letter after a '$', it doesn't work:
This work:
"$2y$10$471cELEUsyQJqaDyJBuXzOoBCEWfZwvMBtGsGLOQPwNH8DLInzJlq"
This doesn't work:
"$2y$10$DE4pIntIpyaC8TW.ZkQBPuuloY3IUQwwpHk5xzryeCUrsCW3/Zek6"
whereas it is the same password. I suppose PHP convert $DE4pIntIpyaC8TW to a variable.

Filesize NA

Hi,

define("NAX_MOVIES_LOCAL_PATH", "/volume1/video/"); // Local path where are movies
define("NAX_MOVIES_REMOTE_PATH", "nfs://192.168.192.14/video/"); // Location of movies in Kodi DB
define("NAX_TVSHOW_LOCAL_PATH", "/volume1/TV-Series/"); // Local path where are TVshow
define("NAX_TVSHOW_REMOTE_PATH", "nfs://192.168.192.14/TV-Series/"); // Location of TVshow in Kodi DB

The above path in kodi is nfs://192.168.192.14/video/somedirs/blablah.mkv
but filesize is NA ???

Multiple Movie and TV Shows path in config.php

Hi,

Question regarding Movie and TV Show path's in config.php

define("NAX_MOVIES_LOCAL_PATH", "/volume1/movies/"); // Local path where are movies
define("NAX_MOVIES_REMOTE_PATH", "smb://x.x.x.x/movies/"); // Location of movies in Kodi DB
define("NAX_TVSHOW_LOCAL_PATH", "/volume1/TV-Show/"); // Local path where are TVshow
define("NAX_TVSHOW_REMOTE_PATH", "smb://x.x.x.x/TV-Show/"); // Location of TVshow in Kodi DB

is it possible to enter more Movies and TV Show path's in the config.php
for example ended tv shows located at /volume1/tv-show-ended or movies1 .. movies3

Regards,
Magnetix

mariadb10 and webportal v1.06

Recently upgraded from mariadb5.5 to mariadb10 but Kodi Webportal fails to work with MariaDB10.

could you fix it? I'm an absolute FAN of kodi WebPortal.

Feature Request: View Files also

In Kodi we have the feature to show files which are not indexed, but it is shown which files are already watched.

I'm using non indexed files for my archiv (series and filmes already watched, but so good I want to keep them).

For series it would be nice to be able to see with KodiWebPortal which episode I watched and which not (after being finished with the serie, I switch to "not watched" in Kodi for the next time.

Thanks for considering, as I guess this will take a bit more efford.

[mod_xsendfile.conf] Synology package upgrade reset the XSendFilePath directive (download not working)

Hello all,

I created this issue myself because I have encountered the following problem and I think the solution can be usefull for all:

On my Synology NAS, auto-upgrade of packages is enable. So my Apache2.2 or Apache2.4 packages are automatically upgraded (and their configuration file reseted).

It's the case for the mod_xsendfile.conf, which is automatically reseted for each package upgrade.
This reset set the XSendFilePath to it's default value rather than my custom needed for KodiWebPortal:

Value needed for KodiWebPortal when download is enable (as example):

XSendFilePath /volume1/MEDIATHEQUE

So, to prevent the reset of this value in the mod_xsendfile.conf, I have created a little shell-script on the Synology and put this script as an automated task executed each night (crontab).

I have created these file:

  • /volume1/web/scripts/.htaccess:
deny from all
  • /volume1/web/scripts/.conf-backup/

Directory for backup (timestamped) previous mod_xsendfile.conf file.

  • /volume1/web/scripts/enableDownload.sh:
#!/bin/sh
BACKUPDIR=/volume1/web/scripts/.conf-backup
NOW="$(date +"%Y%m%d")"
/bin/cp /volume1/@appstore/Apache2.2/usr/local/etc/apache22/conf/extra/mod_xsendfile.conf $BACKUPDIR/$NOW-mod_xsendfile.conf
/bin/sed -i 's/^XSendFilePath .*/XSendFilePath \/volume1/' /volume1/@appstore/Apache2.2/usr/local/etc/apache22/conf/extra/mod_xsendfile.conf

(it's my own script for my own Apache2.2 package ; if you use Apache2.4, change filepath).

Then, I configured in Synologi's DSM a new cron:

xsendfile

This script can be optimized with (some ideas):

  • Auto-restart the Apache 2.X daemon at the end
  • Generic script to be compliant with Apache2.2, Apache2.4 or old Synology's webstation
  • Check the previous mod_xsendfile.conf content before updating it
  • Delete old mod_xsendfile.conf backup after X days
  • Etc.

Do not hesitate to improve it and submit your script :) !

Sincerely,

the download of TV shows does not work

I have tested the version 1.1.3 and realized that ONLY the download of TVShows is not. Downloading movies works.

My settings:
Kodi Source via SMB

define("NAX_LOGS_PATH", "logs"); // Path to log activity
define("NAX_MOVIES_LOCAL_PATH", "/volume1/video/Filme"); // Local path where are movies
define("NAX_MOVIES_REMOTE_PATH", "smb://192.168.2.27/video/Filme"); // Location of movies in Kodi DB
define("NAX_TVSHOW_LOCAL_PATH", "/volume1/video/Serien"); // Local path where are TVshow
define("NAX_TVSHOW_REMOTE_PATH", "smb://192.168.2.27/video/Serien"); // Location of TVshow in Kodi DB

image

image

image

image

scrollbar not visible on large resolution

I discovered something that "only" appears on large monitors.

If the variable DEFAULT_ENTRIES_DISPLAY = 16 and the monitor 2560x1600 there is no scrollbar .--> You can not view any more movies.

You have to make the browser smaller so that a scrollbar is visible, then you can load more movies.

The easiest way to solve this is to increase DEFAULT_ENTRIES_DISPLAY.

TV Series no Media Info visible

Hi,

With movies the media info is included. Outstanding that you added this feature on my request :)
but it is not visible in the TV series when I press Info for the specific S01E01. would be nice to quickly check the Quality of the TV-Serie.

Thanks in Advance.
Magnetix

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.