akhilrex / podgrab

A self-hosted podcast manager/downloader/archiver tool to download podcast episodes as soon as they become live with an integrated player.
GNU General Public License v3.0
1.55k stars 88 forks source link

Podgrab Cannot Grab Podcast Episodes with Titles Past a Certain Length #203

Open zerojay opened 2 years ago

zerojay commented 2 years ago

Please complete the following information

Describe the bug If an episode title is long enough, Podgrab will refuse to download the episode without any errors output.

To Reproduce Steps to reproduce the behavior:

  1. Add the DEADLOCK podcast to your list of podcasts: https://pinecast.com/feed/deadlock-a-pro-wrestling-podca
  2. Click on the button to have all podcast episodes downloaded.
  3. Check data directory for DEADLOCK podcast for files.

Expected behavior Episodes with titles past a certain length won't be downloaded. In the case of DEADLOCK, the most recent episode that is downloadable is 132, but there are 4 more episodes after it, all with longer titles. Deleting and readding the podcast has no effect, nor does stopping and restarting the docker container.

zerojay commented 2 years ago

Looks like the length limit is somewhere between 238 and 250 characters in length for the episode titles. Anything more than that and the episode will fail to download.

akhilrex commented 2 years ago

This is weird. Will check.

Thanks and Regards

Akhil Gupta

On Sat, 9 Apr 2022, 12:07 pm zerojay, @.***> wrote:

Looks like the length limit is somewhere between 238 and 250 characters in length for the episode titles. Anything more than that and the episode will fail to download.

— Reply to this email directly, view it on GitHub https://github.com/akhilrex/podgrab/issues/203#issuecomment-1093745523, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEMVPSW7KKX7A7FXBPD4CLVEEQTVANCNFSM5S6PWEQA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

zerojay commented 2 years ago

I think streaming the episodes may work, but downloading does not.

akhilrex commented 2 years ago

This seems to be a max path length restriction set up by OS. I can find windows details here - http://msdn.microsoft.com/en-us/library/aa365247.aspx

The one solution could be to assign it a random name or truncation.

Let me see what can be done.

zerojay commented 2 years ago

I am not running under Windows. I am running the official docker image under Ubuntu 21.10 on my server.

Ruthalas commented 3 months ago

I also experience this issue. Some episodes have too long a length to be saved. Could we simply have a numerical field in the settings page to set a length past which to truncate?

(Edit: I am also running the docker.)