Update
This commit is contained in:
@ -115,11 +115,14 @@ class Downloader
|
||||
|
||||
|
||||
$artist = str_replace( array( '#ARTIST:', '/' ), array( '', '-' ), strtok( $out, "\n" ) );
|
||||
$artist = preg_replace( "/[^a-zA-Z0-9_.!äöü\s-]/m/u", "", $artist );
|
||||
//echo $artist;
|
||||
$artistes = preg_replace( '/[^a-zA-Z0-9\ \-]/', "", $artist );
|
||||
|
||||
$title = str_replace( array( '#TITLE:', '/' ), array( '', '-' ), strtok( "\n" ) );
|
||||
$title = preg_replace( "/[^a-zA-Z0-9_.!äöü\s-]/m/u", "", $title );
|
||||
|
||||
//echo $title;
|
||||
//echo "\ns$title\n";
|
||||
$title = preg_replace( '/[^a-zA-Z0-9\ \-]/', '', $title );
|
||||
//echo "\n$title\n";
|
||||
|
||||
|
||||
echo "[INFO] Found $artist - $title\n";
|
||||
@ -160,4 +163,4 @@ class Downloader
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user