farfalleflickan / cmyflix Goto Github PK
View Code? Open in Web Editor NEWcmyflix, a Netflix clone!
License: GNU Affero General Public License v3.0
cmyflix, a Netflix clone!
License: GNU Affero General Public License v3.0
I put a TV episode there called New Girl S05E01 Big Mama P.mkv
. I even tried to rename it to match the regex exactly, but I'm still getting Could not find anything in "/home/lucas/.config/cmyflix/TV/"
. I'm not running as root yet.
Logs:
╭─lucas@archlinux em repo: cmyflix/bin on master
[🔴] × ./cmyflix -t
Could not find anything in "/home/lucas/.config/cmyflix/TV/";
Nothing in db to save to "/home/lucas/.config/cmyflix/dbTV.json";
Nothing in db to save to "/home/lucas/.config/cmyflix/output/TV.html";
Copied HTML resources from './html/' to '/home/lucas/.config/cmyflix/output';
TVpath="/home/lucas/.config/cmyflix/TV/"; # REMEMBER / at the end of path! identifies the path to the folder containing tv shows
MoviesPath="/home/lucas/.config/cmyflix/Movies/"; # identifies the path to the folder containing movies
dbNameMovie="/home/lucas/.config/cmyflix/dbM.json"; # identifies path and name of the movie database
dbNameTV="/home/lucas/.config/cmyflix/dbTV.json"; # identifies path and name of the tv show database
# regex used to identify tv shows, uses the sS1eE01 or sS01eE01 or 01x01 or 1x01 format, in that order
regexTVnum="2";
regexTVstr1="(.*)[.][sS]([0-9]{1,2})[eE]([0-9]{1,3})[.\-\_](.*)";
regexTVstr2="(.*)[.]([0-9]{1,2})[x]([0-9]{1,3})[.\-\_](.*)";
# name of extras folder used to identify tv shows extras, default is "Season.Extra"
TVextraStr="Season.Extra";
regexTVgroups="5"; # expected number of capture groups of regex
regexM="(.*)[.](.*)"; # movie regex
regexHM="([0-9]+\-[0-9]+\-[0-9]+)"; # home movie regex
TVhtml="/home/lucas/.config/cmyflix/output/TV.html"; # path to the TV html page
showHTMLFolder="/home/lucas/.config/cmyflix/output/shows/"; # path to where to put html of every tv show
Mhtml="/home/lucas/.config/cmyflix/output/Movies.html"; # path to the movie html page
dTVImg="true"; # download TV poster images true/false
dTVFolder="/home/lucas/.config/cmyflix/output/TVimg/"; # path to folder containing the images once downloaded
AutogenImgResizeTVCmd="convert -background purple -fill white -size 500x735 -pointsize 36 -gravity center caption:";
compressImgTVCmd="convert -resize 500x -gravity center -crop 500x735+0+0 -strip -interlace Plane -gaussian-blur 0.05 -quality 80%"; #might need some tweaking?
compressImgTV="false"; # wether the image should be comprossed
prefImgWidthTV="2000"; # preferred width of poster image
prefImgRatioTV="0.667"; # preferred width/height ratio of poster image
prefImgLangTV="en"; # preferred language for poster image
# exactly the same as above
dMoImg="true";
dMoFolder="/home/lucas/.config/cmyflix/output/MoImg/";
AutogenImgResizeMoCmd="convert -background purple -fill white -size 500x735 -pointsize 36 -gravity center caption:";
compressImgMoCmd="convert -resize 500x -gravity center -crop 500x735+0+0 -strip -interlace Plane -gaussian-blur 0.05 -quality 80%"; #might need some tweaking?
compressImgMo="false";
prefImgWidthM="2000";
prefImgRatioM="0.667";
prefImgLangM="en";
getTVposter="true"; # download tv show metadata poster
getEpisodeName="true"; # download every episode name
createTVsubs="true"; # search for subs in same folder
getMposter="true"; # same as above
createMsubs="true"; # search for subs for movies
homeMovies="false"; # $MoviesPath contains home movies, do NOT treat as actual movies. homeMovies are sorted by filename
fileLimit="8192"; # sets rlimit for max number of open files, 8192 seems a good value
# your TMDB api key
TMDBapi="xxxxxxxxxxxxxxxx"; # I have a valid key here.
Hi, i'm trying to set cmyflix up in a debian container in my homelab but even if it can correctly identify my TV show's episodes, after that it cannot create the static html pages from the dbTV.json even if it's full of correct entries.
I always get this error:
[0.008467] createShowsHTML info: building HTML for TV shows...
[0.008492] createShowsHTML error: list was NULL
P.S. I'm new to this but, am I supposed to already have an nginx instance running for this to work?
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.