AST_CRON_mix_recordings_MP3.pl

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

AST_CRON_mix_recordings_MP3.pl

Postby enjay » Fri Jul 28, 2006 7:05 pm

Just an FYI I have placed the updated version of AST_CRON_mix_recordings_MP3.pl on the tracker, take a peak if you'd like!

-enjay
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah

Postby mflorell » Fri Jul 28, 2006 11:06 pm

Thanks again, I'll try to take a look at it next week and roll it into SVN.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby enjay » Sat Jul 29, 2006 12:53 am

Ohh just an FYI I also posted a php script I use which has sorting capabilities for recordings, that way you can look at recordings based on users, campaigns, date, etc.


Date/Time is automatically pre-sorted so all references are in chronological order.

-enjay
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah

Postby gardo » Fri Oct 20, 2006 1:40 pm

hi enjay! just found your php script and your AST_CRON_mix_recordings_MP3.pl lately. i'd say the script is very handy. only thing i'm having problems is with the php script. i get this error: Fatal error: Cannot instantiate non-existent class: directoryiterator in /mnt/disk/recordings/FTP/index.php on line 12. what am i missing?
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby enjay » Fri Oct 20, 2006 4:09 pm

You will see that I posted the script under tracker its not a file but within my description. Make sure you create that file as its used for viewing.

-enjay
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah

Postby gardo » Mon Oct 23, 2006 1:46 pm

i'm not really a php person, but i copied and pasted what you posted as index.php and saved it as index.php on the root directory of my ftp/web server. The error: "Fatal error: Cannot instantiate non-existent class: directoryiterator in /mnt/disk/recordings/FTP/index.php on line 12" comes out when it is being viewed as a web page.

This is the first 12 lines of index.php

<?php
#/**
# * Sorts call recordings by criteria, created 20060725
# * Created by: Magma Networks LLC <atarsha@magmanetworks.com>
# */

$files = array();
$sort = isset($_REQUEST['sort'])? $_REQUEST['sort'] : 'filename';
$path = isset($_REQUEST['path'])? $_REQUEST['path'] : '.';
$path = collapse_path($path);

$dir = new DirectoryIterator($path);
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 63 guests