[hot] New working MP3 Search engine that you have always wanted

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

  • coderess
    replied
    Master help me please , how to solved this code if soundcloud no result ? thanks
    Code:
     
    if($config['soundcloud']){
            
            //require_once ROOT_DIR . '/libs/outer_api/soundcloud/Services/Soundcloud.php';
            
            //$client = new Services_Soundcloud($config['soundcloud_api'], NULL);
            
            $start = ($page-1)*20;
            
            //$mp3_search = $client->get('tracks', array('q' => $keyword, 'license' => 'cc-by-sa'));
            
            $mp3_search = get_content("http://api.soundcloud.com/tracks/?client_id=e9bc5cfa694a55f70a5b1067a2722a2a&limit=20&q==" . $keyword);
            
            if ($mp3_search)
            {
                $mp3_search = simplexml_load_string($mp3_search);
                
                foreach ($mp3_search as $result) {
                    
                    $song_title = $result->{'title'};
                    
                    $mp3_page_url = $result->{'uri'} . "/stream";
                    
                    $mp3_page_url = $db->safesql($mp3_page_url);
                    
                    $hash = gen_uuid($mp3_page_url);
                    
                    $song['id'] = $hash;
                    
                    $song['source'] = 9;
                    
                    $song['mp3_url'] = $mp3_page_url;
                    
                    $song['play_url'] = play_url($song['id'], $song['source'], $song_title);
                    
                    $song['song_title'] = $song_title;
                    
                    if($song_title) $db->query("INSERT IGNORE INTO tan_cache SET hash='$hash', url='$mp3_page_url'");
                    
                    if($song_title) $mp3s[] = $song;
                    
                }
            }
            
        }

    Leave a comment:


  • rocket101
    replied
    please upload .sql file. i'm stuck in installing database.

    stuck at this.

    Writing files and installing sql tables, please wait..

    Leave a comment:


  • rajkumar
    commented on 's reply
    How to fix this issue please help me

  • rajkumar
    commented on 's reply
    Help me am also get the same issue . What is the solution to fix the issue

  • homici
    replied
    There no reply huh? :o

    Leave a comment:


  • something else
    replied
    <textarea>textarea is no longer blank</textarea>

    Leave a comment:


  • metulj
    replied
    Originally posted by homici View Post
    There are textarea with blank, I dont know what can I do, how to edit it, can you give me example ?
    Example ? well...





    Leave a comment:


  • homici
    replied
    There are textarea with blank, I dont know what can I do, how to edit it, can you give me example ?

    Leave a comment:


  • something else
    replied
    Originally posted by homici View Post
    How to edit a template ?
    with a text editor

    Leave a comment:


  • homici
    replied
    How to edit a template ?

    Leave a comment:


  • francel200
    replied
    Hello, anyone can help me, on config system when click 'install' it says 'writing files and installing sql table, please wait' then nothing's happen.

    Leave a comment:


  • grabing
    replied
    play flash 4shared not working and download 4shared to and how remove text/link mp3.tancode.com at flash?

    Leave a comment:


  • tiktoktridib
    replied
    play mp3 not working. when i paly mp3 then after 1-2 sec its pused.... not play mp3 whats problem?????????????????

    Leave a comment:


  • RdxKing
    replied
    its working very gud... if any want this script modfiy by me..... contact on fb//// fb.com/VipRandeep

    Leave a comment:


  • something else
    replied


    sign up - get your api code and add it into the admin section - no need to edit script

    Leave a comment:

Working...
X