https://randomspotify.com/

提交的 URL:
https://randomspotify.com/
报告完成时间:

链接 · 找到 0 个

JavaScript 变量 · 找到 16 个

名称类型
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
_wpemojiSettingsobject
clarityfunction
getRandomSongfunction
fetchAndDisplaySongfunction
NevePropertiesobject
htmlobject
themestring

控制台日志消息 · 找到 0 条

HTML

<!DOCTYPE html><html lang="en-US"><head>
	
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
	<link rel="profile" href="http://gmpg.org/xfn/11">
		<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1">

	<!-- This site is optimized with the Yoast SEO plugin v23.7 - https://yoast.com/wordpress/plugins/seo/ -->
	<title>Random Spotify | Discover Music Based on Genre &amp; Popularity</title>
	<meta name="description" content="Explore new music with our Random Song Generator. Filter by genre and popularity to find unique tracks from Spotify's extensive library.">
	<link rel="canonical" href="https://randomspotify.com/">
	<meta property="og:locale" content="en_US">
	<meta property="og:type" content="website">
	<meta property="og:title" content="Random Spotify | Discover Music Based on Genre &amp; Popularity">
	<meta property="og:description" content="Explore new music with our Random Song Generator. Filter by genre and popularity to find unique tracks from Spotify's extensive library.">
	<meta property="og:url" content="https://randomspotify.com/">
	<meta property="og:site_name" content="Random Spotify">
	<meta property="article:modified_time" content="2024-10-27T04:49:45+00:00">
	<meta property="og:image" content="https://randomspotify.com/wp-content/uploads/2024/10/Random-Spotify-Social.png">
	<meta property="og:image:width" content="1200">
	<meta property="og:image:height" content="630">
	<meta property="og:image:type" content="image/png">
	<meta name="twitter:card" content="summary_large_image">
	<script async="" src="https://www.clarity.ms/s/0.7.49/clarity.js"></script><script async="" src="https://www.clarity.ms/tag/op0e5trjac?ref=wordpress"></script><script type="application/ld+json" class="yoast-schema-graph">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"https://randomspotify.com/","url":"https://randomspotify.com/","name":"Random Spotify | Discover Music Based on Genre &amp; Popularity","isPartOf":{"@id":"https://randomspotify.com/#website"},"about":{"@id":"https://randomspotify.com/#organization"},"primaryImageOfPage":{"@id":"https://randomspotify.com/#primaryimage"},"image":{"@id":"https://randomspotify.com/#primaryimage"},"thumbnailUrl":"https://randomspotify.com/wp-content/uploads/2024/10/Spotify.svg","datePublished":"2024-10-27T03:16:59+00:00","dateModified":"2024-10-27T04:49:45+00:00","description":"Explore new music with our Random Song Generator. Filter by genre and popularity to find unique tracks from Spotify's extensive library.","breadcrumb":{"@id":"https://randomspotify.com/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https://randomspotify.com/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https://randomspotify.com/#primaryimage","url":"https://randomspotify.com/wp-content/uploads/2024/10/Spotify.svg","contentUrl":"https://randomspotify.com/wp-content/uploads/2024/10/Spotify.svg","width":800,"height":800},{"@type":"BreadcrumbList","@id":"https://randomspotify.com/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home"}]},{"@type":"WebSite","@id":"https://randomspotify.com/#website","url":"https://randomspotify.com/","name":"Random Spotify","description":"Discover Music Based on Genre &amp; Popularity","publisher":{"@id":"https://randomspotify.com/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://randomspotify.com/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https://randomspotify.com/#organization","name":"Random Spotify","url":"https://randomspotify.com/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https://randomspotify.com/#/schema/logo/image/","url":"https://randomspotify.com/wp-content/uploads/2024/10/Random-Spotify.svg","contentUrl":"https://randomspotify.com/wp-content/uploads/2024/10/Random-Spotify.svg","width":2101,"height":385,"caption":"Random Spotify"},"image":{"@id":"https://randomspotify.com/#/schema/logo/image/"}}]}</script>
	<!-- / Yoast SEO plugin. -->


