Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nfo not working #31

Closed
MickHere opened this issue Dec 10, 2016 · 8 comments
Closed

nfo not working #31

MickHere opened this issue Dec 10, 2016 · 8 comments
Assignees
Labels

Comments

@MickHere
Copy link

MickHere commented Dec 10, 2016

Hi
I have installed simply-nzedb successfully in a vmware image and a intel nuc running Ubuntu server 16.04.1 LTS.
My first problem was the mediainfo path " /usr/local/bin/mediainfo"
for some reason mediainfo was not in that path, I had to install a fresh version then copy mediainfo to that path for it to work.

Second problem I have is that I cant get the nfo to work. When the view nfo button is pressed I get a blank nfo popup.

I have tested a couple of my usenet service providers to see if they where blocking nfo previews and they work in a newznab vmware I have.

Cheers

@slydetector
Copy link
Owner

I can confirm the NFO issue. Regarding mediainfo, what do you mean when you say "I had to install a fresh version"?

@slydetector slydetector self-assigned this Dec 11, 2016
@MickHere
Copy link
Author

Hi
mediainfo did not work, so I reinstalled it and copied the mediainfo to the /usr/local/bin/ path.

@slydetector
Copy link
Owner

For mediainfo, give this a try and paste the output:

$ bin/stop_nzedb
$ docker rmi slydetector/simply-nzedb
$ docker pull slydetector/simply-nzedb
$ docker run -it --rm slydetector/simply-nzedb ls -l /usr/local/bin

@MickHere
Copy link
Author

-rwxr-xr-x 1 root root 9299552 Dec 11 01:55 mediainfo

@slydetector
Copy link
Owner

Well, that proves it is there after forcing a download of the docker image. It is possible an older version of the image may have been flawed, but don't have any other ideas.

@MickHere
Copy link
Author

Thanks
Its no problem, mediainfo is working atm :)

@slydetector
Copy link
Owner

slydetector commented Dec 11, 2016

Ok, tracked down why NFOs are not working. Apparently, iconv under php on alpine is broken: https://forum.alpinelinux.org/forum/installation/php-iconv-issue

So this call https://github.com/nZEDb/nZEDb/blob/d63e1da8967a5cef4fcac8be76db214ffc88fba8/www/pages/nfo.php#L20 returns an empty string instead of the NFO with retro block chars.

May be able to use the LD_PRELOAD workaround here - docker-library/php#240

@slydetector
Copy link
Owner

Fixed in latest build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants