./_CopyLaRadio/youtube-dl.php

This commit is contained in:
qo-op 2020-06-04 15:24:51 +02:00
parent 9c3a5ee2ba
commit 0a792d96e9
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ var infobar = function() {
}
// ZEEBOX HACK ZONE
if ( ! npinfo.Album ) { npinfo.Album = npinfo.stream; }
var reclink = './_CopyLa/youtube-dl.php?q=REC&artist=' + escape(encodeURIComponent(npinfo.Artist)) + '&title=' + escape(encodeURIComponent(npinfo.Title)) + '&radio='+ escape(encodeURIComponent(npinfo.Album)) +'&maxResults=1';
var reclink = './_CopyLaRadio/youtube-dl.php?q=REC&artist=' + escape(encodeURIComponent(npinfo.Artist)) + '&title=' + escape(encodeURIComponent(npinfo.Title)) + '&radio='+ escape(encodeURIComponent(npinfo.Album)) +'&maxResults=1';
var zcopylink = ' <a id="REC" title="Enregistrer sur Youtube" href="#" onclick=\'javascript:window.open("'+ reclink +'","REC","menubar=no, scrollbars=no, top=10, left=10, width=320, height=400");return false;\'>[REC]</a>';
zcopylink += ' <a title="RECHERCHE LIBRE" href="./_CopyLaRadio/youtube-dl.php" target="youtube">*</a>';
lines[0].text += zcopylink;