<link rel="dns-prefetch" href="//fonts.googleapis.com">
<link rel="alternate" type="application/rss+xml" title="Random Spotify » Feed" href="https://randomspotify.com/feed/">
<link rel="alternate" type="application/rss+xml" title="Random Spotify » Comments Feed" href="https://randomspotify.com/comments/feed/">
<script>
window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/randomspotify.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=6.6.2"}};
/*! This file is auto-generated */
!function(i,n){var o,s,e;function c(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(o,JSON.stringify(t))}catch(e){}}function p(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data),r=(e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0),new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data));return t.every(function(e,t){return e===r[t]})}function u(e,t,n){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\uddfa\ud83c\uddf3","\ud83c\uddfa\u200b\ud83c\uddf3")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!n(e,"\ud83d\udc26\u200d\u2b1b","\ud83d\udc26\u200b\u2b1b")}return!1}function f(e,t,n){var r="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):i.createElement("canvas"),a=r.getContext("2d",{willReadFrequently:!0}),o=(a.textBaseline="top",a.font="600 32px Arial",{});return e.forEach(function(e){o[e]=t(a,e,n)}),o}function t(e){var t=i.createElement("script");t.src=e,t.defer=!0,i.head.appendChild(t)}"undefined"!=typeof Promise&&(o="wpEmojiSettingsSupports",s=["flag","emoji"],n.supports={everything:!0,everythingExceptFlag:!0},e=new Promise(function(e){i.addEventListener("DOMContentLoaded",e,{once:!0})}),new Promise(function(t){var n=function(){try{var e=JSON.parse(sessionStorage.getItem(o));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()<e.timestamp+604800&&"object"==typeof e.supportTests)return e.supportTests}catch(e){}return null}();if(!n){if("undefined"!=typeof Worker&&"undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof URL&&URL.createObjectURL&&"undefined"!=typeof Blob)try{var e="postMessage("+f.toString()+"("+[JSON.stringify(s),u.toString(),p.toString()].join(",")+"));",r=new Blob([e],{type:"text/javascript"}),a=new Worker(URL.createObjectURL(r),{name:"wpTestEmojiSupports"});return void(a.onmessage=function(e){c(n=e.data),a.terminate(),t(n)})}catch(e){}c(n=f(s,u,p))}t(n)}).then(function(e){for(var t in e)n.supports[t]=e[t],n.supports.everything=n.supports.everything&&n.supports[t],"flag"!==t&&(n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&n.supports[t]);n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&!n.supports.flag,n.DOMReady=!1,n.readyCallback=function(){n.DOMReady=!0}}).then(function(){return e}).then(function(){var e;n.supports.everything||(n.readyCallback(),(e=n.source||{}).concatemoji?t(e.concatemoji):e.wpemoji&&e.twemoji&&(t(e.twemoji),t(e.wpemoji)))}))}((window,document),window._wpemojiSettings);
</script>
<style id="wp-emoji-styles-inline-css">

	img.wp-smiley, img.emoji {
		display: inline !important;
		border: none !important;
		box-shadow: none !important;
		height: 1em !important;
		width: 1em !important;
		margin: 0 0.07em !important;
		vertical-align: -0.1em !important;
		background: none !important;
		padding: 0 !important;
	}
</style>
<link rel="stylesheet" id="wp-block-library-css" href="https://randomspotify.com/wp-includes/css/dist/block-library/style.min.css?ver=6.6.2" media="all">
<style id="classic-theme-styles-inline-css">
/*! This file is auto-generated */
.wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
</style>
<style id="global-styles-inline-css">
:root{--wp--preset--aspect-ratio--square: 1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--color--neve-link-color: var(--nv-primary-accent);--wp--preset--color--neve-link-hover-color: var(--nv-secondary-accent);--wp--preset--color--nv-site-bg: var(--nv-site-bg);--wp--preset--color--nv-light-bg: var(--nv-light-bg);--wp--preset--color--nv-dark-bg: var(--nv-dark-bg);--wp--preset--color--neve-text-color: var(--nv-text-color);--wp--preset--color--nv-text-dark-bg: var(--nv-text-dark-bg);--wp--preset--color--nv-c-1: var(--nv-c-1);--wp--preset--color--nv-c-2: var(--nv-c-2);--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgba(255, 255, 255, 1), 6px 6px rgba(0, 0, 0, 1);--wp--preset--shadow--crisp: 6px 6px 0px rgba(0, 0, 0, 1);}:where(.is-layout-flex){gap: 0.5em;}:where(.is-layout-grid){gap: 0.5em;}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}:where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}:where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-neve-link-color-color{color: var(--wp--preset--color--neve-link-color) !important;}.has-neve-link-hover-color-color{color: var(--wp--preset--color--neve-link-hover-color) !important;}.has-nv-site-bg-color{color: var(--wp--preset--color--nv-site-bg) !important;}.has-nv-light-bg-color{color: var(--wp--preset--color--nv-light-bg) !important;}.has-nv-dark-bg-color{color: var(--wp--preset--color--nv-dark-bg) !important;}.has-neve-text-color-color{color: var(--wp--preset--color--neve-text-color) !important;}.has-nv-text-dark-bg-color{color: var(--wp--preset--color--nv-text-dark-bg) !important;}.has-nv-c-1-color{color: var(--wp--preset--color--nv-c-1) !important;}.has-nv-c-2-color{color: var(--wp--preset--color--nv-c-2) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-neve-link-color-background-color{background-color: var(--wp--preset--color--neve-link-color) !important;}.has-neve-link-hover-color-background-color{background-color: var(--wp--preset--color--neve-link-hover-color) !important;}.has-nv-site-bg-background-color{background-color: var(--wp--preset--color--nv-site-bg) !important;}.has-nv-light-bg-background-color{background-color: var(--wp--preset--color--nv-light-bg) !important;}.has-nv-dark-bg-background-color{background-color: var(--wp--preset--color--nv-dark-bg) !important;}.has-neve-text-color-background-color{background-color: var(--wp--preset--color--neve-text-color) !important;}.has-nv-text-dark-bg-background-color{background-color: var(--wp--preset--color--nv-text-dark-bg) !important;}.has-nv-c-1-background-color{background-color: var(--wp--preset--color--nv-c-1) !important;}.has-nv-c-2-background-color{background-color: var(--wp--preset--color--nv-c-2) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-neve-link-color-border-color{border-color: var(--wp--preset--color--neve-link-color) !important;}.has-neve-link-hover-color-border-color{border-color: var(--wp--preset--color--neve-link-hover-color) !important;}.has-nv-site-bg-border-color{border-color: var(--wp--preset--color--nv-site-bg) !important;}.has-nv-light-bg-border-color{border-color: var(--wp--preset--color--nv-light-bg) !important;}.has-nv-dark-bg-border-color{border-color: var(--wp--preset--color--nv-dark-bg) !important;}.has-neve-text-color-border-color{border-color: var(--wp--preset--color--neve-text-color) !important;}.has-nv-text-dark-bg-border-color{border-color: var(--wp--preset--color--nv-text-dark-bg) !important;}.has-nv-c-1-border-color{border-color: var(--wp--preset--color--nv-c-1) !important;}.has-nv-c-2-border-color{border-color: var(--wp--preset--color--nv-c-2) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;}
:where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}
:where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}
:root :where(.wp-block-pullquote){font-size: 1.5em;line-height: 1.6;}
</style>
<link rel="stylesheet" id="neve-style-css" href="https://randomspotify.com/wp-content/themes/neve/style-main-new.min.css?ver=3.8.11" media="all">
<style id="neve-style-inline-css">
.nv-meta-list li.meta:not(:last-child):after { content:"/" }.nv-meta-list .no-mobile{
			display:none;
		}.nv-meta-list li.last::after{
			content: ""!important;
		}@media (min-width: 769px) {
			.nv-meta-list .no-mobile {
				display: inline-block;
			}
			.nv-meta-list li.last:not(:last-child)::after {
		 		content: "/" !important;
			}
		}
 :root{ --container: 748px;--postwidth:100%; --primarybtnbg: var(--nv-primary-accent); --primarybtnhoverbg: var(--nv-primary-accent); --primarybtncolor: #fff; --secondarybtncolor: var(--nv-primary-accent); --primarybtnhovercolor: #fff; --secondarybtnhovercolor: var(--nv-primary-accent);--primarybtnborderradius:3px;--secondarybtnborderradius:3px;--secondarybtnborderwidth:3px;--btnpadding:13px 15px;--primarybtnpadding:13px 15px;--secondarybtnpadding:calc(13px - 3px) calc(15px - 3px); --bodyfontfamily: "Red Hat Display"; --bodyfontsize: 15px; --bodylineheight: 1.6; --bodyletterspacing: 0px; --bodyfontweight: 400; --headingsfontfamily: Lato; --h1fontsize: 36px; --h1fontweight: 700; --h1lineheight: 1.2; --h1letterspacing: 0px; --h1texttransform: none; --h2fontsize: 28px; --h2fontweight: 700; --h2lineheight: 1.3; --h2letterspacing: 0px; --h2texttransform: none; --h3fontsize: 24px; --h3fontweight: 700; --h3lineheight: 1.4; --h3letterspacing: 0px; --h3texttransform: none; --h4fontsize: 20px; --h4fontweight: 700; --h4lineheight: 1.6; --h4letterspacing: 0px; --h4texttransform: none; --h5fontsize: 16px; --h5fontweight: 700; --h5lineheight: 1.6; --h5letterspacing: 0px; --h5texttransform: none; --h6fontsize: 14px; --h6fontweight: 700; --h6lineheight: 1.6; --h6letterspacing: 0px; --h6texttransform: none;--formfieldborderwidth:2px;--formfieldborderradius:3px; --formfieldbgcolor: var(--nv-site-bg); --formfieldbordercolor: #dddddd; --formfieldcolor: var(--nv-text-color);--formfieldpadding:10px 12px; } .single-post-container .alignfull > [class*="__inner-container"], .single-post-container .alignwide > [class*="__inner-container"]{ max-width:718px } .nv-meta-list{ --avatarsize: 20px; } .single .nv-meta-list{ --avatarsize: 20px; } .nv-post-cover{ --height: 250px;--padding:40px 15px;--justify: flex-start; --textalign: left; --valign: center; } .nv-post-cover .nv-title-meta-wrap, .nv-page-title-wrap, .entry-header{ --textalign: left; } .nv-is-boxed.nv-title-meta-wrap{ --padding:40px 15px; --bgcolor: var(--nv-dark-bg); } .nv-overlay{ --opacity: 50; --blendmode: normal; } .nv-is-boxed.nv-comments-wrap{ --padding:20px; } .nv-is-boxed.comment-respond{ --padding:20px; } .single:not(.single-product), .page{ --c-vspace:0 0 0 0;; } .global-styled{ --bgcolor: var(--nv-site-bg); } .header-top{ --rowbcolor: var(--nv-light-bg); --color: var(--nv-text-color); --bgcolor: var(--nv-site-bg); } .header-main{ --rowbcolor: var(--nv-light-bg); --color: var(--nv-text-color); --bgcolor: var(--nv-site-bg); } .header-bottom{ --rowbcolor: var(--nv-light-bg); --color: var(--nv-text-color); --bgcolor: var(--nv-site-bg); } .header-menu-sidebar-bg{ --justify: flex-start; --textalign: left;--flexg: 1;--wrapdropdownwidth: auto; --color: var(--nv-text-color); --bgcolor: var(--nv-site-bg); } .header-menu-sidebar{ width: 360px; } .builder-item--logo{ --maxwidth: 120px; --fs: 24px;--padding:10px 0;--margin:0; --textalign: left;--justify: flex-start; } .builder-item--primary-menu{ --hovercolor: var(--nv-secondary-accent); --hovertextcolor: var(--nv-text-color); --activecolor: var(--nv-primary-accent); --spacing: 20px; --height: 25px;--padding:0;--margin:0; --fontsize: 1em; --lineheight: 1.6; --letterspacing: 0px; --fontweight: 500; --texttransform: none; --iconsize: 1em; } .hfg-is-group.has-primary-menu .inherit-ff{ --inheritedfw: 500; } .footer-top-inner .row{ grid-template-columns:1fr 1fr 1fr; --valign: flex-start; } .footer-top{ --rowbcolor: var(--nv-light-bg); --color: var(--nv-text-color); --bgcolor: var(--nv-site-bg); } .footer-main-inner .row{ grid-template-columns:1fr 1fr 1fr; --valign: flex-start; } .footer-main{ --rowbcolor: var(--nv-light-bg); --color: var(--nv-text-color); --bgcolor: var(--nv-site-bg); } .footer-bottom-inner .row{ grid-template-columns:1fr 1fr 1fr; --valign: flex-start; } .footer-bottom{ --rowbcolor: var(--nv-light-bg); --color: var(--nv-text-dark-bg); --bgcolor: var(--nv-dark-bg); } .builder-item--footer-menu{ --hovercolor: var(--nv-primary-accent); --spacing: 20px; --height: 25px;--padding:0;--margin:0; --fontsize: 1em; --lineheight: 1.6; --letterspacing: 0px; --fontweight: 500; --texttransform: none; --iconsize: 1em; --textalign: center;--justify: center; } @media(min-width: 576px){ :root{ --container: 992px;--postwidth:50%;--btnpadding:13px 15px;--primarybtnpadding:13px 15px;--secondarybtnpadding:calc(13px - 3px) calc(15px - 3px); --bodyfontsize: 16px; --bodylineheight: 1.6; --bodyletterspacing: 0px; --h1fontsize: 38px; --h1lineheight: 1.2; --h1letterspacing: 0px; --h2fontsize: 30px; --h2lineheight: 1.2; --h2letterspacing: 0px; --h3fontsize: 26px; --h3lineheight: 1.4; --h3letterspacing: 0px; --h4fontsize: 22px; --h4lineheight: 1.5; --h4letterspacing: 0px; --h5fontsize: 18px; --h5lineheight: 1.6; --h5letterspacing: 0px; --h6fontsize: 14px; --h6lineheight: 1.6; --h6letterspacing: 0px; } .single-post-container .alignfull > [class*="__inner-container"], .single-post-container .alignwide > [class*="__inner-container"]{ max-width:962px } .nv-meta-list{ --avatarsize: 20px; } .single .nv-meta-list{ --avatarsize: 20px; } .nv-post-cover{ --height: 320px;--padding:60px 30px;--justify: flex-start; --textalign: left; --valign: center; } .nv-post-cover .nv-title-meta-wrap, .nv-page-title-wrap, .entry-header{ --textalign: left; } .nv-is-boxed.nv-title-meta-wrap{ --padding:60px 30px; } .nv-is-boxed.nv-comments-wrap{ --padding:30px; } .nv-is-boxed.comment-respond{ --padding:30px; } .single:not(.single-product), .page{ --c-vspace:0 0 0 0;; } .header-menu-sidebar-bg{ --justify: flex-start; --textalign: left;--flexg: 1;--wrapdropdownwidth: auto; } .header-menu-sidebar{ width: 360px; } .builder-item--logo{ --maxwidth: 120px; --fs: 24px;--padding:10px 0;--margin:0; --textalign: left;--justify: flex-start; } .builder-item--primary-menu{ --spacing: 20px; --height: 25px;--padding:0;--margin:0; --fontsize: 1em; --lineheight: 1.6; --letterspacing: 0px; --iconsize: 1em; } .builder-item--footer-menu{ --spacing: 20px; --height: 25px;--padding:0;--margin:0; --fontsize: 1em; --lineheight: 1.6; --letterspacing: 0px; --iconsize: 1em; --textalign: center;--justify: center; } }@media(min-width: 960px){ :root{ --container: 1170px;--postwidth:33.333333333333%;--btnpadding:13px 15px;--primarybtnpadding:13px 15px;--secondarybtnpadding:calc(13px - 3px) calc(15px - 3px); --bodyfontsize: 16px; --bodylineheight: 1.7; --bodyletterspacing: 0px; --h1fontsize: 40px; --h1lineheight: 1.1; --h1letterspacing: 0px; --h2fontsize: 32px; --h2lineheight: 1.2; --h2letterspacing: 0px; --h3fontsize: 28px; --h3lineheight: 1.4; --h3letterspacing: 0px; --h4fontsize: 24px; --h4lineheight: 1.5; --h4letterspacing: 0px; --h5fontsize: 20px; --h5lineheight: 1.6; --h5letterspacing: 0px; --h6fontsize: 16px; --h6lineheight: 1.6; --h6letterspacing: 0px; } body:not(.single):not(.archive):not(.blog):not(.search):not(.error404) .neve-main > .container .col, body.post-type-archive-course .neve-main > .container .col, body.post-type-archive-llms_membership .neve-main > .container .col{ max-width: 100%; } body:not(.single):not(.archive):not(.blog):not(.search):not(.error404) .nv-sidebar-wrap, body.post-type-archive-course .nv-sidebar-wrap, body.post-type-archive-llms_membership .nv-sidebar-wrap{ max-width: 0%; } .neve-main > .archive-container .nv-index-posts.col{ max-width: 100%; } .neve-main > .archive-container .nv-sidebar-wrap{ max-width: 0%; } .neve-main > .single-post-container .nv-single-post-wrap.col{ max-width: 70%; } .single-post-container .alignfull > [class*="__inner-container"], .single-post-container .alignwide > [class*="__inner-container"]{ max-width:789px } .container-fluid.single-post-container .alignfull > [class*="__inner-container"], .container-fluid.single-post-container .alignwide > [class*="__inner-container"]{ max-width:calc(70% + 15px) } .neve-main > .single-post-container .nv-sidebar-wrap{ max-width: 30%; } .nv-meta-list{ --avatarsize: 20px; } .single .nv-meta-list{ --avatarsize: 20px; } .nv-post-cover{ --height: 400px;--padding:60px 40px;--justify: flex-start; --textalign: left; --valign: center; } .nv-post-cover .nv-title-meta-wrap, .nv-page-title-wrap, .entry-header{ --textalign: left; } .nv-is-boxed.nv-title-meta-wrap{ --padding:60px 40px; } .nv-is-boxed.nv-comments-wrap{ --padding:40px; } .nv-is-boxed.comment-respond{ --padding:40px; } .single:not(.single-product), .page{ --c-vspace:0 0 0 0;; } .header-menu-sidebar-bg{ --justify: flex-start; --textalign: left;--flexg: 1;--wrapdropdownwidth: auto; } .header-menu-sidebar{ width: 360px; } .builder-item--logo{ --maxwidth: 120px; --fs: 24px;--padding:10px 0;--margin:0; --textalign: left;--justify: flex-start; } .builder-item--primary-menu{ --spacing: 20px; --height: 25px;--padding:0;--margin:0; --fontsize: 1em; --lineheight: 1.6; --letterspacing: 0px; --iconsize: 1em; } .builder-item--footer-menu{ --spacing: 20px; --height: 25px;--padding:0;--margin:0; --fontsize: 1em; --lineheight: 1.6; --letterspacing: 0px; --iconsize: 1em; --textalign: center;--justify: center; } }:root{--nv-primary-accent:#2f5aae;--nv-secondary-accent:#2f5aae;--nv-site-bg:#ffffff;--nv-light-bg:#f4f5f7;--nv-dark-bg:#121212;--nv-text-color:#272626;--nv-text-dark-bg:#ffffff;--nv-c-1:#9463ae;--nv-c-2:#be574b;--nv-fallback-ff:Arial, Helvetica, sans-serif;}
</style>
<link rel="stylesheet" id="neve-google-font-red-hat-display-css" href="//fonts.googleapis.com/css?family=Red+Hat+Display%3A400%2C500&amp;display=swap&amp;ver=3.8.11" media="all">
<link rel="stylesheet" id="neve-google-font-lato-css" href="//fonts.googleapis.com/css?family=Lato%3A400%2C700&amp;display=swap&amp;ver=3.8.11" media="all">
<link rel="https://api.w.org/" href="https://randomspotify.com/wp-json/"><link rel="alternate" title="JSON" type="application/json" href="https://randomspotify.com/wp-json/wp/v2/pages/285"><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://randomspotify.com/xmlrpc.php?rsd">
<meta name="generator" content="WordPress 6.6.2">
<link rel="shortlink" href="https://randomspotify.com/">
<link rel="alternate" title="oEmbed (JSON)" type="application/json+oembed" href="https://randomspotify.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Frandomspotify.com%2F">
<link rel="alternate" title="oEmbed (XML)" type="text/xml+oembed" href="https://randomspotify.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Frandomspotify.com%2F&amp;format=xml">
		<script type="text/javascript">
				(function(c,l,a,r,i,t,y){
					c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};t=l.createElement(r);t.async=1;
					t.src="https://www.clarity.ms/tag/"+i+"?ref=wordpress";y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
				})(window, document, "clarity", "script", "op0e5trjac");
		</script>
		<!--Customizer CSS--> 
<style type="text/css">
</style> 
<!--/Customizer CSS-->
<link rel="icon" type="image/png" href="/wp-content/uploads/fbrfg/favicon-48x48.png" sizes="48x48">
<link rel="icon" type="image/svg+xml" href="/wp-content/uploads/fbrfg/favicon.svg">
<link rel="shortcut icon" href="/wp-content/uploads/fbrfg/favicon.ico">
<link rel="apple-touch-icon" sizes="180x180" href="/wp-content/uploads/fbrfg/apple-touch-icon.png">
<meta name="apple-mobile-web-app-title" content="Random Spotify">
<link rel="manifest" href="/wp-content/uploads/fbrfg/site.webmanifest"><link rel="icon" href="https://randomspotify.com/wp-content/uploads/2024/10/cropped-Random-Spotify-Fav-32x32.png" sizes="32x32">
<link rel="icon" href="https://randomspotify.com/wp-content/uploads/2024/10/cropped-Random-Spotify-Fav-192x192.png" sizes="192x192">
<link rel="apple-touch-icon" href="https://randomspotify.com/wp-content/uploads/2024/10/cropped-Random-Spotify-Fav-180x180.png">
<meta name="msapplication-TileImage" content="https://randomspotify.com/wp-content/uploads/2024/10/cropped-Random-Spotify-Fav-270x270.png">
		<style id="wp-custom-css">
			/* Importing a modern font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Set a base font style for the entire container */
.container {
    font-family: 'Red Hat Display', sans-serif; /* Using Montserrat for a modern look */
}

/* Filter Container Styles */
.filter-container {
    display: flex;
    justify-content: space-between;
	  margin-bottom: 20px;
}

/* Select Element Styles */
select {
    padding: 12px 16px; /* Slightly larger padding for a modern look */
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fafafa;
    font-size: 14px; /* Adjusted for a more modern size */
    font-weight: 500; /* Medium weight for better visibility */
    transition: border 0.3s;
    flex: 1;
    margin: 0 5px; /* Space between selects */
}

select:focus {
    border-color: #1DB954; /* Spotify green */
    outline: none;
}

/* Button Styles */

#generateBtn {
    padding: 12px 20px; /* Slightly larger padding */
    border: none;
    border-radius: 50px; /* Full rounded edges */
    font-size: 16px; /* Maintain size for emphasis */
    cursor: pointer;
    color: white;
    background: linear-gradient(to bottom, #20DA9C, #1ED760); /* Gradient from top to bottom */
    transition: background 0.3s, transform 0.2s; /* Adjusted transition to include gradient */
    display: flex; /* Use flex to center text */
    justify-content: center; /* Center text horizontally */
    align-items: center; /* Center text vertically */
}


button:hover {
    background-color: #1aa34a; /* Darker green on hover */
    transform: scale(1.05); /* Slight scaling effect for better interactivity */
}

/* Streaming Button Styles */
.streaming-buttons {
    display: flex;
    justify-content: center; /* Center the contents horizontally */
    align-items: center; /* Center the contents vertically */
    gap: 10px; /* Space between the icon and text */
    font-weight: 400;
    border-radius: 50px; /* Full rounded edges */
    border: none; /* Remove default button border */
    cursor: pointer; /* Change cursor on hover */
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    max-width: 100%; /* Ensure buttons don't exceed container width */
}

.streaming-buttons img {
    width: 20px; /* Increase icon size */
    height: 20px; /* Increase icon size */
}

.streaming-buttons a {
    text-decoration: none;
}


/* Song Info Styles */
#songInfo {
    margin: 20px 0; /* Same margin above and below the song info */
    padding: 20px; /* Increased padding for song info */
    background-color: #fafafa;
    border-radius: 4px; /* Rounded corners */
    border: 1px solid #e0e0e0;
    text-align: center; /* Center text in song info */
}

/* Song Detail Styles */
.song-detail {
    margin: 10px 0; /* Increased margin for song details */
    font-size: 16px; /* Slightly larger for readability */
    font-weight: 400; /* Normal weight */
}

/* Album Cover Styles */
#albumCover {
    width: 100%; /* Make it responsive */
    max-width: 350px; /* Set a max width for the album cover */
    height: auto; /* Maintain aspect ratio */
}

