_CopyLaRadio
This commit is contained in:
parent
ecbf6b090c
commit
dca26d3cdf
|
@ -152,12 +152,12 @@ var infobar = function() {
|
|||
} else if (npinfo.Album) {
|
||||
lines[0].text = npinfo.Album;
|
||||
}
|
||||
// ZEEBOX HACK ZONE
|
||||
if ( ! npinfo.Album ) { npinfo.Album = npinfo.stream; }
|
||||
var reclink = './REC/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="./REC/youtube-dl.php" target="youtube">*</a>';
|
||||
lines[0].text += zcopylink;
|
||||
// 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 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;
|
||||
// ZEEBOX HACK ZONE
|
||||
return lines;
|
||||
|
||||
|
|
Loading…
Reference in New Issue