MP3 and Lyrics search and download script for mobile? Cant find em.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • morency
    replied
    ohhh...just asking...i made my own from that script....and pimp please answer on pm in waprank lol

    Leave a comment:


  • pimpin
    replied
    you could code it for free using the script i posted ;)

    Leave a comment:


  • morency
    replied
    how much money u want for that script ???

    Leave a comment:


  • rh0bz
    replied
    Originally posted by dshadow View Post
    here is a working mp3 search script from 4shared
    xtmobi.com/mp3
    can u share the script?

    Leave a comment:


  • dshadow
    replied
    here is a working mp3 search script from 4shared
    xtmobi.com/mp3

    Leave a comment:


  • pimpin
    replied
    its quite easy to do api scripts once u get in to it ;) ..but i checked Lyricsfly Lyrics API, database access to search for music artist and song title, protocol REST with XML document and it seems to only explain how to bring the lyrics page for a certain song/artist.. how did u do it on lyricsfly.mobi where if u search only the Artist it'l bring a list of songs (as links to lyrics page) from that artist??

    Leave a comment:


  • archer
    replied
    Dunno hw to use the API anyway, am not a coder lol just able to edit the script lol but am learning

    Leave a comment:


  • modfiles
    replied
    lyricsfly.mobi uses lyricsfly api.
    you can visit lyricsfly website and get the api and use it.

    Leave a comment:


  • archer
    replied
    any1 have a lyric search script like lyricsfly.mobi?

    Leave a comment:


  • pimpin
    replied
    Heres a script i used on my site (needs to be edited for wap) its similar to the hotsmusic script gumslone posted but some of the sources work on this script

    Leave a comment:


  • razib
    replied
    Please upload full script not only index

    Leave a comment:


  • wap2k
    replied
    Here is my lyrsic script fixed up.......

    Code:
    <?php
    header("Content-Type: text/vnd.wap.wml");
    echo"<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
    echo "\n<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"\n\"http://www.wapforum.org/DTD/wml_1.1.xml\">\n<wml>\n";
    print "<card id=\"card1\" title=\"Lyric\">";
    print "<p>";
    
    $ws    = trim($_REQUEST["ws"]);
    $letit = trim($_REQUEST["letter"]);
    $wapsidemode = trim($_REQUEST["ws"]);
    $page = $_REQUEST["page"];
    
    function myhtmlentities($myents){
    $myents = str_replace("&","&amp;",$myents);
    return $myents;
    }
    
    function get_string_between($string, $start, $end){
    $string = " ".$string;
    $ini = strpos($string,$start);
    if ($ini == 0) return "";
    $ini += strlen($start);
    $len = strpos($string,$end,$ini) - $ini;
    return substr($string,$ini,$len);
    }
    
    function extract_URLs($s) {
    $res = array();
    preg_match_all('@(<a .*</a>)@Uis', $s, $a);
    foreach ($a[1] as $x) {
    $gtpos = strpos($x, '>');
    $y = substr($x, 0, $gtpos);
    if ($hrefpos = strpos($x, 'href=')) {
    $z = substr($y, $hrefpos+5);
    $z = preg_replace('/^(\S+)\s.*$/U', '$1', $z);
    if ($z[0] == '"' && substr($z, -1) == '"') $z = substr($z, 1, -1);
    if ($z[0] == "'" && substr($z, -1) == "'") $z = substr($z, 1, -1);
    $res[] = array(substr($x, $gtpos+1, -4), $z);
    }
    }
    unset($a);
    return $res;
    }
    
    
    
    if(empty($wapsidemode)){
    print "<b>Browse Artists:</b><br/>";
    print '<select name="letter" multiple="false">
    <option value="0">0-9</option>
    <option value="a">A</option>
    <option value="b">B</option>
    <option value="c">C</option>
    <option value="d">D</option>
    <option value="e">E</option>
    <option value="f">F</option>
    <option value="g">G</option>
    <option value="h">H</option>
    <option value="i">I</option>
    <option value="j">J</option>
    <option value="k">K</option>
    <option value="l">L</option>
    <option value="n">M</option>
    <option value="n">N</option>
    <option value="o">O</option>
    <option value="p">P</option>
    <option value="q">Q</option>
    <option value="r">R</option>
    <option value="s">S</option>
    <option value="t">T</option>
    <option value="u">U</option>
    <option value="v">V</option>
    <option value="w">W</option>
    <option value="x">X</option>
    <option value="y">Y</option>
    <option value="z">Z</option>
    </select><br/>';
    
    print "<anchor>[-Go-]
    <go href=\"lyrics.php\" method=\"get\">
    <postfield name=\"letter\" value=\"$(letter)\"/>
    <postfield name=\"ws\" value=\"letter\"/>
    </go>
    </anchor>";
    }
    
    
    
    if($wapsidemode=="letter"){
    $a = file_get_contents('http://www.lyricsdownload.com/'.$letit.'-full_list.html');
    $a = get_string_between($a,"<ul imagesrc=\"http://www.lyricsdownload.com/images/arrow_r.gif\" style=\"margin-left: 20\">","</ul>");
    $a = str_replace("<li><a class=\"txt_1\"","<a ",$a);
    $a = str_replace("</a>","</a><br/>",$a);
    $a = str_replace("</li>","",$a);
    $a = str_replace("<ul imagesrc=\"http://www.lyricsdownload.com/images/arrow_r.gif\" style=\"margin-left: 20\">","",$a);
    $a = str_replace("</ul>","</a><br/>",$a);
    $a = str_replace("&","&amp;",$a);
    $links = extract_URLs($a);
    $list= "";
    foreach ($links as $v) {
    $list .= "<a href=\"lyrics.php?s=".myhtmlentities($v[1])."&amp;ws=singer&amp;sid=".$sid."\">".myhtmlentities($v[0])."</a><br/>";
    }
    $fulllist = explode("<br/>",$list);
    print "Lyrics<br/>";
    print "Page:".($page-10)." / ".$page."";
    print count($fulllist)."<br/>******<br/>";
    for ($i = $page-1; $i < $page+10; $i++) {
    print $fulllist[$i]."<br/>";
    }
    print "------<br/>";
    print "<a href=\"lyrics.php?letter=".$letit."&amp;page=".($page + 1)."&amp;ws=".$ws."&amp;sid=".$sid."\">more...</a><br/>";
    print "<a href=\"lyrics.php?letter=".$letit."&amp;page=".($page - 1)."&amp;ws=".$ws."&amp;sid=".$sid."\">back...</a><br/>";
    print "<a href=\"lyrics.php?sid=".$sid."\">Lyrics Index</a>";
    }
    $singer = $_REQUEST["s"];
    if($wapsidemode=="singer"){
    $sa = file_get_contents('http://www.lyricsdownload.com/'.$singer.'');
    $sa = str_replace("<ul imagesrc=\"http://www.lyricsdownload.com/images/arrow_r.gif\" style=\"margin-left: 20\">","<ul imagesrc=\"arrow_r.gif\">",$sa);
    $sa = str_replace("<ul imagesrc=\"http://www.lyricsdownload.com/images/arrow_r.gif\" style=\"margin-left: 5\">","<ul imagesrc=\"arrow_r.gif\">",$sa);
    $sa = get_string_between($sa,"<ul imagesrc=\"arrow_r.gif\">","</ul>");
    $links = extract_URLs($sa);
    $list= "";
    foreach ($links as $v) {
    $v = str_replace("<font size=2>","",$v);
    $v = str_replace("</font>","",$v);
    $list .= "<a href=\"lyrics.php?song=".myhtmlentities($v[1])."&amp;ws=viewlyrics&amp;sid=".$sid."\">".myhtmlentities($v[0])."</a><br/>";
    }
    $fulllist = explode("<br/>",$list);
    $page = trim($_REQUEST["page"]);
    print "Lyrics ";
    print ($page - 10)." / ".$page." of ";
    print count($fulllist)."<br/>------<br/>";
    for ($i = $page-1; $i < $page+10; $i++) {
    print $fulllist[$i]."<br/>";
    }
    $firstletter = substr($s, 0, 1);
    print "------<br/>";
    print "<a href=\"lyrics.php?ws=".$ws."&amp;s=".$s."&amp;page==".($page + 1)."&amp;sid=".$sid."\">more...</a><br/>";
    print "<a href=\"lyrics.php?ws=".$ws."&amp;s=".$s."&amp;page==".($page - 1)."&amp;sid=".$sid."\">back...</a><br/>";
    print "<a href=\"lyrics.php?ws=".$ws."&amp;letter=".$firstletter."&amp;sid=".$sid."\">Back to [".$firstletter."]</a><br/>";
    print "<a href=\"lyrics.php?sid=".$sid."\">Lyrics Index</a>";
    }
    $song = $_REQUEST["song"];
    if($wapsidemode=="viewlyrics"){
    $saaa = file_get_contents('http://www.lyricsdownload.com/'.$song.'');
    $saaa = str_replace("\n", "", $saaa);
    $saaa = str_replace("\t", "", $saaa);
    $saaa = get_string_between($saaa,"<center><font class=\"txt_1\">","</font>");
    $saaa = str_replace("<br /><br />","<br/>",$saaa);
    $saaa = str_replace("<center><font class=\"txt_1\">","",$saaa);
    $saaa = str_replace("</font></center>","",$saaa);
    $saaa = str_replace("&","&amp;",$saaa);
    echo $saaa;
    $firstletter = substr($song, 0, 1);
    print "<br/>------<br/><anchor>Back to singer<prev/></anchor><br/>";
    print "<a href=\"lyrics.php?ws=letter&amp;letter=".$firstletter."&amp;sid=".$sid."\">Back to [".$firstletter."]</a><br/>";
    print "<a href=\"lyrics.php?sid=".$sid."\">Lyrics Index</a>";
    }
    ?>
    </p>
    </card>
    </wml>
    Last edited by wap2k; 27.11.09, 21:00.

    Leave a comment:


  • sky2kv
    replied
    you guys maybe need to recode theses both scripts,to suit your sites..

    Leave a comment:


  • sky2kv
    replied
    heres a Lyric search script,extracted from my old site,coded by wap2k

    <?
    header("Content-Type: text/vnd.wap.wml");
    echo"<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
    echo "\n<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"\n\"http://www.wapforum.org/DTD/wml_1.1.xml\">\n<wml>\n";
    print "<card id=\"card1\" title=\"Lyric Search@wapwarz.skycity.co.za\">";
    print "<p>";

    $sid = $_REQUEST["sid"];

    function myhtmlentities($myents){
    $myents = str_replace("&","&amp;",$myents);
    return $myents;
    }

    function get_string_between($string, $start, $end){
    $string = " ".$string;
    $ini = strpos($string,$start);
    if ($ini == 0) return "";
    $ini += strlen($start);
    $len = strpos($string,$end,$ini) - $ini;
    return substr($string,$ini,$len);
    }

    function extract_URLs($s) {
    $res = array();
    preg_match_all('@(<a .*</a>)@Uis', $s, $a);
    foreach ($a[1] as $x) {
    $gtpos = strpos($x, '>');
    $y = substr($x, 0, $gtpos);
    if ($hrefpos = strpos($x, 'href=')) {
    $z = substr($y, $hrefpos+5);
    $z = preg_replace('/^(\S+)\s.*$/U', '$1', $z);
    if ($z[0] == '"' && substr($z, -1) == '"') $z = substr($z, 1, -1);
    if ($z[0] == "'" && substr($z, -1) == "'") $z = substr($z, 1, -1);
    $res[] = array(substr($x, $gtpos+1, -4), $z);
    }
    }
    unset($a);
    return $res;
    }

    $wapsidemode = $_REQUEST["ws"];

    if(empty($wapsidemode)){
    print "<b>Browse Artists:</b><br/>";
    print '<select name="letter" multiple="false">
    <option value="0">0-9</option>
    <option value="a">A</option>
    <option value="b">B</option>
    <option value="c">C</option>
    <option value="d">D</option>
    <option value="e">E</option>
    <option value="f">F</option>
    <option value="g">G</option>
    <option value="h">H</option>
    <option value="i">I</option>
    <option value="j">J</option>
    <option value="k">K</option>
    <option value="l">L</option>
    <option value="n">M</option>
    <option value="n">N</option>
    <option value="o">O</option>
    <option value="p">P</option>
    <option value="q">Q</option>
    <option value="r">R</option>
    <option value="s">S</option>
    <option value="t">T</option>
    <option value="u">U</option>
    <option value="v">V</option>
    <option value="w">W</option>
    <option value="x">X</option>
    <option value="y">Y</option>
    <option value="z">Z</option>
    </select><br/>';

    print "<anchor>[-Go-]
    <go href=\"lyrics.php\" method=\"get\">
    <postfield name=\"letter\" value=\"$(letter)\"/>
    <postfield name=\"ws\" value=\"letter\"/>
    <postfield name=\"sid\" value=\"$sid\"/>
    </go>
    </anchor>";
    }

    $letit = $_REQUEST["letter"];
    if($wapsidemode=="letter"){
    $a = file_get_contents('http://www.lyricsdownload.com/'.$letit.'-full_list.html');
    $a = get_string_between($a,"<ul imagesrc=\"http://www.lyricsdownload.com/images/arrow_r.gif\" style=\"margin-left: 20\">","</ul>");
    $a = str_replace("<li><a class=\"txt_1\"","<a ",$a);
    $a = str_replace("</a>","</a><br/>",$a);
    $a = str_replace("</li>","",$a);
    $a = str_replace("<ul imagesrc=\"http://www.lyricsdownload.com/images/arrow_r.gif\" style=\"margin-left: 20\">","",$a);
    $a = str_replace("</ul>","</a><br/>",$a);
    $a = str_replace("&","&amp;",$a);
    $links = extract_URLs($a);
    $list= "";
    foreach ($links as $v) {
    $list .= "<a href=\"lyrics.php?s=".myhtmlentities($v[1])."&amp;ws=singer&amp;sid=".$sid."\">".myhtmlentit ies($v[0])."</a><br/>";
    }
    $fulllist = explode("<br/>",$list);
    $page = $_REQUEST["page"];
    print "Lyrics ";
    print ($page - 10)." / ".$page." of ";
    print count($fulllist)."<br/>------<br/>";
    for ($i = $page-1; $i < $page+10; $i++) {
    print $fulllist[$i]."<br/>";
    }
    $ppage = $page - 10;
    $npage = $page + 10;
    print "------<br/>";
    print "<a href=\"lyrics.php?letter=".$letit."&amp;page=$npag e&amp;ws=".$ws."&amp;sid=".$sid."\">more...</a><br/>";
    print "<a href=\"lyrics.php?letter=".$letit."&amp;page=$ppag e&amp;ws=".$ws."&amp;sid=".$sid."\">back...</a><br/>";
    print "<a href=\"lyrics.php?sid=".$sid."\">Lyrics Index</a>";
    }
    $singer = $_REQUEST["s"];
    if($wapsidemode=="singer"){
    $sa = file_get_contents('http://www.lyricsdownload.com/'.$singer.'');
    $sa = str_replace("<ul imagesrc=\"http://www.lyricsdownload.com/images/arrow_r.gif\" style=\"margin-left: 20\">","<ul imagesrc=\"arrow_r.gif\">",$sa);
    $sa = str_replace("<ul imagesrc=\"http://www.lyricsdownload.com/images/arrow_r.gif\" style=\"margin-left: 5\">","<ul imagesrc=\"arrow_r.gif\">",$sa);
    $sa = get_string_between($sa,"<ul imagesrc=\"arrow_r.gif\">","</ul>");
    $links = extract_URLs($sa);
    $list= "";
    foreach ($links as $v) {
    $list .= "<a href=\"lyrics.php?song=".myhtmlentities($v[1])."&amp;ws=viewlyrics&amp;sid=".$sid."\">".myhtmle ntities($v[0])."</a><br/>";
    }
    $fulllist = explode("<br/>",$list);
    $page = $_REQUEST["page"];
    print "Lyrics ";
    print ($page - 10)." / ".$page." of ";
    print count($fulllist)."<br/>------<br/>";
    for ($i = $page-1; $i < $page+10; $i++) {
    print $fulllist[$i]."<br/>";
    }
    $firstletter = substr($s, 0, 1);
    $ppage = $page - 10;
    $npage = $page + 10;
    print "------<br/>";
    print "<a href=\"lyrics.php?ws=".$ws."&amp;s=".$s."&amp;page =$npage&amp;sid=".$sid."\">more...</a><br/>";
    print "<a href=\"lyrics.php?ws=".$ws."&amp;s=".$s."&amp;page =$npage&amp;sid=".$sid."\">back...</a><br/>";
    print "<a href=\"lyrics.php?ws=".$ws."&amp;letter=".$firstle tter."&amp;sid=".$sid."\">Back to [".$firstletter."]</a><br/>";
    print "<a href=\"lyrics.php?sid=".$sid."\">Lyrics Index</a>";
    }
    $song = $_REQUEST["song"];
    if($wapsidemode=="viewlyrics"){
    $saaa = file_get_contents('http://www.lyricsdownload.com/'.$song.'');
    $saaa = str_replace("\n", "", $saaa);
    $saaa = str_replace("\t", "", $saaa);
    $saaa = get_string_between($saaa,"<center><font class=\"txt_1\">","</font>");
    $saaa = str_replace("<br /><br />","<br/>",$saaa);
    $saaa = str_replace("<center><font class=\"txt_1\">","",$saaa);
    $saaa = str_replace("</font></center>","",$saaa);
    $saaa = str_replace("&","&amp;",$saaa);
    echo $saaa;
    $firstletter = substr($song, 0, 1);
    print "<br/>------<br/><anchor>Back to singer<prev/></anchor><br/>";
    print "<a href=\"lyrics.php?ws=letter&amp;letter=".$firstlet ter."&amp;sid=".$sid."\">Back to [".$firstletter."]</a><br/>";
    print "<a href=\"lyrics.php?sid=".$sid."\">Lyrics Index</a>";
    }
    ?>
    </p>
    <p align="center">
    <a href="../index.php?action=funm&amp;sid=<? echo $sid; ?>">&#171;Back to Fun Menu</a><br/>
    <a href="../index.php?action=main&amp;sid=<? echo $sid; ?>"><img src="../images/home.gif" alt="*"/>Home</a>
    </p>
    </card>
    </wml>

    Leave a comment:


  • sky2kv
    replied
    i used to use this sometimes ago,dunno if it still work tho...
    Attached Files

    Leave a comment:

Working...
X