/* Loading Spinner */
.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #1ED760;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

/* Preview Styles */
audio {
    margin: 10px auto; /* Center audio player */
    display: block; /* Ensures it behaves as a block element */
	  margin-top: 20px;
	  margin-bottom: 30px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Song Info Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px); /* Slide in from above */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* End at the normal position */
    }
}

#songInfo {
    animation: fadeIn 0.5s ease forwards; /* Apply fadeIn animation */
    display: none; /* Initially hidden, will be shown in JS */
}

#genreSelect {
	font-family:'Red Hat Display', sans-serif;
}

#popularitySelect {
	font-family:'Red Hat Display', sans-serif;
}

.hfg_header.site-header {
    box-shadow: none;
}		</style>
		<style id="yellow-pencil">
/*
	The following CSS codes are created by the YellowPencil plugin.
	https://yellowpencil.waspthemes.com/
*/
#generateBtn{text-transform:uppercase;font-weight:500;padding-left:40px;padding-right:40px;padding-top:12px;padding-bottom:12px;font-size:15px;}#streamingBtn{padding-left:35px;padding-right:35px;font-size:17px;}#header-grid a img{min-width:350px;max-width:100%;}.nv-single-page-wrap h3.wp-block-heading{margin-top:30px;}@media (max-width:400px){#header-grid a img{min-width:300px;}}@media (max-width:350px){#header-grid a img{min-width:220px;}#generateBtn{font-size:12px;padding-right:20px;padding-left:20px;}#genreSelect{font-size:10px;padding-left:11px;padding-right:16px !important;}#popularitySelect{font-size:10px;padding-left:11px;padding-right:16px !important;}}
</style>
	<script src="https://randomspotify.com/wp-includes/js/wp-emoji-release.min.js?ver=6.6.2" defer=""></script></head>

