podgrab icon indicating copy to clipboard operation
podgrab copied to clipboard

Podgrab Cannot Grab Podcast Episodes with Titles Past a Certain Length

Open ghost opened this issue 3 years ago • 6 comments

Please complete the following information

  • Installation Type: Docker
  • Have you tried using the latest docker image / code base: yes

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.

ghost avatar Apr 09 '22 06:04 ghost

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.

zerojay avatar Apr 09 '22 06:04 zerojay

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: @.***>

akhilrex avatar Apr 09 '22 07:04 akhilrex

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

zerojay avatar Apr 10 '22 02:04 zerojay

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.

akhilrex avatar Apr 25 '22 10:04 akhilrex

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

zerojay avatar Apr 25 '22 10:04 zerojay