fix breaking enquque and typo

pull/76/head
Akhil Gupta 4 years ago
parent 1c19b89df3
commit c644e5cfee

@ -56,7 +56,7 @@ It works best if you already know which podcasts you want to monitor. However th
### Motivation
Podgrab started as a tool that I initially built to solve a specific problem I had. During the COVID pandemic times I started going for a run. I do not prefer taking by phone along so I would add podcast episodes to my smart watch which could be connected with my bluetooth earphones. Most podcasting apps do not expose the mp3 files directly which is why I decided to build this quick tool for myself. Once it reached a stage where my requirements were fulfilled I decided to make it a little pretty and share it with everyone else.
Podgrab started as a tool that I initially built to solve a specific problem I had. During the COVID pandemic times I started going for a run. I do not prefer taking my phone along so I would add podcast episodes to my smart watch which could be connected with my bluetooth earphones. Most podcasting apps do not expose the mp3 files directly which is why I decided to build this quick tool for myself. Once it reached a stage where my requirements were fulfilled I decided to make it a little pretty and share it with everyone else.
![Product Name Screen Shot][product-screenshot]
[More Screenshots](Screenshots.md)

@ -163,13 +163,13 @@
{{end}} {{end}} {{end }}
<a
class="button button"
onclick="openPlayer('{{.ID}}')"
onclick="openPlayer(['{{.ID}}'])"
title="Play Episode"
><i class="fas fa-play"></i
></a>
<a
class="button button-enqueue"
onclick="enqueueEpisode('{{.ID}}')"
onclick="enqueueEpisode(['{{.ID}}'])"
title="Add Episode to existing player playlist"
><i class="fas fa-plus"></i
></a>
@ -374,7 +374,7 @@
if(!socket){
return
}
socket.send(getWebsocketMessage("Enqueue",`{"itemId":"${id}"}`))
socket.send(getWebsocketMessage("Enqueue",`{"itemIds":${JSON.stringify(id)}}`))
}
function enquePodcast(id){
if(!socket){

Loading…
Cancel
Save