<body class="home page-template-default page page-id-285 non-logged-in  nv-blog-grid nv-sidebar-full-width nv-without-title menu_sidebar_slide_left" id="neve_body">
<div class="wrapper">
	
	<header class="header">
		<a class="neve-skip-link show-on-focus" href="#content">
			Skip to content		</a>
		<div id="header-grid" class="hfg_header site-header">
	
<nav class="header--row header-main hide-on-mobile hide-on-tablet layout-full-contained nv-navbar has-center header--row" data-row-id="main" data-show-on="desktop">

	<div class="header--row-inner header-main-inner">
		<div class="container">
			<div class="row row--wrapper" data-section="hfg_header_layout_main">
				<div class="hfg-slot left"></div><div class="hfg-slot center"><div class="builder-item desktop-left"><div class="item--inner builder-item--logo" data-section="title_tagline" data-item-id="logo">
	
<div class="site-logo">
	<a class="brand" href="https://randomspotify.com/" title="← Random Spotify" aria-label="Random Spotify Discover Music Based on Genre &amp; Popularity" rel="home"><img width="2101" height="385" src="https://randomspotify.com/wp-content/uploads/2024/10/Random-Spotify.svg" class="neve-site-logo skip-lazy" alt="" data-variant="logo" decoding="async" fetchpriority="high"></a></div>
	</div>

