yanncam / kodiwebportal Goto Github PK
View Code? Open in Web Editor NEWThe Web Portal for Kodi to display, search and download your personal multimedia content.
The Web Portal for Kodi to display, search and download your personal multimedia content.
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!!!
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!
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.
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...
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.
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
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
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)
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?
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!
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
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.
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!
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.
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
hello,
Is it possible to add actors and directors in the front synopsis of every movie ?
and another one request, after i search for a director, results are sorted by name and not by year..
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.
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 ???
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
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.
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.
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:
deny from all
Directory for backup (timestamped) previous mod_xsendfile.conf
file.
#!/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:
This script can be optimized with (some ideas):
mod_xsendfile.conf
content before updating itmod_xsendfile.conf
backup after X daysDo not hesitate to improve it and submit your script :) !
Sincerely,
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
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.