SamTV12345 / PodFetch

A sleek and efficient podcast downloader.
https://samtv12345.github.io/PodFetch
Apache License 2.0
347 stars 25 forks source link

Playback fails in some formats #105

Closed uGeek closed 1 year ago

uGeek commented 1 year ago

Describe the bug

The audio player fails depending on the codec. For example, the podcast from http://www.rtve.es/api/programas/1881/audios.rss which is from RTVE, Spanish public television and radio, fails and does not play it. I have a script that converts youtube videos to mp3 audio with youtube-dl, then I convert them into a podcast with feed and it still doesn’t play them. I have to select the download option to listen to it.

Reproduction

-

System Info

linux,browsers

Used Package Manager

npm

Validations

SamTV12345 commented 1 year ago

The problem is on their end. They don't allow streaming of a podcast from their servers. I do a streaming request from the backend to their servers. Servers can deny this and return in that case a bad request signalizing that they don't support this. In that case you can only download it from their servers first because they can't deny that.

SamTV12345 commented 1 year ago

I fixed that. The only big concern could be that you do a direct request from your phone to the podcast Hoster. So they know your IP address.

uGeek commented 1 year ago

Now to be able to reproduce it I had to do it like this, hit download and from the browser to direct playback

SamTV12345 commented 1 year ago

Which image do you use? Arm64/Amd64?

uGeek commented 1 year ago

Which image do you use? Arm64/Amd64?

ARM64 on a Raspberry Pi 4 with Manjaro

uGeek commented 1 year ago

image

I don't know if it's the ARM64 version but I get many errors.

image

Feed local: image

SamTV12345 commented 1 year ago

Weird. I can view this podcast. How did you add it? Via RSS or iTunes?

uGeek commented 1 year ago

rss, but it happens with absolutely all podcasts. No feed is generated correctly.

I just saw the update to sort by published podcast etc...(It's fantastic!!!) but it only works on AMD64, on ARM64 it doesn't download the latest image. I am doing tests with the 2 architectures

uGeek commented 1 year ago

The local feed thing is an ARM64 problem, I just confirmed it. Although I am comparing the latest AMD64 image from 2 hours ago samuel19982/podfetch:latest 50.4MB to the ARM64 image 2 days ago samuel19982/podfetch:latest 46.6MB

In this latest version of docker for AMD64 it works perfect

uGeek commented 1 year ago

The problem of the images of the episode in the player when maximizing is not seen on ARM64 or AMD64

SamTV12345 commented 1 year ago

Does it work now again?

uGeek commented 1 year ago

Normally the image is not downloaded for arm64?

uGeek commented 1 year ago

I have put the dev version for arm64 and the filtering works for me, but it is not updated to the latest. It would be nice if when you sort the podcast list, the last chosen order is saved

SamTV12345 commented 1 year ago

👍🏻 Makes sense. I'll open up an issue.