</div></div><div class="hfg-slot right"></div>							</div>
		</div>
	</div>
</nav>


<nav class="header--row header-main hide-on-desktop layout-full-contained nv-navbar has-center header--row" data-row-id="main" data-show-on="mobile">

	<div class="header--row-inner header-main-inner">
		<div class="container">
			<div class="row row--wrapper" data-section="hfg_header_layout_main">
				<div class="hfg-slot left"></div><div class="hfg-slot center"><div class="builder-item tablet-left mobile-left"><div class="item--inner builder-item--logo" data-section="title_tagline" data-item-id="logo">
	
<div class="site-logo">
	<a class="brand" href="https://randomspotify.com/" title="← Random Spotify" aria-label="Random Spotify Discover Music Based on Genre &amp; Popularity" rel="home"><img width="2101" height="385" src="https://randomspotify.com/wp-content/uploads/2024/10/Random-Spotify.svg" class="neve-site-logo skip-lazy" alt="" data-variant="logo" decoding="async"></a></div>
	</div>

</div></div><div class="hfg-slot right"></div>							</div>
		</div>
	</div>
</nav>

<div id="header-menu-sidebar" class="header-menu-sidebar tcb menu-sidebar-panel slide_left hfg-pe" data-row-id="sidebar">
	<div id="header-menu-sidebar-bg" class="header-menu-sidebar-bg">
				<div class="close-sidebar-panel navbar-toggle-wrapper">
			<button type="button" class="hamburger is-active  navbar-toggle active" value="Navigation Menu" aria-label="Navigation Menu " aria-expanded="false" onclick="if('undefined' !== typeof toggleAriaClick ) { toggleAriaClick() }">
								<span class="bars">
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</span>
								<span class="screen-reader-text">
			Navigation Menu					</span>
			</button>
		</div>
					<div id="header-menu-sidebar-inner" class="header-menu-sidebar-inner tcb ">
						<div class="builder-item has-nav"><div class="item--inner builder-item--primary-menu has_menu" data-section="header_menu_primary" data-item-id="primary-menu">
	<div class="nv-nav-wrap">
	<div role="navigation" class="nav-menu-primary" aria-label="Primary Menu">

		<ul id="nv-primary-navigation-sidebar" class="primary-menu-ul nav-ul"><li class="page_item page-item-285 current_page_item"><a href="https://randomspotify.com/" aria-current="page">Homepage</a></li><li class="page_item page-item-299"><a href="https://randomspotify.com/privacy-policy/">Privacy Policy</a></li><li class="page_item page-item-297"><a href="https://randomspotify.com/terms-of-use/">Terms of Use</a></li></ul>	</div>
