XFileSharing Pro - mp3 player for large files?

Powerfull XFileSharing version

Moderator: admin

Message
Author
amator
Posts: 72
Joined: Dec 01, 2010 6:51 pm

mp3 player for large files?

#1 Postby amator » Dec 02, 2010 5:21 pm

Hi,

XFileSharing Pro is set a limit playback of mp3 files? For MP3 files ~ 10 MB player is available, for MP3 files ~ 18 MB player is not available. Why?

blwire
Posts: 9
Joined: Aug 28, 2009 9:43 pm

#2 Postby blwire » Dec 21, 2010 10:31 pm

bump. i've got the same bug. Can we modify something on our own installs to allow the mp3 mod to work for large mp3s?

User avatar
PilgrimX182
Posts: 2182
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#3 Postby PilgrimX182 » Dec 22, 2010 9:26 am

It's not the bug. It's special limit so bad user won't upload 1.3GB AVI renamed to .mp3, cause direct links for mp3 could be parsed from site without waiting or entering captcha.
To raise this limit edit index_dl.pm: find

Code: Select all

if($c->{mp3_mod} && $file->{file_name}=~/\.mp3$/i && $file->{file_size}<1048576*15 && !$file->{message})

and change 15 to higher value.

blwire
Posts: 9
Joined: Aug 28, 2009 9:43 pm

#4 Postby blwire » Dec 22, 2010 9:32 am

gotcha lol. what would we set the limit to to set the limit at 30mb mp3s?

User avatar
PilgrimX182
Posts: 2182
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#5 Postby PilgrimX182 » Dec 22, 2010 9:33 am

Obviously you should chnage line to

Code: Select all

if($c->{mp3_mod} && $file->{file_name}=~/\.mp3$/i && $file->{file_size}<1048576*30 && !$file->{message})


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests