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?
XFileSharing Pro - mp3 player for large files?
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
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
and change 15 to higher value.
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})
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
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})