</div>

	</div>

</div>					</div>
	</div>
</div>
<div class="header-menu-sidebar-overlay hfg-ov hfg-pe" onclick="if('undefined' !== typeof toggleAriaClick ) { toggleAriaClick() }"></div>
</div>
	</header>

	<style>.is-menu-sidebar .header-menu-sidebar { visibility: visible; }.is-menu-sidebar.menu_sidebar_slide_left .header-menu-sidebar { transform: translate3d(0, 0, 0); left: 0; }.is-menu-sidebar.menu_sidebar_slide_right .header-menu-sidebar { transform: translate3d(0, 0, 0); right: 0; }.is-menu-sidebar.menu_sidebar_pull_right .header-menu-sidebar, .is-menu-sidebar.menu_sidebar_pull_left .header-menu-sidebar { transform: translateX(0); }.is-menu-sidebar.menu_sidebar_dropdown .header-menu-sidebar { height: auto; }.is-menu-sidebar.menu_sidebar_dropdown .header-menu-sidebar-inner { max-height: 400px; padding: 20px 0; }.is-menu-sidebar.menu_sidebar_full_canvas .header-menu-sidebar { opacity: 1; }.header-menu-sidebar .menu-item-nav-search:not(.floating) { pointer-events: none; }.header-menu-sidebar .menu-item-nav-search .is-menu-sidebar { pointer-events: unset; }.nav-ul li:focus-within .wrap.active + .sub-menu { opacity: 1; visibility: visible; }.nav-ul li.neve-mega-menu:focus-within .wrap.active + .sub-menu { display: grid; }.nav-ul li > .wrap { display: flex; align-items: center; position: relative; padding: 0 4px; }.nav-ul:not(.menu-mobile):not(.neve-mega-menu) > li > .wrap > a { padding-top: 1px }</style>

	
	<main id="content" class="neve-main">

<div class="container single-page-container">
	<div class="row">
				<div class="nv-single-page-wrap col">
			<div class="nv-content-wrap entry-content">
<center>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&amp;display=swap" rel="stylesheet">
<div class="container">
    <div class="filter-container">
        <!-- Genre Filter -->
        <select aria-label="Genre" id="genreSelect">
            <option value="">Any Genre</option>
            <option value="pop">Pop</option>
            <option value="rock">Rock</option>
            <option value="hip-hop">Hip Hop</option>
            <option value="electronic">Electronic</option>
            <option value="classical">Classical</option>
            <option value="jazz">Jazz</option>
            <option value="country">Country</option>
            <option value="r-n-b">R&amp;B</option>
            <option value="indie">Indie</option>
            <option value="metal">Metal</option>
            <option value="folk">Folk</option>
            <option value="blues">Blues</option>
            <option value="reggae">Reggae</option>
            <option value="latin">Latin</option>
        </select>

        <!-- Popularity Filter -->
        <select aria-label="Popularity" id="popularitySelect">
            <option value="any">Any Popularity</option>
            <option value="low">Low (0-33)</option>
            <option value="medium">Medium (34-66)</option>
            <option value="high">High (67-100)</option>
        </select>
    </div>
    <button class="generate-button" id="generateBtn">Generate Random Song</button>
    
    <!-- Song Information Container with Streaming Buttons Inside -->
    <div id="songInfo" style="display: none;"></div> <!-- Hide initially -->
</div>
</center>

<script>
    async function getRandomSong(genre, popularityTier) {
        try {
            const response = await fetch(`/wp-json/spotify/v1/random-song?genre=${genre}&popularity=${popularityTier}`);
            if (!response.ok) throw new Error('Failed to retrieve song');

            const song = await response.json();
            if (song.message) {
                return null; // No song found
            }
            return song; // Return the song object
        } catch (error) {
            console.error('Error fetching random song:', error);
            return null; // Return null on error
        }
    }

    async function fetchAndDisplaySong() {
        const songInfo = document.getElementById('songInfo');
        songInfo.innerHTML = '<div class="loading-spinner"></div>';
        songInfo.style.display = 'block'; // Show song info immediately

        const genre = document.getElementById('genreSelect').value;
        const popularityTier = document.getElementById('popularitySelect').value;

        let song = null;
        let attempts = 0;

        // Try to fetch a song, retrying up to 3 times if necessary
        while (attempts < 3) {
            song = await getRandomSong(genre, popularityTier);
            if (song) break;
            attempts++;
        }

        if (song) {
            songInfo.innerHTML = `
                <a href="${song.track_url}" target="_blank">
                    <img decoding="async" id="albumCover" src="${song.album_cover_url}" alt="${song.album} cover">
                </a>
                <p class="song-detail"><strong>Name:</strong> <a href="${song.track_url}" target="_blank">${song.name}</a></p>
                <p class="song-detail"><strong>Artist:</strong> <a href="${song.artist_url}" target="_blank">${song.artist}</a></p>
                <p class="song-detail"><strong>Album:</strong> <a href="${song.album_url}" target="_blank">${song.album}</a></p>
                ${song.preview_url ? `<audio controls src="${song.preview_url}"></audio>` : '<p style="margin-top: 20px;">No preview available.</p>'}
                <div class="streaming-buttons" id="streamingButtons">
                    <a href="${song.track_url}" target="_blank">
                        <button class="streaming-buttons" id="streamingBtn" style="background-color:#1ED760">
                            <img decoding="async" src="https://randomspotify.com/wp-content/uploads/2024/10/Spotify.svg" alt="Spotify Icon" />
                            Listen on Spotify
                        </button>
                    </a>
                    <a href="https://www.youtube.com/results?search_query=${encodeURIComponent(song.artist + " - " + song.name)}" target="_blank">
                        <button class="streaming-buttons" id="streamingBtn" style="background-color:#E52736">
                            <img decoding="async" src="https://randomspotify.com/wp-content/uploads/2024/10/YouTube.svg" alt="YouTube Icon" />
                            Listen on YouTube
                        </button>
                    </a>
                </div>
            `;
        } else {
            songInfo.innerHTML = 'No song found matching the criteria. Trying again...';
            setTimeout(() => fetchAndDisplaySong(), 1000);
        }
    }

    document.getElementById('generateBtn').addEventListener('click', fetchAndDisplaySong);
