+ {#each Array(6) as _, i}
+
+ {:else if episodes.length === 0}
+
+
+
+ {/each}
+
+
+
+
+
+
+
+ {:else}
+ {shows.length === 0 ? 'No podcasts yet. Add a show to get started.' : 'No episodes found.'}
+
+ {#each episodes as ep (ep.id)}
+ {@const art = artworkFor(ep)}
+ {@const pct = progressPct(ep)}
+
+ {/if}
+
+
+
+
+ {/each}
+ playEpisode(ep)} role="button" tabindex="0" onkeydown={(e) => { if (e.key === 'Enter') playEpisode(ep); }}>
+
+
+
+ {ep.title}
+ {#if !selectedShowId}
+ {ep.show_title}
+ {/if}
+
+
+ {#if ep.status === 'in-progress' && pct > 0}
+
+ {/if}
+
+
+
+
+