Album Download Error

Linux related discussion about netjukebox
Locked
javajoekc
User
Posts: 1
Joined: Sun Mar 21, 2010 8:29 pm

Album Download Error

Post by javajoekc »

I'm getting very close to have netjukebox fully running from my Ubuntu 9.04 server. The only piece I have left to get working is the album download. When selecting the download album option, I get the following error.

File does not exist or is empty:
cache/4/e/4e9317d4639c27e937d3fa3d7d7828bf145f90db/d3ozt4ae4v.zip

I'm very interested in know if anyone else has encountered and resolved this problem.
charliego
User
Posts: 27
Joined: Wed Jun 20, 2007 9:54 pm

Re: Album Download Error

Post by charliego »

Normally for album download you need to download the Codec for stream, download and record support http://www.netjukebox.nl/download.php witch includes 7za.exe for downloading an album but this is made for windows and will not work on ubuntu. So you have to look for a zip program witch is already on your ubuntu server. If you found one than you have to make changes in download.php and config.inc.php for getting the the right syntax. On my linux-server i managed it with info-zip http://www.info-zip.org/ but it still gives me a headache.
Last edited by charliego on Fri Apr 16, 2010 11:16 pm, edited 1 time in total.
User avatar
wbartels
netjukebox developer
Posts: 872
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Album Download Error

Post by wbartels »

For linux you need the 7zip command line version called p7zip: http://en.wikipedia.org/wiki/P7zip
Here I found a way how to install p7zip on Ubuntu: http://ubuntuforums.org/archive/index.php/t-263825.html
User avatar
wbartels
netjukebox developer
Posts: 872
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Album Download Error

Post by wbartels »

With the netjukebox 5.29 and later on Ubuntu 10.04 this works:

Code: Select all

sudo apt-get install p7zip-full
And set:

Code: Select all

$cfg['bin_dir']                     = 'nice -n 20 /usr/bin/';
or

Code: Select all

$cfg['bin_dir']                     = '/usr/bin/';
Locked