</script>



<h3 class="wp-block-heading">Discover New Music with The Random Song Generator</h3>



<p>Welcome to the <strong>Random Spotify</strong>, your go-to platform for exploring a vast array of music tailored to your preferences! In today’s fast-paced digital world, finding the right song for every occasion can often feel like searching for a needle in a haystack. That’s where our innovative tool comes in, seamlessly integrating with the <strong>Spotify API</strong> to deliver a unique and personalized song selection experience.</p>



<h4 class="wp-block-heading">How It Works</h4>



<p>The Random Spotify operates on a simple yet effective premise: it allows you to filter songs based on <strong>Genre</strong> and <strong>Popularity</strong>. This flexibility means you can easily discover tracks that resonate with your mood, setting, or even a specific event.</p>



<p><strong>Genre Filter</strong>: With an extensive selection of genres at your fingertips, you can navigate through musical landscapes ranging from:</p><ul><li><strong>Pop</strong>: Catchy tunes that dominate the charts.</li><li><strong>Rock</strong>: Classic anthems and new hits that define generations.</li><li><strong>Hip-Hop</strong>: Beats and rhymes that reflect culture and creativity.</li><li><strong>Electronic</strong>: Pulsating rhythms perfect for dance floors.</li><li><strong>Classical</strong>: Timeless compositions that inspire and soothe.</li><li><strong>Jazz</strong>: Smooth improvisations that evoke emotion and elegance.</li><li><strong>Country</strong>: Storytelling songs that capture life experiences.</li><li><strong>R&amp;B</strong>: Soulful melodies that move the heart.</li><li><strong>Indie</strong>: Unique sounds from emerging artists.</li><li><strong>Metal</strong>: High-energy tracks for adrenaline seekers.</li><li><strong>Folk</strong>: Acoustic songs that tell powerful stories.</li><li><strong>Blues</strong>: Deeply expressive music that resonates with human experience.</li><li><strong>Reggae</strong>: Laid-back vibes that transport you to sunny shores.</li><li><strong>Latin</strong>: Rhythmic beats that get you dancing.</li></ul>Whether you’re feeling adventurous or in the mood for nostalgia, our genre filter allows you to tailor your search. If you’d rather keep your options open, simply select “Any Genre” to uncover a delightful mix of music that might surprise you.<p></p>



<p><strong>Popularity Filter</strong>: Our popularity filter enhances your discovery journey by enabling you to choose songs based on their current standing:</p>



<ul class="wp-block-list">
<li><strong>Low (0-33)</strong>: Ideal for discovering underground artists and hidden gems, these tracks may not yet be on everyone’s radar, offering a fresh listening experience.</li>



<li><strong>Medium (34-66)</strong>: This category strikes a balance between popular hits and lesser-known songs, ensuring you get a variety of music that’s moderately recognized.</li>



<li><strong>High (67-100)</strong>: If you want to keep up with the latest trends, this option provides you with the biggest hits and chart-toppers, perfect for any party or gathering.</li>
</ul>



<p>Once you make your selections, simply hit the <strong>“Generate Random Song”</strong> button. The program utilizes asynchronous requests to the Spotify API to retrieve relevant song data, which includes detailed information about the track, artist, album, and eye-catching album cover.</p>



<h4 class="wp-block-heading">Useful Features</h4>



<ul class="wp-block-list">
<li><strong>Song Details and Streaming Links</strong>: After generating a song, you’ll receive comprehensive details displayed neatly on the screen. This includes the song’s name, artist, and album, all with direct links to listen on Spotify or YouTube. You can dive deeper into the music by accessing artist profiles or albums with just one click, facilitating a richer exploration of your newfound favorites.</li>



<li><strong>Audio Preview</strong>: For songs that offer a preview, you can listen to a short clip right on the page. This feature is incredibly valuable for those moments when you’re unsure about a track and want to get a feel for it before diving into a full listen. It adds a layer of engagement, allowing you to connect with the music instantly.</li>



<li><strong>Retry Mechanism</strong>: We understand that sometimes the first search might not yield a suitable result. That’s why our generator features a built-in retry mechanism. If a song doesn’t match your criteria, the program will automatically attempt to fetch a new song up to three times. This ensures a seamless user experience, reducing frustration and keeping the music flowing.</li>
</ul>



<h4 class="wp-block-heading">Why Use the Random Spotify?</h4>



<p>In an age where music is abundant yet often overwhelming, the Random Spotify offers a refreshing solution to discovering your next favorite track. Here are several compelling reasons to make this tool a staple in your music exploration routine:</p>



<ul class="wp-block-list">
<li><strong>Tailored Experience</strong>: Personalization is key in today’s digital landscape. The Random Spotify allows you to curate your musical experience by selecting genres and popularity levels that resonate with you. This level of customization ensures that every song generated is aligned with your unique tastes.</li>



<li><strong>Encouragement to Explore</strong>: The generator isn’t just about listening to what you already love; it’s about pushing the boundaries of your musical horizons. By exposing you to different genres and artists, the tool encourages you to step outside your comfort zone and explore sounds you may not have considered before. This can lead to unexpected discoveries that enrich your playlist.</li>



<li><strong>Saves Time</strong>: Searching for new music can be a time-consuming process. With the Random Spotify, you can quickly find songs that suit your preferences without having to sift through endless lists. This efficiency allows you to spend more time enjoying music rather than searching for it.</li>



