Guest Normal Posted September 28, 2018 Posted September 28, 2018 I love Emby but I did some changes, so don't fight me. I added a function to display e.g. 2h 14m instead of the current 134 mins. So I exported my current and up to date emby docker image, opened the tar file, then another, search for " mins" and found it in mediainfo/mediainfo.js. There is where I added my function. Here I used my function: // old // miscInfo.push(Math.round(minutes) + " mins"); // new miscInfo.push(getHumanPlaytimeFormat(Math.round(minutes))); I saved my changes, re-created all these tar files and imported it back to my server, created the container from the image etc. Emby is running. But it's still showing up that " mins" thing inside a movie entry. Re-exporting this image shows me, that my changes are there. Where do I need to make these changes to get rid of this art of displaying the movie runtime?
Guest Normal Posted September 28, 2018 Posted September 28, 2018 (edited) Strange but it's still not displaying my changed format. I even deleted everything what's related to the github/docker repo so that no updates are being downloaded automatically. (I also made these changes on github and created pull request. So you can verify where I made them exactly.) Edited September 28, 2018 by Normal
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now