Hello,
This is concerning archivemode, so I’m almost afraid to ask.
I want to enable multiple downloads in kplaylist 1.8.502.
Running my own server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.5 MySQL 5.0.51a
Can’t get it to work with zip as preferred archiver.
I searched the forum and tried every suggestion that seemed relevant but nothing solved my problem.
In the script I did:
$cfg['archivemode'] = true;
The archivers are:
$archivers = array();
$archivers[] = array(1, 'zip', '/usr/bin/zip -j -0 %D "%F"', 'application/zip', 'zip');
$archivers[] = array(1, 'tar','/bin/tar cf %D --files-from "%LIST"', 'application/x-tar', 'tar');
When I select tar as Preferred archiver in kplaylist – Options, everything works smoothly.
So it looks like my tmp-directory setting’s OK and the directory is writable.
($cfg['archivetemp'] = '/tmp/';)
When I select zip or zip inbuilt something goes wrong:
When I use the Download/Album or the Download/Selected button, a small window opens with the name of one albumtrack and the message:
Could not create archive! and nothing else happens.
Then I did: $cfg['archivemodedebug'] = true;
This time, when I use the Download/Album or the Download/Selected button, the small window opens with the name of one albumtrack but nothing else.
No message, no commands. No clues.
/usr/bin/zip is there and executable for “Others”
Even did a chmod 777 on it to make sure. Didn’t help either.
What could be wrong?
Any help is greatly appreciated.
Grtz
Gaucho