<li><strong>Ideal for All Occasions</strong>: Whether you’re hosting a party, relaxing at home, or working on a creative project, the Random Spotify is perfect for setting the right mood. It can provide you with the perfect soundtrack for any situation, making it a versatile tool in your music arsenal.</li>



<li><strong>Community Engagement</strong>: As you explore new music, you may discover artists and tracks that resonate with your friends and family. Sharing your finds can spark conversations, leading to deeper connections through shared musical experiences. The tool can serve as a conversation starter, making gatherings more lively and engaging.</li>



<li><strong>Educational Value</strong>: For music enthusiasts and aspiring musicians alike, the Random Spotify can serve as an educational tool. By exposing users to different genres and styles, it can foster a deeper appreciation for music theory, composition, and cultural influences within music.</li>
</ul>



<p>In summary, the <strong>Random Spotify</strong> is not just a tool; it’s a gateway to discovering new sounds, connecting with artists, and expanding your musical library. It transforms the way you interact with music, making exploration easy, enjoyable, and personalized. Dive into the world of sound and let the magic of music unfold with each click. Whether you’re looking for inspiration, a party anthem, or simply want to explore the depths of Spotify’s vast library, this tool is here to guide you. Start your journey today and uncover the endless possibilities of music!</p>
</div>		</div>
			</div>
</div>

</main><!--/.neve-main-->

<footer class="site-footer" id="site-footer">
	<div class="hfg_footer">
		<div class="footer--row footer-bottom hide-on-mobile hide-on-tablet layout-full-contained" id="cb-row--footer-desktop-bottom" data-row-id="bottom" data-show-on="desktop">
	<div class="footer--row-inner footer-bottom-inner footer-content-wrap">
		<div class="container">
			<div class="hfg-grid nv-footer-content hfg-grid-bottom row--wrapper row " data-section="hfg_footer_layout_bottom">
				<div class="hfg-slot left"></div><div class="hfg-slot c-left"><div class="builder-item desktop-center tablet-center mobile-center"><div class="item--inner builder-item--footer-menu has_menu" data-section="footer_menu_primary" data-item-id="footer-menu">
	<div class="component-wrap">
	<div role="navigation" class="nav-menu-footer" aria-label="Footer Menu">

		<ul id="footer-menu" class="footer-menu nav-ul"><li class="page_item page-item-285 current_page_item"><a href="https://randomspotify.com/" aria-current="page">Homepage</a></li>
<li class="page_item page-item-299"><a href="https://randomspotify.com/privacy-policy/">Privacy Policy</a></li>
<li class="page_item page-item-297"><a href="https://randomspotify.com/terms-of-use/">Terms of Use</a></li>
</ul>
	</div>
</div>

	</div>

</div></div><div class="hfg-slot center"></div>							</div>
		</div>
	</div>
</div>

<div class="footer--row footer-bottom hide-on-desktop layout-full-contained" id="cb-row--footer-mobile-bottom" data-row-id="bottom" data-show-on="mobile">
	<div class="footer--row-inner footer-bottom-inner footer-content-wrap">
		<div class="container">
			<div class="hfg-grid nv-footer-content hfg-grid-bottom row--wrapper row " data-section="hfg_footer_layout_bottom">
				<div class="hfg-slot left"></div><div class="hfg-slot c-left"><div class="builder-item desktop-center tablet-center mobile-center"><div class="item--inner builder-item--footer-menu has_menu" data-section="footer_menu_primary" data-item-id="footer-menu">
	<div class="component-wrap">
	<div role="navigation" class="nav-menu-footer" aria-label="Footer Menu">

		<ul id="footer-menu" class="footer-menu nav-ul"><li class="page_item page-item-285 current_page_item"><a href="https://randomspotify.com/" aria-current="page">Homepage</a></li>
<li class="page_item page-item-299"><a href="https://randomspotify.com/privacy-policy/">Privacy Policy</a></li>
<li class="page_item page-item-297"><a href="https://randomspotify.com/terms-of-use/">Terms of Use</a></li>
</ul>
	</div>
</div>

	</div>

</div></div><div class="hfg-slot center"></div>							</div>
		</div>
	</div>
</div>

	</div>
</footer>

</div><!--/.wrapper-->
<script id="neve-script-js-extra">
var NeveProperties = {"ajaxurl":"https:\/\/randomspotify.com\/wp-admin\/admin-ajax.php","nonce":"9255a6d48d","isRTL":"","isCustomize":""};
</script>
<script src="https://randomspotify.com/wp-content/themes/neve/assets/js/build/modern/frontend.js?ver=3.8.11" id="neve-script-js" async=""></script>
<script id="neve-script-js-after">
	var html = document.documentElement;
	var theme = html.getAttribute('data-neve-theme') || 'light';
	var variants = {"logo":{"light":{"src":"https:\/\/randomspotify.com\/wp-content\/uploads\/2024\/10\/Random-Spotify.svg","srcset":false,"sizes":""},"dark":{"src":"https:\/\/randomspotify.com\/wp-content\/uploads\/2024\/10\/Random-Spotify.svg","srcset":false,"sizes":""},"same":true}};

	function setCurrentTheme( theme ) {
		var pictures = document.getElementsByClassName( 'neve-site-logo' );
		for(var i = 0; i<pictures.length; i++) {
			var picture = pictures.item(i);
			if( ! picture ) {
				continue;
			};
			var fileExt = picture.src.slice((Math.max(0, picture.src.lastIndexOf(".")) || Infinity) + 1);
			if ( fileExt === 'svg' ) {
				picture.removeAttribute('width');
				picture.removeAttribute('height');
				picture.style = 'width: var(--maxwidth)';
			}
			var compId = picture.getAttribute('data-variant');
			if ( compId && variants[compId] ) {
				var isConditional = variants[compId]['same'];
				if ( theme === 'light' || isConditional || variants[compId]['dark']['src'] === false ) {
					picture.src = variants[compId]['light']['src'];
					picture.srcset = variants[compId]['light']['srcset'] || '';
					picture.sizes = variants[compId]['light']['sizes'];
					continue;
				};
				picture.src = variants[compId]['dark']['src'];
				picture.srcset = variants[compId]['dark']['srcset'] || '';
				picture.sizes = variants[compId]['dark']['sizes'];
			};
		};
	};

	var observer = new MutationObserver(function(mutations) {
		mutations.forEach(function(mutation) {
			if (mutation.type == 'attributes') {
				theme = html.getAttribute('data-neve-theme');
				setCurrentTheme(theme);
			};
		});
	});

	observer.observe(html, {
		attributes: true
	});
</script>



</body></html>