Cult, inspiring, bewitching... The soundtrack of the Harry Potter saga has a magical quality: it immediately transports the listener into its world. John Williams is like a ghost in the corridors of Hogwarts, an omniscient orchestral narrator who follows Harry, Hermione & Ron journeys as well as the dark, anguished & tormented shadow of Voldemort's Death Eaters. Find below some characteristic elements of the compositions of the best-seller & imagine yourself as a wizard!
Album | Titel | Vers. | Länge | Komponist/Autor | Beschreibung | Suchbegriffe | Key | BPM |
|
|
---|---|---|---|---|---|---|---|---|---|---|
|
Mad as a Hatter [CEZ4201 - 4] |
0 | 2'58 | Eric Caissy | Fairy tale and heroic fantasy. Uplifting & magical. Symphony ... | fantastisches Kino feenhaft Animationsfilme Trailer ... | Abm | 110 |
|
|
|
Saint Pancras Station ...
[CEO2078 - 19] |
1 | 1'35 | Gréco Casadesus | Corporate convention. Cyclic, joyful & urgent. String orchestra, ... | feenhaft Symphonieorchester Kindheit fröhlich & heiter ... | A | 106 |
|
|
|
Saint Pancras Station [CEO2078 - 4] |
0 | 1'22 | Gréco Casadesus | Corporate convention. Train. Traveling. Cyclic, determined & ... | zuversichtlich Kulturerbe verbindend engagiert ... | Am | 106 |
|
|
|
Reality or Sorcery [CEZ4379 - 5] |
0 | 1'46 | Gabriel Saban, Philippe Briand | Halloween. Magical but lightly disturbing. Glockenspiel, choir, bells ... | Halloween feenhaft Abenteuerspiele mysteriös ... | Dm | 62 |
|
|
|
How to Cast a Spell Alternate ...
[ISC025 - 26] |
1 | 2'06 | Emmanuel Rousseau | Alternative version without percussion. | tragikomisch Animationsfilme Symphonieorchester Filmmusik ... | Fm | 128 |
|
|
|
How to Cast a Spell [ISC025 - 6] |
0 | 2'06 | Emmanuel Rousseau | Cinematic / Film score. Intro in a fantastic mood with celesta & ... | tragikomisch Animationsfilme feenhaft Filmmusik ... | Fm | 128 |
|
|
|
A Forgotten Riddle Alternate 1 [ISC025 - 19] |
1 | 2'15 | Emmanuel Rousseau | Alternative version without percussion. | Abenteuerkino Filmmusik episch heroic fantasy ... | Dm | 149 |
|
|
|
A Forgotten Riddle [ISC025 - 4] |
0 | 2'15 | Emmanuel Rousseau | Cinematic / Film score. Wonderful but intriguing intro. Exhilarating, ... | Abenteuerkino Filmmusik episch heroic fantasy ... | Dm | 100 |
|
|
|
Out of Curiosity [CEO2016 - 6] |
1 | 1'05 | Pierre Adenot | Magical & ironic. Orchestra with flute & celesta. | Dramedy fantastisches Kino Animationsfilme französisches Kino ... | Gm | 164 |
|
|
|
Out of Curiosity 2 [CEO2016 - 15] |
0 | 1'00 | Pierre Adenot | Disturbing & twirling with a subtle touch of humour. Orchestra with ... | fantastisches Kino Dramedy Animationsfilme alte französische Komödienfilme ... | Gm | 164 |
|
|
|
Here Comes the Magic [CEZ4426 - 3] |
2 | 02'07 | Fabio Amurri, Marvin Benjamin McMahon | Wedding. Romance & fairy tales. Naive & interrogative. Theme @ 0'50 & ... | Liebesfilme Hochzeit Offenbarung Romanzen ... | F | 120 |
|
|
|
Here Comes the Magic ...
[CEZ4426 - 28] |
0 | 2'08 | Fabio Amurri, Marvin Benjamin McMahon | Wedding. Romance & fairy tales. Naive & interrogative. Theme @ 0'50 & ... | Hochzeit Liebesfilme Romanzen sentimental ... | F | 120 |
|
|
|
Here Comes the Magic ...
[CEZ4426 - 43] |
0 | 0'36 | Fabio Amurri, Marvin Benjamin McMahon | Short version with reveal. Wedding. Romance & fairy tales. Naive & ... | Hochzeit Liebesfilme Offenbarung Romanzen ... | F | 102 |
|
|
|
The Mad Sorcerer [CET9042 - 1] |
2 | 2'24 | Cedric Baravaglio, Jean Gabriel Raynaud | Marvellous but intriguing intro building-up with percussion, brass & ... | Krimikomödie Abenteuerkino Filmmusik fantastisches Kino ... | Dm | 140 |
|
|
|
The Mad Sorcerer Alternate [CET9042 - 8] |
0 | 2'24 | Cedric Baravaglio, Jean Gabriel Raynaud | Alternate without percussion. | Krimikomödie Abenteuerkino Filmmusik fantastisches Kino ... | Dm | 140 |
|
|
|
The Mad Sorcerer Alternate 2 [CET9042 - 9] |
0 | 2'24 | Cedric Baravaglio, Jean Gabriel Raynaud | Alternate without choir. | Krimikomödie Abenteuerkino Filmmusik fantastisches Kino ... | Dm | 140 |
|
|
|
Escaping Time Alternate [CET9019 - 26] |
1 | 2'07 | Gabriel Saban | Alternate without percussion. Tiptoe mischievous pizzicato & chimes ... | Abenteuerkino Filmmusik majestätisch Cinematic Orchester ... | Am | 89 |
|
|
|
Escaping Time [CET9019 - 6] |
0 | 2'07 | Gabriel Saban | Tiptoe mischievous pizzicato & chimes intro. Epic, fantastical, ... | Abenteuerkino Filmmusik majestätisch Cinematic Orchester ... | Am | 120 |
|
|
|
The Legend [CEZ4064 - 3] |
0 | 2'46 | Bernard Becker | Fairy-tale, majestic & lyrical. Orchestra & choir @ 0'47. | fantastisches Kino feenhaft Filmmusik begeisternd ... | Bm | 60 |
|
|
|
Open Sesame [CEZ4201 - 9] |
0 | 2'01 | Alain Bernard Denis, Baptiste Thiry | Fairy tale. Suspense. Magical & interrogative. Orchestra & choir. | Abenteuerkino fantastisches Kino mysteriös Symphonieorchester ... | Fm | 101 |
|
|
|
Legends Unfold [CEZ4201 - 1] |
0 | 2'42 | Sebastijan Duh | Heroic fantasy. Powerful & uplifting. Symphony orchestra. | Abenteuerkino episch fantastisches Kino Filmmusik ... | G | 118 |
|
|
|
Land of Mysteries Alternate 1 [ISC025 - 11] |
1 | 2'27 | Emmanuel Rousseau | Alternative version without percussion. | Abenteuerkino heroic fantasy beunruhigend Filmmusik ... | Cm | 140 |
|
|
|
Land of Mysteries [ISC025 - 1] |
0 | 2'27 | Emmanuel Rousseau | Cinematic / Film score. Fairy tale, mystery, spooky, worrying & ... | Abenteuerkino heroic fantasy beunruhigend Filmmusik ... | Cm | 140 |
|
|
|
Midnight's Tale [ISC025 - 7] |
3 | 1'57 | Emmanuel Rousseau | Cinematic / Film score. Dramatic, disturbing, strange, fantastic & ... | Abenteuerkino Filmmusik feenhaft Krimikomödie ... | Gm | 92 |
|
|
|
Midnight's Tale Alternate 1 [ISC025 - 29] |
0 | 1'57 | Emmanuel Rousseau | Alternative version without percussion. | Abenteuerkino Filmmusik feenhaft Symphonieorchester ... | Gm | 92 |
|
|
|
Midnight's Tale Alternate 2 [ISC025 - 30] |
0 | 1'57 | Emmanuel Rousseau | Alternative version without choir. | Abenteuerkino Filmmusik feenhaft mysteriös ... | Gm | 92 |
|
|
|
Midnight's Tale Alternate 3 [ISC025 - 31] |
0 | 1'57 | Emmanuel Rousseau | Alternative version without choir & percussion. | Abenteuerkino Filmmusik feenhaft Symphonieorchester ... | Gm | 92 |
|
|
|
Castle of Illusion Alternate [CET9042 - 10] |
1 | 2'27 | Cedric Baravaglio, Jean Gabriel Raynaud | Alternate without percussion. | Abenteuerkino episch kraftvoll & imposant Abenteuerspiele ... | Cm | 98 |
|
|
|
Castle of Illusion [CET9042 - 2] |
0 | 2'27 | Cedric Baravaglio, Jean Gabriel Raynaud | Tingling intro building-up with celesta & strings textures setting a ... | Abenteuerkino episch kraftvoll & imposant Abenteuerspiele ... | Cm | 147 |
|
|
|
Fairy-Tale Fantasy [CEV3031 - 15] |
0 | 2'02 | Thierry Caroubi | Mysterious & magical. Orchestra with harp. | fantastisches Kino Zirkusmusik Animationsfilme mysteriös ... | Em | 100 |
|
|
|
March of the Undead [ISC025 - 8] |
3 | 2'27 | Emmanuel Rousseau | Cinematic / Film score. Mysterious & passionate intro with swirling ... | Filmmusik Cinematic Orchester kraftvoll & imposant wirbelnd ... | Em | 120 |
|
|
|
March of the Undead Alternate ...
[ISC025 - 32] |
0 | 2'27 | Emmanuel Rousseau | Alternative version without percussion. | Filmmusik Symphonieorchester kraftvoll & imposant Abenteuerkino ... | Em | 120 |
|
|
|
March of the Undead Alternate ...
[ISC025 - 33] |
0 | 2'27 | Emmanuel Rousseau | Alternative version without choir. | Filmmusik Cinematic Orchester kraftvoll & imposant Abenteuerkino ... | Em | 120 |
|
|
|
March of the Undead Alternate ...
[ISC025 - 34] |
0 | 2'27 | Emmanuel Rousseau | Alternative version without choir & percussion. | Filmmusik Symphonieorchester kraftvoll & imposant Abenteuerkino ... | Em | 120 |
|
|
|
Stardust [CEZ4426 - 21] |
2 | 2'07 | Sebastijan Duh | Exhilarating & magical. Climax @ 1'16. Constant progression. Symphony ... | feenhaft begeisternd Abenteuerkino majestätisch ... | G | 143 |
|
|
|
Stardust Alternate [CEZ4426 - 27] |
0 | 2'08 | Sebastijan Duh | Without solo flute. Exhilarating & magical. Constant progression. ... | feenhaft begeisternd Abenteuerkino majestätisch ... | G | 143 |
|
|
|
Stardust Alternate 2 [CEZ4426 - 40] |
0 | 1'01 | Sebastijan Duh | Exhilarating & magical. Climax @ 1'16. Constant progression. Symphony ... | feenhaft Offenbarung happy end Höhepunkt ... | Gm | 144 |
|
|
|
Grace Apparent [CEZ4201 - 12] |
0 | 1'48 | Baptiste Thiry | Fairy tale. Enchanting & peaceful. Piano, string orchestra & choir. | Abenteuerkino fantastisches Kino Quelle Halloween ... | Gm | 82 |
|
login
password
Nom
Loading ' + file.name + ' ' + (file.size ? (file.size/1024|0) + 'K' : ''); fichier=file.name; } } //--- //- recog readfiles //--- readfiles = function(files) { var formData = tests.formdata ? new FormData() : null; for (var i = 0; i < files.length; i++) { if (tests.formdata) formData.append('file', files[i]); // previewfile(files[i]); en commentaire pcq nom du fichier pas important et pas beau } formData.set('lang','de'); // now post a new XHR request if (tests.formdata) { var xhr = new XMLHttpRequest(); xhr.open('POST', '/recog/upload.php'); xhr.onload = function() { progress.value = progress.innerHTML = 100; }; xhr.onloadend = function() { JSONreponse= xhr.responseText.trim(); if(JSONreponse=="ERR"){ spinnerStopCancellable(); $('#progress_external_recommendation_file').hide(); document.getElementById('file_external_recommendation').files = null; document.getElementById('file_external_recommendation_lbl').innerHTML = 'Choose file from your computer'; getAlertDanger("An error has occured, please try again with another file"); }else if(JSONreponse=="ERR_NOT_CONNECTED"){ //jQuery('#infoBoxListePage_connect').show(); TipNotConnected(); }else{ $('#fichiercharge').remove(); $('#chargementde').remove(); $('progress').hide(); spinnerStop(); reponses = JSON.parse(JSONreponse); reponsesMots = reponses.mots; suggestiontitres(files[0].name, 'mp3'); /** SG 21/10/2021 : POUR CACHER LA BOX QD RESULTAT AFFICHÉ **/ if($('.external_recommendationbox').length){ /** SG 22/10/2021 : POUR PROGRESS BAR EXTERNAL_RECOMMENDATION **/ $('#progress_external_recommendation_file').width('100%'); $('.external_recommendationbox').hide(); $('#progress_external_recommendation_file').width('0%'); $('#progress_external_recommendation_file').hide(); $('#file_external_recommendation').val(''); document.getElementById('file_external_recommendation_lbl').innerHTML = 'Drop your file here.'; } } }; if (tests.progress) { $('progress').show(); $('#progress_external_recommendation_file').show(); spinnerStart(); xhr.upload.onprogress = function (event) { if (event.lengthComputable) { var complete = (event.loaded / event.total * 100 | 0); if(complete!=100){ $('#recogdiv').each(function(){$(this).remove();}); } /** SG 22/10/2021 : PR PROGRESS BAR EXTERNAL_RECOMMENDATION **/ if($('#progress_external_recommendation_file').length){ $('#progress_external_recommendation_file').width((event.loaded/event.total*100)+'%'); } progress.value = progress.innerHTML = complete; } } } xhr.send(formData); } } //--- //- recog readfiles //--- readfiles_image = function(files) { var formData = tests.formdata ? new FormData() : null; for (var i = 0; i < files.length; i++) { if (tests.formdata) formData.append('file', files[i]); // previewfile(files[i]); en commentaire pcq nom du fichier pas important et pas beau } formData.set('lang','de'); // now post a new XHR request if (tests.formdata) { var xhr = new XMLHttpRequest(); xhr.open('POST', '/ajax/get_keywords_from_brief.php'); xhr.onload = function() { progress.value = progress.innerHTML = 100; }; xhr.onloadend = function() { JSONreponse= xhr.responseText.trim(); if(JSONreponse=="ERR"){ spinnerStopCancellable(); $('#progress_external_recommendation_file').hide(); document.getElementById('file_external_recommendation').files = null; document.getElementById('file_external_recommendation_lbl').innerHTML = 'Choose file from your computer'; getAlertDanger("XXXXXAn error has occured, please try again with another file"); }else if(JSONreponse=="ERR_NOT_CONNECTED"){ //jQuery('#infoBoxListePage_connect').show(); TipNotConnected(); }else{ $('#fichiercharge').remove(); $('#chargementde').remove(); $('progress').hide(); spinnerStop(); var parsedRes = JSON.parse(JSONreponse); var div_error = document.getElementById('external_brief_errors'); if ( parsedRes.error !== undefined ) { var txt_error = "Error : "; if ( parsedRes.error == "brief_empty" ) { txt_error += "Your brief is empty"; } else if ( parsedRes.error == "brief_too_long" ) { txt_error += "Your brief is too long, it must be 1000 characters long maximum"; } div_error.innerHTML = txt_error; div_error.style.display = 'block'; spinnerStop(); } else { div_error.innerHTML = ''; div_error.style.display = 'none'; var responseJSON = parsedRes; var response = responseJSON; var url = "/liste_resultats.php?"; var params = []; var tab_mots = []; for( var valou of response ) { params.push("mot[]=" + encodeURI(valou + "@@@@" + valou + "@@@@" + valou)); tab_mots.push(valou); } if ( params.length == 0 ) { div_error.innerHTML = 'No results found, please try again later.'; div_error.style.display = 'block'; spinnerStop(); return; } url += params.join("&"); xajax_check_multiple_words(tab_mots.join(' '), [], false, true, false, ''); //window.location.href = url; } } }; if (tests.progress) { $('progress').show(); $('#progress_external_recommendation_file').show(); spinnerStart(); xhr.upload.onprogress = function (event) { if (event.lengthComputable) { var complete = (event.loaded / event.total * 100 | 0); if(complete!=100){ $('#recogdiv').each(function(){$(this).remove();}); } /** SG 22/10/2021 : PR PROGRESS BAR EXTERNAL_RECOMMENDATION **/ if($('#progress_external_recommendation_file').length){ $('#progress_external_recommendation_file').width((event.loaded/event.total*100)+'%'); } progress.value = progress.innerHTML = complete; } } } xhr.send(formData); } } //--- //- afficherPanneauEntree //--- afficherPanneauEntree = function(){ var zeObj = $('#header-search-query'); if(zeObj.val()!=""){ $('#boiteAdviceRico').show(500); } } //--- //- jelancenoresult //--- jelancenoresult = function(){ in_search=false; $('#msgdbg').text($("#header-search-query").attr('value')); spinnerStart(); //xajax_check_multiple_words($("#header-search-query").attr('value'), xajax.getFormValues('search_form')); }; var mytimeoutrb; var randomPercent = 0 randomBar = function( ){ randomPercent = randomPercent + 5 if(randomPercent > 100) { randomPercent = 0 } progress = document.getElementById('uploadprogress'); progress.value = progress.innerHTML = randomPercent; mytimeoutrb = setTimeout( function(){randomBar( );} , 300); } todoOnKeyDown = function(zeObj,e){ $carousel_gallery_home.flickity('pausePlayer'); /** le moteur suggest est désactivé quand on tape une touche, cela empeche le masque "Entrée" de s'afficher, et lance le timeout de 3 secondes pour l'ouvrir **/ spinnerStop(); clearTimeout(timeoutAfficherPanneauEntree); in_search=true; timeoutAfficherPanneauEntree = setTimeout(function(){afficherPanneauEntree();},3000); //var kc=e.keyCode; var kc = e.key || e.code; if(kc=="Enter" || kc==13 || kc==37 || kc==38 || kc==39 || kc==40 || zeObj.value=='' || zeObj.value.indexOf('?+')!=-1){ spinnerStop(); } if($('#btn_external_recommendation').length > 0){ /** SG 21/20/2021 : POUR CACHER BOUTON external_recommendation QD QQUE CHOSE DE TAPER **/ if((zeObj.value).length>0){ /////16/04/2024 Eric / on ne le retire plus. : document.getElementById('btn_external_recommendation').style.display = 'none'; }else{ document.getElementById('btn_external_recommendation').style.display = 'flex'; } } if(( kc==13 || kc=='Enter') && zeObj.value!='' ){ var r = $(".text-tags .text-label").map( function(){return $(this).text();}).get().join(' '); if(r!=''){ var phrase=r + ' ' + zeObj.value; }else{ var phrase=zeObj.value; } $.ajax({ type: "POST", url: "/ajax/check_is_prompt.php", data: { phrase: phrase, langue: 'de' } }).done(function(reponse) { if (reponse === "OK") { /**vider le formulaire de recherche**/ empty_search_form(); /**appeler la fonction de recommandation par brief**/ searchExternalRecommendationFromBrief(phrase); } else { //bouton entrée tappé fct_menuzonehidden(); spinnerStart(); clearTimeout('jelancelenoresultdansxsecondes'); xajax_check_multiple_words(phrase, xajax.getFormValues('search_form')); } }); }else if(( kc==13 || kc=='Enter') && zeObj.value==''){ fct_menuzonehidden(); } } todoOnBlur = function(zeObj,e){ var v = zeObj.value; $carousel_gallery_home.flickity('pausePlayer'); spinnerStop(); clearTimeout(timeoutAfficherPanneauEntree); in_search=true; timeoutAfficherPanneauEntree = setTimeout(function(){afficherPanneauEntree();},3000); spinnerStop(); /** SG 24/10/2023 : POUR CACHER BOUTON external_recommendation QD QQUE CHOSE DE TAPER **/ if($('#btn_external_recommendation').length > 0){ if((zeObj.value).length>0){ /////16/04/2024 Eric / on ne le retire plus. : document.getElementById('btn_external_recommendation').style.display = 'none'; }else{ document.getElementById('btn_external_recommendation').style.display = 'flex'; } } if(v!=''){ fct_menuzonehidden(); spinnerStart(); clearTimeout('jelancelenoresultdansxsecondes'); zeObj.value = ''; var r = $(".text-tags .text-label").map( function(){return $(this).text();}).get().join(' '); var phrase = ''; if ( r!='' ) { phrase = r + ' ' + v; } else { phrase = v; } $.ajax({ type: "POST", url: "/ajax/check_is_prompt.php", data: { phrase: phrase, langue: 'de' } }).done(function(reponse) { if (reponse === "OK") { /**vider le formulaire de recherche**/ empty_search_form(); /**appeler la fonction de recommandation par brief**/ searchExternalRecommendationFromBrief(phrase); } else { //bouton entrée tappé fct_menuzonehidden(); spinnerStart(); clearTimeout('jelancelenoresultdansxsecondes'); xajax_check_multiple_words(phrase, xajax.getFormValues('search_form')); ////////show_bpm_key_zone("search"); } }); } else { //fct_menuzonehidden(); //remettre cette ligne si problème sur le onblur //SG 03/11/2023 : afin que la cartouche ne se ferme plus au onblur de l'input et que le bouton ai search se cache quand des mots sont présents dans l'input var r = $(".text-tags .text-label").map( function(){return $(this).text();}).get().join(' '); if ( r!="" ) { /////16/04/2024 Eric / on ne le retire plus. : $("#btn_external_recommendation").hide(); } else { if (document.getElementsByClassName('recogbutton').length == 0) { fct_menuzonehidden(); } } } } //Tooltip sur liste track search v4 pour les recommandations tooltip_menu_media = function(button,id_media,content){ $('.tooltip_menu_recommandation').removeClass('persistent').fadeOut(); //CONTENT:: id="tooltiprecommandation_30668" const $tooltip = $("#"+content+"_" + id_media); $tooltip.stop(true, true).fadeIn(); // Stop toute animation en cours et montre le tooltip $tooltip.addClass('persistent'); //on charge pour ce contenu le code pour la region if(content === "tooltiprecommandation"){ if (!myPlaylist || typeof myPlaylist.playlist !== 'object') { //console.error("myPlaylist.playlist n'est pas un objet valide."); return; } // Convertir en tableau //--si c'est la grosse playlist avec les alternates if (String(id_media).startsWith("0")) { //console.log("alt"); id_media_alt = String(id_media).slice(1); // Supprime le premier caractère pos = $('#boxcontrol_'+id_media_alt).attr('curposition'); //--sinon c'est la petite playlist celle au chargement de la page }else{ const playlistValues = Object.values(myPlaylist.playlist); // Rechercher l'index const index = myPlaylist.playlist.findIndex( item => String(item.id_media) === id_media ); if (index !== -1) { const currentItem = playlistValues[index]; pos = index; //console.log("Index trouvé :", index, "Données :", currentItem); } } //console.log("Index trouvé :", pos, "Données :", myPlaylist.playlist[pos]); from_last_click ="recommandationedit"; window.setCurrentSongLOAD(pos); //createRegion(regionStart, regionEnd, readOnly,loop,maxLength,id) //id=time-total recup le timing setTimeout(() => { let dureetrack = $("#time-total").html(); let [minutesDT, secondsDT] = dureetrack.split(':').map(Number); let newseconds = (minutesDT * 60) + secondsDT; console.log(newseconds); window.createRegion('0', newseconds, 'false', 'false', '', 'recommandation_' + id_media); }, 150); $tooltip.on("click", ".Ttr_validate", function (e) { let timingdebut = $tooltip.find('.Ttr_timingdebut').val(); let timingfin = $tooltip.find('.Ttr_timingfin').val(); console.log(timingdebut+" "+timingfin+" Suivant"); closeTooltip_media(id_media); }); } // Gestion des délais pour le masquage let hideTimeout; // Quand la souris quitte le bouton $(button).on("mouseout", function () { hideTimeout = setTimeout(() => { if (!$tooltip.is(":hover") && !$tooltip.hasClass("persistent")) { $tooltip.fadeOut(); } }, 200); }); // Quand la souris entre dans le tooltip $tooltip.on("mouseover", function () { clearTimeout(hideTimeout); // Annuler le délai de masquage si la souris entre dans le tooltip }); // Quand la souris quitte le tooltip $tooltip.on("mouseout", function () { hideTimeout = setTimeout(() => { if (!$tooltip.is(":hover") && !$tooltip.hasClass("persistent")) { $tooltip.fadeOut(); } }, 200); }); //$tooltip.fadeOut(); } function closeTooltip_media(id_media='') { let $tooltip; if(id_media!=''){ $tooltip = $("#tooltiprecommandation_"+id_media); }else{ $tooltip = $(this).closest(".tooltip_menu_recommandation"); } $tooltip.removeClass("persistent").fadeOut(); if(from_last_click === "recommandationedit"){ from_last_click = 'public'; fctclearRegions(); const $tooltip = $(this).closest(".tooltip_menu_recommandation"); $tooltip.find('.Ttr_timingdebut').val(''); $tooltip.find('.Ttr_timingfin').val(''); } } launch_recommendation = function(localurl,last_item_played){ let logged_in = false; jQuery.ajax({url: "/ajax/check_conn.php", type: "GET", async: false, success: function(JSONreponseFromAjax){ logged_in = JSONreponseFromAjax; }} ); var cookiepubai = document.cookie.match('(^|;) ?no_pub_ai=([^;]*)(;|$)'); var test_pubai = false; if ( cookiepubai !== null ) { test_pubai = cookiepubai[2]; } //SG 14/11/2023 : si pas connecté, on affiche la popup de pub pour les fonctionnalités complémentaires de l'IA // if ( logged_in != "OK" && !test_pubai ) { ///pour l'instant on met ça de côté ... TipNotConnectedPubAi(false); // } $('progress').hide(); spinnerStart(); /**on supprime le div de recog, vu que l'on va en charger un nouveau**/ jQuery('#recogdiv').remove(); if ( !$('body').hasClass('mobile') ) { randomBar( ); } jQuery.ajax({url: "/recog/upload.php", type: "POST", data : {localurl: localurl, id_media: last_item_played,lang:'de'}, success: function(JSONreponseFromAjax){ if(JSONreponseFromAjax=="ERR"){ $('progress').hide(); spinnerStop(); }else if(JSONreponseFromAjax=="ERR_NOT_CONNECTED"){ TipNotConnected(); $('progress').hide(); spinnerStop(); }else if(JSONreponseFromAjax.match(/^ERR_/) ){ $('progress').hide(); spinnerStop(); clearTimeout(mytimeoutrb); }else { clearTimeout(mytimeoutrb); if ( !$('body').hasClass('mobile') ) { progress = document.getElementById('uploadprogress'); progress.value = progress.innerHTML = 0; } jQuery('progress').hide(); spinnerStop(); reponses = JSON.parse(JSONreponseFromAjax); reponsesMots = reponses.mots; JSONreponse = JSONreponseFromAjax; suggestiontitres(last_item_played,'equal'); } } }); } //--- //- changeScrollHeight //--- changeScrollHeight = function() { var h = parseInt(window.prompt('Please type new scroll height (number in pixels):', jQuery.Autocompleter.defaults.scrollHeight)); if(h > 0) { $("#suggest1").setOptions({ scrollHeight: h }); } } //--- //- focus_header_search_query //--- focus_header_search_query = function(){ //$("#header-search-query").trigger("activate.autocomplete"); $("#header-search-query").click(); } //--- //- RemoveAccents //--- RemoveAccents = function(strAccents) { var strAccents = strAccents.split(''); var strAccentsOut = new Array(); var strAccentsLen = strAccents.length; var accents = 'ÀÁÂÃÄÅàáâãäåÒÓÔÕÕÖØòóôõöøÈÉÊËèéêëðÇçÐÌÍÎÏìíîïÙÚÛÜùúûüÑñÿý'; var accentsOut = "AAAAAAaaaaaaOOOOOOOooooooEEEEeeeeeCcDIIIIiiiiUUUUuuuuNnSsYyyZz"; for (var y = 0; y < strAccentsLen; y++) { if (accents.indexOf(strAccents[y]) != -1) { strAccentsOut[y] = accentsOut.substr(accents.indexOf(strAccents[y]), 1); } else strAccentsOut[y] = strAccents[y]; } strAccentsOut = strAccentsOut.join(''); //return strAccentsOut.replace(/ +/,"-"); strAccentsOut=strAccentsOut.replace(/'/g,"-").replace(/&+/g," ").replace(/ +/g,"-").replace(/\-+/,'-'); return strAccentsOut; } //--- //- addAlbumAndLaunch //--- addAlbumAndLaunch = function(id_album,e,f){ e.after(""); f.submit(); } //--- //- launchSearch //--- launchSearch = function(){ jQuery('.loupe').click(); } /**tout ce qui se rapoporte au filtrage par bpm et key**/ load_bpm_key_slider = function(){ jQuery('#slider').slider({ range: true, min: 10, max: 300, step: 1, values: [ 10, 300 ], slide: function( event, ui ) { jQuery('.slider-min').html(ui.values[ 0 ]); jQuery('.slider-max').html(ui.values[ 1 ]); }, change: function( event, ui ) { var min = ui.values[ 0 ]; var max = ui.values[ 1 ]; jQuery('#customFilterBpm').val(''); jQuery.ajax({ url: '/ajax/ajax_search_filters.php?minbpm='+min+'&maxbpm='+max} ).done(function(){ var only_word_search = jQuery('#search_form').serialize().replace('search_external_recommendation_youtube=&search_external_recommendation_brief=', ''); const url_params = new URLSearchParams(window.location.search); const id_media_str = url_params.get('id_media_str'); var tmp_url = ""; if ( id_media_str !== null ) { tmp_url = '/liste_resultats.php?id_media_str='+id_media_str+'&randkeybpm='+Math.random().toString(36).substring(7); }else if(only_word_search!=''){ tmp_url = '/liste_resultats.php?'+jQuery('#search_form').serialize()+'&randkeybpm='+Math.random().toString(36).substring(7); } goLaunchAjaxify(tmp_url,'#searchlink','search_' + Math.random().toString(36).substring(7)); }); } }); } -->