Skip to content

Commit

Permalink
Don't remove the title when an error with youtube-dl appeared
Browse files Browse the repository at this point in the history
  • Loading branch information
NTag committed Feb 27, 2017
1 parent e0bb275 commit a173a21
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/src/app/alltomp3.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export class Alltomp3Service {
if (type == "Error" || data.data.error) {
let yterror = data.data.message;
yterror = yterror.replace(/^[\s\S]+YouTube said: .+\n(.+)\n$/g, '$1');
r.title = "Error";
r.artistName = yterror;
}
if (r.playlist == true) {
Expand Down

0 comments on commit a173a21

Please sign in to comment.