1jQuery(document).ready(function(){function get_info(){jQuery.ajax({type:"GET",url:"https://www.liferadio.tirol/webcam/onair.xml",dataType:"xml",cache:false,complete:function(doc){var sequence=jQuery(doc.responseText).find("item").attr("sequence");var cover="logowerbung";var amazon_link="";var title="";var artist="";var i=0;jQuery(doc.responseText).find('item').each(function(){var customCovers=["mm_werbung","mm_wetter","mm_update","mm_verkehr","mm_news"];amazon_link="";if(jQuery(this).attr("sequence")=='present'){sequence=jQuery(this).attr("sequence");cover=jQuery(this).find("Music_MusicID").text();if(customCovers.indexOf(cover.toLowerCase())>=0){amazon_link="javascript:void(0);";}else{cover=jQuery(this).find("Music_Producer").text();amazon_link="https://www.amazon.de/gp/search/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&camp=1638&creative=6742&index=aps&keywords="+cover+"&linkCode=as2&tag=reisenbergeri-21";} 2if(typeof cover==='undefined'||cover==null||cover==''){cover='logowerbung';} 3title=jQuery(this).find("title").text();artist=jQuery(this).find("artist").text();}else if(title==""&&i==2){sequence=jQuery(this).attr("sequence");cover=jQuery(this).find("Music_MusicID").text();if(customCovers.indexOf(cover.toLowerCase())>=0){amazon_link="javascript:void(0);";}else{cover=jQuery(this).find("Music_Producer").text();amazon_link="https://www.amazon.de/gp/search/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&camp=1638&creative=6742&index=aps&keywords="+cover+"&linkCode=as2&tag=reisenbergeri-21";} 4if(typeof cover==='undefined'||cover==null||cover==''){cover='logowerbung';} 5title=jQuery(this).find("title").text();artist=jQuery(this).find("artist").text();} 6i++;});jQuery('#lr-radio-current-song-cover').css("background-image",'url("https://www.liferadio.tirol/songinfo/images/'+cover+'.jpg"');jQuery('#lr-current-song-title').text(title);jQuery('#lr-current-song-artist').text(artist);}});} 7setInterval(function(){get_info();},15000);get_info();});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.