Scoop -- the swiss army chainsaw of content management
Front Page Everything News Code Help! Wishlist Project Scoop Sites Dev Notes Latest CVS changes Development Activities
Scoop Box Exchange - Show Box: song_list 1.00

Author: bittondb [Info]

Description:

creates .m3u song list from file system and query submitted from song_search box

Box Code:

use File::Find;

my $content;
my $search = $S->cgi->param('song');
my $list = $S->cgi->param('list');
my $re = qr/$search/i;

if ($list) {
$S->apache->content_type("audio/m3u");
$S->apache->header_out('Content-Disposition' => "attachment; filename=list.m3u");
}

find( \&getmp3, "/var/mp3/");

sub getmp3 {
if(/$search/)
{
my $name = $File::Find::name;
$name =~ s/\/var\/mp3/\/tunes/;
$content .= "http:\/\/www.codenoevil.com" . $name . "\n";
}
}

return '' unless $content;
return $content;
Display: Sort:
help4assignment (none / 0) (#1)
by MichaelSimpson on Sat Aug 18, 2018 at 11:24:29 AM PST

Thanks for sharing this code with us here. This code will be used by me in the help4assignment paper, and that's the best thing I can do right now. I hope that you can appreciate what I am doing here. I am excited about this.



Excellent to read (none / 0) (#2)
by Anthony Ross on Thu Nov 15, 2018 at 07:08:59 AM PST

Wow, great initiative by the Thurston county that it opens new jail for the prisoners. After watching the jail on the online essay writer my friend is thinking to do any of crime to go to that jail and he is very excited about that.



Robinjack (none / 0) (#3)
by jackman10 on Thu Feb 07, 2019 at 08:09:01 AM PST

Hey dude, what kind of wordpress theme are you using? i want it to use on my blog too " water purifier



eliza (none / 0) (#4)
by uali20 on Mon Feb 18, 2019 at 06:40:19 PM PST

This blog is so nice to me. I will keep on coming here again and again. Visit my link as well.. 먹튀사이트



thanks (none / 0) (#5)
by thutrangctp on Thu Feb 28, 2019 at 11:48:43 PM PST

Summer is easy with heavy rain but I like it. It's wonderful to have rainbows after rain, and I watch it until it disappears. It seems to be free but it helps me feel comfortable papas games



granny roblox (none / 0) (#6)
by adamschule85 on Thu Oct 24, 2019 at 11:27:07 PM PST

Do you know of any online community or forum where they discuss about this extensively? granny roblox



cbd gummies (none / 0) (#7)
by hasnainkhatri on Fri Jan 24, 2020 at 05:57:03 AM PST

Thanks for Nice and Informative Post. This article is really contains lot more information about This Topic. cbd gummies



New Jersey Local Guide (none / 0) (#8)
by hasnainkhatri on Wed Feb 05, 2020 at 04:58:00 AM PST

This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. New Jersey Local Guide



lens (none / 0) (#9)
by hasnainkhatri on Thu Mar 05, 2020 at 01:11:06 AM PST

It turns out that even the hottest port has a few places where you can get off the beaten path. Here are some recommendations that will make you feel like you're in the know lens



aliana (none / 0) (#10)
by hasnainkhatri on Tue Mar 17, 2020 at 09:37:26 AM PST

Your post has those facts which are not accessible from anywhere else. It's my humble request to u please keep writing such remarkable articles 먹튀검증



Menu
create account
faq
search
report bugs
Scoop Administrators Guide
Scoop Box Exchange

Scoop Site Scroller: Get one yourself!
Scoop
The swiss army chainsaw of Content Managment.

Login
Make a new account
Username:
Password:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest 1999 The Management

create account | faq | search