You are hereDeveloper

Developer

Printer-friendly version Send to friend

Anonymous's picture

Debian packaging

Is there interest in a Debian package for cachevideos? If I submit packaging info, will it likely be accepted? Is someone else already working on it?

Thanks,
Oolan Zimmer
http://www.oolanzimmer.com

blake's picture

Fixed & added new video sites

Hi,

I installed videocache 1.9.1 from the FreeBSD ports. The version I received was unable to cache break.com, MSN Soabox, YouPorn, RedTube, and Vimeo. I have since fixed these sites and added support for the following to videocache.

Anonymous's picture

Distributed System

As it seems to be working it is like this:

Client -> squid <-> http server

Which means the Squid always connects to the http server to get the files.

My question is, I would be more scalable if the
clients would be able to connect induvidually to the http server. like this:
client <-> squid
(squid modifies the http url for flv to http server instead
of serving it self)
client <-> http server (to download content)
sexcam

lopan's picture

Script to delete files not requested for a long time

Hello there,

When I'd created the: Statistics from youtube_cache.log by day (http://cachevideos.com/forum/post/statistics-youtubecachelog-day), I put a routine to alter the date of modified of file when it is request on day. With this is possible to delete the files that no have access for a long time.

For execute this, use: ./script.sh A B
where:
A = File's data was last modified A*24 hours ago.
B = Use Y to delete without ask you.

#!/bin/sh
# lopan dot eti at gmail dot com (Author: Lopan)
# GPL2
 
#Variables
VIDEO_CACHE_DIR=/var/spool/squid/video_cache
DAYS=$1
DL=$2
 
#Select file's data was last modified $DAYS ago
for MB in $(find $VIDEO_CACHE_DIR -mtime +$DAYS -exec ls -l {} ';' | awk '{print $5}'); do
        MBT=$((MBT+MB))
done
 
#Print total in GB of selected files
echo "You are selected *`echo $MBT/1024/1024 | bc`GB* of videos to delete!"
 
#Ask about if can erase
if [ -z "$DL" ]; then

My Book on Squid

Purchase/Renew

One License - USD $399
One License - USD $349*
Validity - One Year
Need more? Contact Us
*Includes free upgrades and support for one year.



For details, check pricing.

Recent comments

Who's online

There are currently 0 users and 184 guests online.