Giter Club home page Giter Club logo

cmyflix's People

Contributors

farfalleflickan 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cmyflix's Issues

cmyflix insisting that I have nothing at "/home/lucas/.config/cmyflix/TV/";

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';
cmyflix.cfg
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.

Can't generate html files "List was NULL"

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?

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.