gpodder / gpodder

The gPodder podcast client.
http://gpodder.org/
GNU General Public License v3.0
1.28k stars 204 forks source link

Youtube downloads are now failing with HTTP Error 403 Forbidden #1634

Open marcushall42 opened 3 months ago

marcushall42 commented 3 months ago

This appears to have started on Saturday, 15 June. Using the github head.

It appears that youtube-dl can download the video, so it isn't insurmountable.

(Perhaps it's time to at least allow invoking youtube-dl to download files?)

auouymous commented 3 months ago

Youtube made another push several days to shut down third-party clients. There is a UI in preferences to always use the extension for Youtube downloads.

Download all supported episodes with youtube-dl
marcushall42 commented 3 months ago

Indeed there is. Thanks!

BobViolence commented 3 months ago

I suspect my GPodder is not using youtube-dl.

I have the following options set, and after updating feeds, the YouTube episodes still fail with the 403 error. Also do not see the option to download with youtube-dl in the episode menu if the option is disabled.

How do I verify that youtube-dl is installed and working on Windows?

Screenshot 2024-06-19 065922

Screenshot 2024-06-19 065950

auouymous commented 3 months ago

The top of the second screenshot shows you have yt-dlp working. But you are probably one of the lucky few who Youtube has selected to test their experiment on first. yt-dlp and youtube-dl have reports that web formats are resulting in 403 errors, which might be 22 and 18. The problem is that gpodder prioritizes those two formats over the DASH formats of same resolution. If you use custom formats, just remove those two values, or move them after the DASH fomats (they have a + between two numbers: 136+140). If not, you will need to manually set youtube.preferred_fmt_id to 0 and youtube.preferred_fmt_ids to 136+140,135+140. If you want higher resolutions or webm, you will need to get the values from https://github.com/gpodder/gpodder/blob/master/src/gpodder/youtube.py#L59-L74. It scans the list from left to right, looking for the first available format.

BobViolence commented 3 months ago

Appreciate the info.

Before I altered any of those settings, I restarted GPodder, and the error changed from 403 to the ffmpeg error. I installed ffmpeg, added it to the PATH variable, and everything appears to be working fine now.

I will monitor to see how it goes.

Again, thanks for all you do.

eli-damon commented 3 months ago

Same problem here. I'm using gPodder 3.10.21 on Linux Mint 21.2 Cinnamon.

I tried installing the youtube-dl package and enabling the Youtube-dl gPodder extension, as shown above. I don't see a youtube-dl Preferences tab like the one shown above, and I get a new download error: "Unable to extract uploader id".

Thanks for your hard work.

auouymous commented 3 months ago

What version of youtube-dl did you install? youtube-dl stopped making releases years ago, however, they do still update the code. yt-dlp 2023.02.17 or youtube-dl source after 22jun2023 is required to access youtube due to changes youtube made in early 2023.

gpodder 3.11.0 is required to see youtube-dl preferences and gpodder 3.11.1 is required to show the youtube-dl or yt-dlp version. 3.10.21 will work fine, after you manually set the preferences in edit config, see https://gpodder.github.io/docs/youtube.html.

You will need to figure out how to manually stay current with youtube-dl/yt-dlp or get a non-LTS distro if you want to keep using youtube. They only want us to use the website and will break these tools each time they adapt to changes.

RodRCode commented 3 months ago

I am using gpodder on MacOS. When I modify the preferences, if I set the youtube.preferred_fmt_ids to 136+140,135+140 I get an error. However, ,if I set it to 136 I will get the video. And if I set it to 140 I will get the audio. But again, if I have 136+140 there is an error: "You have requested merging of multiple formats but ffmpeg is not installed" error.

I have ffmpeg installed and it is directory is in my $PATH. Is there something else I need to do to get it to work?

RodRCode commented 3 months ago

I found a fix. I used Visual Studio code, then went to /Applications/gpodder.app/content/resources/share/gpodder/extensions then went to the youtube-dl.py file, then found the first self._ydl_opts declaration section, and manually added a 'ffmpeg_location': 'Where/I/Had/My/FFMPEG/File' line in there. Restarted gpodder, and it was happy now that it knew where ffmpeg was located :)

auouymous commented 3 months ago

@RodRCode Could you try placing the following chunk of code below that self._ydl_opts block and let me know if it works without your changes?

        ffmpeg_pathname = util.find_command('ffmpeg')
        if ffmpeg_pathname:
            self._ydl_opts['ffmpeg_location'] = ffmpeg_pathname
RodRCode commented 3 months ago

@auouymous I got the same merge error. I also tried it with the util.find_command line before the self._ydl._opts block and then have the ffmpeg_location set to the ffmpeg_pathname variable, but that failed as well

auouymous commented 3 months ago

@RodRCode Can you try print(ffmpeg_pathname) after the find? Is it None or some incorrect path? Does print(os.environ.get('PATH', None)) contain the correct PATH? And does Mac have a file extension like Windows, or just ffmpeg.

RodRCode commented 3 months ago

@auouymous Did some more testing. It looks like there is something going on with how that python script is communicating with the external system. I think it might have something to do with how gpodder is "running". It doesn't "act" like a 'native' application in general (it uses the ACTUAL 'control' key instead of the 'command' key when you are copying/pasting and such)

So, if I run this python code natively in the system it works as expected:

# Specify the file path
file_path = '/pathyMcPathFace/Directory/trace.txt'

import shutil
ffmpeg_pathname = shutil.which('ffmpeg')

# Open the file in write mode ('w')
with open(file_path, 'w') as file:
# Write the variable value to the file
            file.write('shutil value ' + str(ffmpeg_pathname) + '\n')

# commented out the util line because it isn't a normal library
# ffmpeg_pathname = util.find_command('ffmpeg')

import subprocess
result = subprocess.run(['which', 'ffmpeg'], capture_output=True, text=True)
        # Open the file in append mode ('a')

ffmpeg_pathname = result.stdout
with open(file_path, 'a') as file:
            file.write('subprocess ' + str(ffmpeg_pathname) + '\n')

ffmpeg_pathname = '/opt/homebrew/bin/ffmpeg'

# Open the file in append mode ('a')
with open(file_path, 'a') as file:
# Write the variable value to the file
            file.write('hardcoded value ' + str(ffmpeg_pathname) + '\n')

And this is what is in the trace file

shutil value /opt/homebrew/bin/ffmpeg
subprocess /opt/homebrew/bin/ffmpeg

hardcoded value /opt/homebrew/bin/ffmpeg

And this is the code in the youtube-dl.py script

        # Specify the file path
        file_path = '/pathyMcPathFace/Directory/trace.txt'

        import shutil
        ffmpeg_pathname = shutil.which('ffmpeg')
        with open(file_path, 'w') as file:
            file.write('shutil value ' + str(ffmpeg_pathname) + '\n')

        ffmpeg_pathname = util.find_command('ffmpeg')

        with open(file_path, 'a') as file:
            file.write('util.find value ' + str(ffmpeg_pathname) + '\n')

        import subprocess
        result = subprocess.run(['which', 'ffmpeg'], capture_output=True, text=True)

        ffmpeg_pathname = result.stdout
        with open(file_path, 'a') as file:
            file.write('subprocess ' + str(ffmpeg_pathname) + '\n')

        ffmpeg_pathname = '/opt/homebrew/bin/ffmpeg'

        with open(file_path, 'a') as file:
            file.write('hardcoded value ' + str(ffmpeg_pathname) + '\n')

And this is the trace file:

shutil value None
util.find value None
subprocess 
hardcoded value /opt/homebrew/bin/ffmpeg
Snippet24816 commented 2 months ago

Having the same error here width youtube in some videos using yt-dlp extension, here's the log:

The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "C:/msys64/home/appveyor/_gpodder_build_root/mingw32/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 3369, in process_info
  File "C:/msys64/home/appveyor/_gpodder_build_root/mingw32/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 3108, in dl
  File "C:/msys64/home/appveyor/_gpodder_build_root/mingw32/lib/python3.11/site-packages/yt_dlp/downloader/common.py", line 455, in download
  File "C:/msys64/home/appveyor/_gpodder_build_root/mingw32/lib/python3.11/site-packages/yt_dlp/downloader/http.py", line 364, in real_download
  File "C:/msys64/home/appveyor/_gpodder_build_root/mingw32/lib/python3.11/site-packages/yt_dlp/downloader/http.py", line 120, in establish_connection
  File "C:/msys64/home/appveyor/_gpodder_build_root/mingw32/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 4070, in urlopen
yt_dlp.networking.exceptions._CompatHTTPError: HTTP Error 403: Forbidden

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\gPodderPortablev2022v1000limitcDebugvFixv2\data\lib\python3.11\site-packages\gpodder\download.py", line 910, in run
    headers, real_url = downloader.retrieve_resume(self.tempname, self.status_updated)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\gPodder\data\share\gpodder\extensions\youtube-dl.py", line 117, in retrieve_resume
    res = self._ytdl.fetch_video(info, opts)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\gPodder\data\share\gpodder\extensions\youtube-dl.py", line 362, in fetch_video
    return ydl.process_video_result(info, download=True)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:/msys64/home/appveyor/_gpodder_build_root/mingw32/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 2921, in process_video_result
  File "C:/msys64/home/appveyor/_gpodder_build_root/mingw32/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 3396, in process_info
  File "C:/msys64/home/appveyor/_gpodder_build_root/mingw32/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 1045, in report_error
  File "C:/msys64/home/appveyor/_gpodder_build_root/mingw32/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 984, in trouble
yt_dlp.utils.DownloadError: ERROR: unable to download video data: HTTP Error 403: Forbidden
auouymous commented 2 months ago

@Snippet24816 The 3.11.4 Windows build has an old version of yt-dlp, which is why it is important for us to get it working so those on Windows can keep using youtube feeds. You could try downloading the latest yt-dlp release and injecting its files into the gpodder build, overwriting the old version. Then check the youtube-dl preferences page to see if the version updated. If you get it working and want to document the process, I can add it to gpodder.org to help others update.

Ploddles commented 2 months ago

yt-dlp has been updated to overcome the 403 error. How do I update the yt-dlp version that Gpodder uses to the latest, on MacOS?

auouymous commented 2 months ago

@Ploddles You can either download yt-dlp and extract its files into gpodder, overwriting the existing yt-dlp files. Or download the latest development version of gpodder at https://app.circleci.com/pipelines/github/gpodder/gpodder/685/workflows/79c420ae-a25b-43d9-9b71-39e4ae80ff75/jobs/1044/artifacts. That was built 19 days ago so the version of yt-dlp will be a little laggy, assuming it even works, but I'll try to push something to generate a new build when I get back in 12 hours.

computerfreak105 commented 2 months ago

Oh man, I really wish it could be as simple on windows and we could update yt-dlp like that. My gpodder-3.11.4-portable 1.0.1205 has stopped working now. The logs show “not found” on each channel. So I guess it’s over now until @elelay hopefully can fix it.

Von: auouymous @.> Gesendet: Freitag, 12. Juli 2024 21:08 An: gpodder/gpodder @.> Cc: Subscribed @.***> Betreff: Re: [gpodder/gpodder] Youtube downloads are now failing with HTTP Error 403 Forbidden (Issue #1634)

@Ploddles https://github.com/Ploddles You can either download yt-dlp and extract its files into gpodder, overwriting the existing yt-dlp files. Or download the latest development version of gpodder at https://app.circleci.com/pipelines/github/gpodder/gpodder/685/workflows/79c420ae-a25b-43d9-9b71-39e4ae80ff75/jobs/1044/artifacts. That was built 19 days ago so the version of yt-dlp will be a little laggy, assuming it even works, but I'll try to push something to generate a new build when I get back in 12 hours.

— Reply to this email directly, view it on GitHub https://github.com/gpodder/gpodder/issues/1634#issuecomment-2226203141 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNRICS5KIIT4DMXSYA6YGLZMASQHAVCNFSM6AAAAABJO6RNFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRWGIYDGMJUGE . You are receiving this because you are subscribed to this thread. https://github.com/notifications/beacon/ACNRICRABBZODULMHKFUYDDZMASQHA5CNFSM6AAAAABJO6RNFKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUEWEVAK.gif Message ID: @. @.> >

Ploddles commented 2 months ago

@Ploddles You can either download yt-dlp and extract its files into gpodder, overwriting the existing yt-dlp files. Or download the latest development version of gpodder at https://app.circleci.com/pipelines/github/gpodder/gpodder/685/workflows/79c420ae-a25b-43d9-9b71-39e4ae80ff75/jobs/1044/artifacts. That was built 19 days ago so the version of yt-dlp will be a little laggy, assuming it even works, but I'll try to push something to generate a new build when I get back in 12 hours.

Hi, I tried just copying the latest yt-dlp file to gPodder | Contents | Resources | Bin folder of the development version but that is still failing. At least it is not the 403 error this time but the ffmpeg merging one. I don't know if it is just that one file I need to copy across or if I need to do anything else so I will eagerly await your new build. I had tried using yt-dlp from a terminal window when the 403 error first started and it didn't work. Using pip to update to the latest yt-dlp solved the problem in terminal - copying the one file into gPodder doesn't work for me but I am probably doing something wrong or missing extra files etc. Thanks

computerfreak105 commented 2 months ago

https://github.com/Ploddles @Ploddles

Is it working for you? If yes, how did you do it?

I have a mac mini M1 laying around and would like to go this route as well since I’m out of luck on windows at the moment.

When I download yt-dlp from github I only get a .cmd file which is labeled as document, seems to be nothing I could actually run. So I read about homebrew and managed to install it and yt-dlp. This way I at least could go to the installation folder and copy the files there to the \ resource \ bin of gpodder. But the problem is that it’s the stable version from July 9th which doesn’t work to well I think. And homebrew doesn’t allow switching channels to nightly builts.

I’m pretty new to the mac terminal and I feel I’m missing something crucial here to make it work. I would like to get a nightly built which I could run and then copy all the needed files of it to the place in gpodder. What would I have to do to make it work? How would you do it?

Thank you or anyone else who can point me in the right direction.

Von: auouymous @.> Gesendet: Freitag, 12. Juli 2024 21:08 An: gpodder/gpodder @.> Cc: Subscribed @.***> Betreff: Re: [gpodder/gpodder] Youtube downloads are now failing with HTTP Error 403 Forbidden (Issue #1634)

@Ploddles https://github.com/Ploddles You can either download yt-dlp and extract its files into gpodder, overwriting the existing yt-dlp files. Or download the latest development version of gpodder at https://app.circleci.com/pipelines/github/gpodder/gpodder/685/workflows/79c420ae-a25b-43d9-9b71-39e4ae80ff75/jobs/1044/artifacts. That was built 19 days ago so the version of yt-dlp will be a little laggy, assuming it even works, but I'll try to push something to generate a new build when I get back in 12 hours.

— Reply to this email directly, view it on GitHub https://github.com/gpodder/gpodder/issues/1634#issuecomment-2226203141 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNRICS5KIIT4DMXSYA6YGLZMASQHAVCNFSM6AAAAABJO6RNFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRWGIYDGMJUGE . You are receiving this because you are subscribed to this thread. https://github.com/notifications/beacon/ACNRICRABBZODULMHKFUYDDZMASQHA5CNFSM6AAAAABJO6RNFKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUEWEVAK.gif Message ID: @. @.> >

Ploddles commented 2 months ago

https://github.com/Ploddles @Ploddles Is it working for you? If yes, how did you do it? I have a mac mini M1 laying around and would like to go this route as well since I’m out of luck on windows at the moment. When I download yt-dlp from github I only get a .cmd file which is labeled as document, seems to be nothing I could actually run. So I read about homebrew and managed to install it and yt-dlp. This way I at least could go to the installation folder and copy the files there to the \ resource \ bin of gpodder. But the problem is that it’s the stable version from July 9th which doesn’t work to well I think. And homebrew doesn’t allow switching channels to nightly builts. I’m pretty new to the mac terminal and I feel I’m missing something crucial here to make it work. I would like to get a nightly built which I could run and then copy all the needed files of it to the place in gpodder. What would I have to do to make it work? How would you do it? Thank you or anyone else who can point me in the right direction. Von: auouymous @.> Gesendet: Freitag, 12. Juli 2024 21:08 An: gpodder/gpodder @.> Cc: Subscribed @.> Betreff: Re: [gpodder/gpodder] Youtube downloads are now failing with HTTP Error 403 Forbidden (Issue #1634) @Ploddles https://github.com/Ploddles You can either download yt-dlp and extract its files into gpodder, overwriting the existing yt-dlp files. Or download the latest development version of gpodder at https://app.circleci.com/pipelines/github/gpodder/gpodder/685/workflows/79c420ae-a25b-43d9-9b71-39e4ae80ff75/jobs/1044/artifacts. That was built 19 days ago so the version of yt-dlp will be a little laggy, assuming it even works, but I'll try to push something to generate a new build when I get back in 12 hours. — Reply to this email directly, view it on GitHub <#1634 (comment)> , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNRICS5KIIT4DMXSYA6YGLZMASQHAVCNFSM6AAAAABJO6RNFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRWGIYDGMJUGE . You are receiving this because you are subscribed to this thread. https://github.com/notifications/beacon/ACNRICRABBZODULMHKFUYDDZMASQHA5CNFSM6AAAAABJO6RNFKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUEWEVAK.gif Message ID: @. @.***> >

Yes, I have it working now, to a degree - I can get it to download only at 640 x 320 from gPodder. Anything else and I get the ffmpeg error even though it is installed and running yt-dlp from the terminal uses it without problem.

First thing you need to do is download the correct files from GitHub. Go to https://github.com/yt-dlp/yt-dlp/releases/tag/2024.07.09 and download yt-dlp.tar.gz. Double clicking on that should expand it like it does with a zip file. In the expanded folder you will see a file named yt-dlp (second from the bottom, the one above yt-dlp.1 , not the yt-dlp folder). You need to copy/move that file into the gPodder | Contents | Resources | Bin folder.

Next you need to copy more files from the expanded yt-dlp folder you just downloaded & expanded. This time copy/move the folder that is/was above the yt-dlp file that you just moved - confusingly also called yt-dlp but this time it is the folder called yt-dlp. This whole folder needs moving/copying into gPodder | Contents | Resources | lib | python3.11 | site-packages, replacing the complete yt-dlp folder already there.

Now run gPodder and change the preferences to MP4 360 in the Video section. You should also notice that if you go to YouTube-dl section in preferences that it should now be dated 2024.07.09

If you want to install yt-dlp from the terminal and run it from there then you can do so by typing 'pip install --user --upgrade yt-dlp' into a terminal window. To download a YouTube video using it that way, just type yt-dlp "YouTube video link", eg yt-dlp "https://www.youtube.com/watch?v=8kK8kXP1h1A"

Hope that helps and you can follow that ok. Just ask for any clarifications if I haven't explained it very well.

computerfreak105 commented 2 months ago

@Ploddles https://github.com/Ploddles

Hi, thank you so much, I’ll try it when I’m back at home, probably today evening. I hope you can choose higher video resolutions soon. You could open an issue for this on the issue tracker …

I have one more question about ffmpeg: How did you install it and where has it to go so gpodder and yt-dlp can use it?

Thanks for your help.

Von: Ploddles @.> Gesendet: Mittwoch, 17. Juli 2024 00:16 An: gpodder/gpodder @.> Cc: computerfreak105 @.>; Comment @.> Betreff: Re: [gpodder/gpodder] Youtube downloads are now failing with HTTP Error 403 Forbidden (Issue #1634)

https://github.com/Ploddles @Ploddles https://github.com/Ploddles Is it working for you? If yes, how did you do it? I have a mac mini M1 laying around and would like to go this route as well since I’m out of luck on windows at the moment. When I download yt-dlp from github I only get a .cmd file which is labeled as document, seems to be nothing I could actually run. So I read about homebrew and managed to install it and yt-dlp. This way I at least could go to the installation folder and copy the files there to the \ resource \ bin of gpodder. But the problem is that it’s the stable version from July 9th which doesn’t work to well I think. And homebrew doesn’t allow switching channels to nightly builts. I’m pretty new to the mac terminal and I feel I’m missing something crucial here to make it work. I would like to get a nightly built which I could run and then copy all the needed files of it to the place in gpodder. What would I have to do to make it work? How would you do it? Thank you or anyone else who can point me in the right direction. Von: auouymous @.> Gesendet: Freitag, 12. Juli 2024 21:08 An: gpodder/gpodder @.> Cc: Subscribed @.> Betreff: Re: [gpodder/gpodder] Youtube downloads are now failing with HTTP Error 403 Forbidden (Issue #1634 https://github.com/gpodder/gpodder/issues/1634 ) @Ploddles https://github.com/Ploddles https://github.com/Ploddles You can either download yt-dlp and extract its files into gpodder, overwriting the existing yt-dlp files. Or download the latest development version of gpodder at https://app.circleci.com/pipelines/github/gpodder/gpodder/685/workflows/79c420ae-a25b-43d9-9b71-39e4ae80ff75/jobs/1044/artifacts. That was built 19 days ago so the version of yt-dlp will be a little laggy, assuming it even works, but I'll try to push something to generate a new build when I get back in 12 hours. — Reply to this email directly, view it on GitHub <#1634 (comment) https://github.com/gpodder/gpodder/issues/1634#issuecomment-2226203141 > , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNRICS5KIIT4DMXSYA6YGLZMASQHAVCNFSM6AAAAABJO6RNFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRWGIYDGMJUGE . You are receiving this because you are subscribed to this thread. https://github.com/notifications/beacon/ACNRICRABBZODULMHKFUYDDZMASQHA5CNFSM6AAAAABJO6RNFKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUEWEVAK.gif Message ID: @. @.***> >

Yes, I have it working now, to a degree - I can get it to download only at 640 x 320 from gPodder. Anything else and I get the ffmpeg error even though it is installed and running yt-dlp from the terminal uses it without problem.

First thing you need to do is download the correct files from GitHub. Go to https://github.com/yt-dlp/yt-dlp/releases/tag/2024.07.09 and download yt-dlp.tar.gz. Double clicking on that should expand it like it does with a zip file. In the expanded folder you will see a file named yt-dlp (second from the bottom, the one above yt-dlp.1 , not the yt-dlp folder). You need to copy/move that file into the gPodder | Contents | Resources | Bin folder.

Next you need to copy more files from the expanded yt-dlp folder you just downloaded & expanded. This time copy/move the folder that is/was above the yt-dlp file that you just moved - confusingly also called yt-dlp but this time it is the folder called yt-dlp. This whole folder needs moving/copying into gPodder | Contents | Resources | lib | python3.11 | site-packages, replacing the complete yt-dlp folder already there.

Now run gPodder and change the preferences to MP4 360 in the Video section. You should also notice that if you go to YouTube-dl section in preferences that it should now be dated 2024.07.09

If you want to install yt-dlp from the terminal and run it from there then you can do so by typing 'pip install --user --upgrade yt-dlp' into a terminal window. To download a YouTube video using it that way, just type yt-dlp "YouTube video link", eg yt-dlp "https://www.youtube.com/watch?v=8kK8kXP1h1A"

Hope that helps and you can follow that ok. Just ask for any clarifications if I haven't explained it very well.

— Reply to this email directly, view it on GitHub https://github.com/gpodder/gpodder/issues/1634#issuecomment-2231911377 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNRICX72QXNUE77QNAJSRLZMWLQRAVCNFSM6AAAAABJO6RNFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZRHEYTCMZXG4 . You are receiving this because you commented. https://github.com/notifications/beacon/ACNRICV2YSELGH2FSKMVBB3ZMWLQRA5CNFSM6AAAAABJO6RNFKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUFBBB5C.gif Message ID: @. @.> >

Ploddles commented 2 months ago

I can’t get ffmpeg to work with gPodder at all - only by running yt-dlp from a terminal. For it to work from terminal just place it somewhere in your PATH. For ease of trying things, I just add my Downloads folder to my PATH and then leave it there. I have tried adding it within gPodder but that doesn’t make any difference.

At the moment to download better than 360p I use terminal. To download an mp4 at 1080p I use yt-dlp -f 137 “YouTube link”. It’s a PITA but at least it works.

By the way, there is no Apple Silicon version of ffmpeg but it may work by utilising Rosetta 2. I don’t have an M1, or newer, so I can’t confirm that.

On 17 Jul 2024, at 05:45, computerfreak105 @.***> wrote:

@Ploddles https://github.com/Ploddles

Hi, thank you so much, I’ll try it when I’m back at home, probably today evening. I hope you can choose higher video resolutions soon. You could open an issue for this on the issue tracker …

I have one more question about ffmpeg: How did you install it and where has it to go so gpodder and yt-dlp can use it?

Thanks for your help.

Von: Ploddles @.> Gesendet: Mittwoch, 17. Juli 2024 00:16 An: gpodder/gpodder @.> Cc: computerfreak105 @.>; Comment @.> Betreff: Re: [gpodder/gpodder] Youtube downloads are now failing with HTTP Error 403 Forbidden (Issue #1634)

https://github.com/Ploddles @Ploddles https://github.com/Ploddles Is it working for you? If yes, how did you do it? I have a mac mini M1 laying around and would like to go this route as well since I’m out of luck on windows at the moment. When I download yt-dlp from github I only get a .cmd file which is labeled as document, seems to be nothing I could actually run. So I read about homebrew and managed to install it and yt-dlp. This way I at least could go to the installation folder and copy the files there to the \ resource \ bin of gpodder. But the problem is that it’s the stable version from July 9th which doesn’t work to well I think. And homebrew doesn’t allow switching channels to nightly builts. I’m pretty new to the mac terminal and I feel I’m missing something crucial here to make it work. I would like to get a nightly built which I could run and then copy all the needed files of it to the place in gpodder. What would I have to do to make it work? How would you do it? Thank you or anyone else who can point me in the right direction. Von: auouymous @.> Gesendet: Freitag, 12. Juli 2024 21:08 An: gpodder/gpodder @.> Cc: Subscribed @.> Betreff: Re: [gpodder/gpodder] Youtube downloads are now failing with HTTP Error 403 Forbidden (Issue #1634 https://github.com/gpodder/gpodder/issues/1634 ) @Ploddles https://github.com/Ploddles https://github.com/Ploddles You can either download yt-dlp and extract its files into gpodder, overwriting the existing yt-dlp files. Or download the latest development version of gpodder at https://app.circleci.com/pipelines/github/gpodder/gpodder/685/workflows/79c420ae-a25b-43d9-9b71-39e4ae80ff75/jobs/1044/artifacts. That was built 19 days ago so the version of yt-dlp will be a little laggy, assuming it even works, but I'll try to push something to generate a new build when I get back in 12 hours. — Reply to this email directly, view it on GitHub <#1634 (comment) https://github.com/gpodder/gpodder/issues/1634#issuecomment-2226203141 > , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNRICS5KIIT4DMXSYA6YGLZMASQHAVCNFSM6AAAAABJO6RNFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRWGIYDGMJUGE . You are receiving this because you are subscribed to this thread. https://github.com/notifications/beacon/ACNRICRABBZODULMHKFUYDDZMASQHA5CNFSM6AAAAABJO6RNFKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUEWEVAK.gif Message ID: @. @.***> >

Yes, I have it working now, to a degree - I can get it to download only at 640 x 320 from gPodder. Anything else and I get the ffmpeg error even though it is installed and running yt-dlp from the terminal uses it without problem.

First thing you need to do is download the correct files from GitHub. Go to https://github.com/yt-dlp/yt-dlp/releases/tag/2024.07.09 and download yt-dlp.tar.gz. Double clicking on that should expand it like it does with a zip file. In the expanded folder you will see a file named yt-dlp (second from the bottom, the one above yt-dlp.1 , not the yt-dlp folder). You need to copy/move that file into the gPodder | Contents | Resources | Bin folder.

Next you need to copy more files from the expanded yt-dlp folder you just downloaded & expanded. This time copy/move the folder that is/was above the yt-dlp file that you just moved - confusingly also called yt-dlp but this time it is the folder called yt-dlp. This whole folder needs moving/copying into gPodder | Contents | Resources | lib | python3.11 | site-packages, replacing the complete yt-dlp folder already there.

Now run gPodder and change the preferences to MP4 360 in the Video section. You should also notice that if you go to YouTube-dl section in preferences that it should now be dated 2024.07.09

If you want to install yt-dlp from the terminal and run it from there then you can do so by typing 'pip install --user --upgrade yt-dlp' into a terminal window. To download a YouTube video using it that way, just type yt-dlp "YouTube video link", eg yt-dlp "https://www.youtube.com/watch?v=8kK8kXP1h1A"

Hope that helps and you can follow that ok. Just ask for any clarifications if I haven't explained it very well.

— Reply to this email directly, view it on GitHub https://github.com/gpodder/gpodder/issues/1634#issuecomment-2231911377 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNRICX72QXNUE77QNAJSRLZMWLQRAVCNFSM6AAAAABJO6RNFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZRHEYTCMZXG4 . You are receiving this because you commented. https://github.com/notifications/beacon/ACNRICV2YSELGH2FSKMVBB3ZMWLQRA5CNFSM6AAAAABJO6RNFKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUFBBB5C.gif Message ID: @. @.> >

— Reply to this email directly, view it on GitHub https://github.com/gpodder/gpodder/issues/1634#issuecomment-2232406723, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMG6JRECS4XJUDX2AH7ROX3ZMXZGBAVCNFSM6AAAAABJO6RNFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZSGQYDMNZSGM. You are receiving this because you were mentioned.

auouymous commented 2 months ago

@Ploddles Gpodder on Mac is unable to see the real PATH variable, and only has '/usr/bin:/bin:/usr/sbin:/sbin'. Are you able to place a symlink in /usr/bin to the installed ffmpeg binary? If so, yt-dlp in gpodder should see it.

@computerfreak105 You shouldn't need ffmpeg to use yt-dlp, assuming your formats are audio only. ffmpeg is only needed to merge the separate audio and video streams into a container format.

computerfreak105 commented 2 months ago

https://github.com/Ploddles @Ploddles

And

@auouymous

Thank you both, I’m using audio only. I’m excited and will try my luck 😊

Thanks

Von: auouymous @.> Gesendet: Mittwoch, 17. Juli 2024 12:30 An: gpodder/gpodder @.> Cc: computerfreak105 @.>; Mention @.> Betreff: Re: [gpodder/gpodder] Youtube downloads are now failing with HTTP Error 403 Forbidden (Issue #1634)

@Ploddles https://github.com/Ploddles Gpodder on Mac is unable to see the real PATH variable, and only has '/usr/bin:/bin:/usr/sbin:/sbin'. Are you able to place a symlink in /usr/bin to the installed ffmpeg binary? If so, yt-dlp in gpodder should see it.

@computerfreak105 https://github.com/computerfreak105 You shouldn't need ffmpeg to use yt-dlp, assuming your formats are audio only. ffmpeg is only needed to merge the separate audio and video streams into a container format.

— Reply to this email directly, view it on GitHub https://github.com/gpodder/gpodder/issues/1634#issuecomment-2232974372 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNRICUHEFUNRVZ5U7H572LZMZBQ7AVCNFSM6AAAAABJO6RNFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZSHE3TIMZXGI . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ACNRICXXUULSAJLPXSVYN3TZMZBQ7A5CNFSM6AAAAABJO6RNFKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUFDB6CI.gif Message ID: @. @.> >

Ploddles commented 2 months ago

Unfortunately '/usr/bin' is read only so I'm unable to create a symlink there.

computerfreak105 commented 2 months ago

@Ploddles https://github.com/Ploddles

And

@auouymous

Just wanted to let you know that the mac version works great for me. Thank you so much for your helpful instructions. I wouldn’t have figured it out where to copy the yt-dlp files and would have spend unnecessary effort with the ffmpeg. I’m going to use gpodder on mac now and can update yt-dlp if I have to.

You both are awesome, thank you!

Von: Ploddles @.> Gesendet: Mittwoch, 17. Juli 2024 14:51 An: gpodder/gpodder @.> Cc: computerfreak105 @.>; Mention @.> Betreff: Re: [gpodder/gpodder] Youtube downloads are now failing with HTTP Error 403 Forbidden (Issue #1634)

Unfortunately '/usr/bin' is read only so I'm unable to create a symlink there.

— Reply to this email directly, view it on GitHub https://github.com/gpodder/gpodder/issues/1634#issuecomment-2233248355 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNRICWT25ITV42IVP3PKPTZMZSE7AVCNFSM6AAAAABJO6RNFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZTGI2DQMZVGU . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ACNRICVIW5HWBCIWFZMIVE3ZMZSE7A5CNFSM6AAAAABJO6RNFKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUFDSVGG.gif Message ID: @. @.> >

Snippet24816 commented 2 months ago

@Snippet24816 The 3.11.4 Windows build has an old version of yt-dlp, which is why it is important for us to get it working so those on Windows can keep using youtube feeds. You could try downloading the latest yt-dlp release and injecting its files into the gpodder build, overwriting the old version. Then check the youtube-dl preferences page to see if the version updated. If you get it working and want to document the process, I can add it to gpodder.org to help others update.

@auouymous Hi sorry now I can get into it.. question is there an artifact I could try for the windows build? and then report back? if yes which one? otherwise I'm trying to override the yt-dlp as told ;-)

auouymous commented 2 months ago

@Snippet24816 Only the one in https://github.com/gpodder/gpodder/issues/1540#issuecomment-2221809490 which failed to find build_info, even though it has that file in the same location as the 3.11.4 release. You can try the GUI version of it, but it will likely fail too.

Snippet24816 commented 2 months ago

@auouymous I see which is the path for replacing the yt-dlp library? is it data\lib\python3.11\site-packages?

auouymous commented 2 months ago

@Snippet24816 I don't know how the Windows build works, but the manifest has /home/appveyor/_gpodder_build_root/mingw32/lib/python3.11/site-packages/yt_dlp/ which must be replaced. If it extracts the files, you will need to find where it put that yt_dlp directory and replace it.

Ploddles commented 2 months ago

Another Youtube update has stopped 2024-07-16 version of yt-dlp from working. However the latest nightly build , 2024-07-23, fixes it again. 👍

computerfreak105 commented 2 months ago

I just updated to 2024-07-25 on the mac, but it doesn’t work for me yet. GPodder gets stuck and shows only queueing. The log shows “not found” in every youtube channel.

So guess, I’ll have to wait a bit longer. But I’m so glad I can update on my own now.

Von: Ploddles @.> Gesendet: Mittwoch, 24. Juli 2024 23:05 An: gpodder/gpodder @.> Cc: computerfreak105 @.>; Mention @.> Betreff: Re: [gpodder/gpodder] Youtube downloads are now failing with HTTP Error 403 Forbidden (Issue #1634)

Another Youtube update has stopped 2024-07-16 version of yt-dlp from working. However the latest nightly build , 2024-07-23, fixes it again. 👍

— Reply to this email directly, view it on GitHub https://github.com/gpodder/gpodder/issues/1634#issuecomment-2248895488 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNRICUXJ7R3B6JA3EF3KP3ZOAJGRAVCNFSM6AAAAABJO6RNFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBYHA4TKNBYHA . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ACNRICXWCQ6PHW3IBFR2KH3ZOAJGRA5CNFSM6AAAAABJO6RNFKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUGBNWAA.gif Message ID: @. @.> >

computerfreak105 commented 2 months ago

Hi

https://github.com/auouymous @auouymous

You gave https://github.com/Ploddles @Ploddles

this link to update Gpodder on mac a few days ago:

https://app.circleci.com/pipelines/github/gpodder/gpodder/685/workflows/79c420ae-a25b-43d9-9b71-39e4ae80ff75/jobs/1044/artifacts.

I’d like to try this and see if it helps to make yt-dlp work again. Right now I have the release from last October and yt-dlp did work after I updated to 2024-07-16. Now as this isn’t working anymore I updated to 2024-07-25 nightly and it’s not working yet. So I tought I maybe should update Gpodder as well. But I’m a bit lost because there are no artifacts? Is it meant to be run in gitHub or can one actually download the mac. tar.gz archive?

Here on the windows site I understand how it works:

https://ci.appveyor.com/project/elelay/gpodder/build/artifacts

I’m trying to understand how it works in the mac universe. Thanks for any help.

Von: auouymous @.> Gesendet: Mittwoch, 24. Juli 2024 20:52 An: gpodder/gpodder @.> Cc: computerfreak105 @.>; Mention @.> Betreff: Re: [gpodder/gpodder] Youtube downloads are now failing with HTTP Error 403 Forbidden (Issue #1634)

@Snippet24816 https://github.com/Snippet24816 I don't know how the Windows build works, but the manifest has /home/appveyor/_gpodder_build_root/mingw32/lib/python3.11/site-packages/yt_dlp/ which must be replaced. If it extracts the files, you will need to find where it put that yt_dlp directory and replace it.

— Reply to this email directly, view it on GitHub https://github.com/gpodder/gpodder/issues/1634#issuecomment-2248693629 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNRICVIBN4HVEWQZD3QRBLZN7ZU7AVCNFSM6AAAAABJO6RNFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBYGY4TGNRSHE . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ACNRICQ44ABZGJBLBZV4BQLZN7ZU7A5CNFSM6AAAAABJO6RNFKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUGBBLX2.gif Message ID: @. @.> >

auouymous commented 2 months ago

@computerfreak105 That artifact has expired and sadly the Mac build, like the Windows build, has recently stopped working. I will try to take a look at the issue today.

Is youtube still broken today? I am using 20240725 and it mostly works, only a small percentage of episodes are downloaded with tiny videos. If the logs are saying the feed isn't found, that could be the normal issue that happens a couple times a year, for many years now. It usually resolves itself after a day or two, a week max for some. If you are receiving new episodes, what is one of the feeds, episode name and which formats are you trying?

computerfreak105 commented 2 months ago

https://github.com/auouymous @auouymous

I’m using yt-dlp 2020-07-25 as well. And today I really got a shorts from this channel:

@.***

This one:

https://www.youtube.com/shorts/62z9w9iKOSc

This was the only one though as I resumed some old downloads after starting up Gpodder. 30 minutes later when the automatic download check started gpodder got stuck again. There are some “not found” errors in the log, but this time there are others like “during handling another exception occurred”. I’m sure I have only one gpodder running rhough.

My download settings for youtube is audio only:

"youtube": {

"preferred_fmt_id": 0,

"preferred_fmt_ids": [

  251,

  250,

  249,

  140

],

"preferred_hls_fmt_id": 0,

"preferred_hls_fmt_ids": [

  91,

  92,

  93,

  94,

  95,

  96

]

}

}

Thanks for having a look, I really appreciate it.

Von: auouymous @.> Gesendet: Sonntag, 28. Juli 2024 01:46 An: gpodder/gpodder @.> Cc: computerfreak105 @.>; Mention @.> Betreff: Re: [gpodder/gpodder] Youtube downloads are now failing with HTTP Error 403 Forbidden (Issue #1634)

@computerfreak105 https://github.com/computerfreak105 That artifact has expired and sadly the Mac build, like the Windows build, has recently stopped working. I will try to take a look at the issue today.

Is youtube still broken today? I am using 20240725 and it mostly works, only a small percentage of episodes are downloaded with tiny videos. If the logs are saying the feed isn't found, that could be the normal issue that happens a couple times a year, for many years now. It usually resolves itself after a day or two, a week max for some. If you are receiving new episodes, what is one of the feeds, episode name and which formats are you trying?

— Reply to this email directly, view it on GitHub https://github.com/gpodder/gpodder/issues/1634#issuecomment-2254284065 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNRICT55VIWIL6MH565DB3ZOQWMNAVCNFSM6AAAAABJO6RNFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGI4DIMBWGU . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ACNRICUKD4IJCZAVNASFNLDZOQWMNA5CNFSM6AAAAABJO6RNFKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUGLWSSC.gif Message ID: @. @.> >

auouymous commented 2 months ago

@computerfreak105 Can you post a few of the not found errors and exceptions here?

computerfreak105 commented 2 months ago

2024-07-28.log

auouymous commented 2 months ago

@computerfreak105 There are only a few feeds that are not found, are you able to visit their channels on youtube or are they defunct? The exceptions are all lives that haven't started yet and can't be downloaded.

computerfreak105 commented 2 months ago

@auouymous https://github.com/auouymous

When I downloaded two or three days ago every channel had the “not found” error. Now it’s just these few. And no, I can’t reach these channels anymore, they really have become defunct in the last few days.

I cleared my download folder and tried anew but there is nothing downloaded anymore at the moment and I always have to force quiet gpodder because it gets stuck during the download process.

Von: auouymous @.> Gesendet: Sonntag, 28. Juli 2024 09:12 An: gpodder/gpodder @.> Cc: computerfreak105 @.>; Mention @.> Betreff: Re: [gpodder/gpodder] Youtube downloads are now failing with HTTP Error 403 Forbidden (Issue #1634)

@computerfreak105 https://github.com/computerfreak105 There are only a few feeds that are not found, are you able to visit their channels on youtube or are they defunct? The exceptions are all lives that haven't started yet and can't be downloaded.

— Reply to this email directly, view it on GitHub https://github.com/gpodder/gpodder/issues/1634#issuecomment-2254371255 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNRICW4YR4H7JWQSP6OHDTZOSKS5AVCNFSM6AAAAABJO6RNFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGM3TCMRVGU . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ACNRICULQ6ZSBQLHTKSFZTDZOSKS5A5CNFSM6AAAAABJO6RNFKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUGL343O.gif Message ID: @. @.> >

Ploddles commented 2 months ago

Still working for me, although still only at 360p for videos.

computerfreak105 commented 2 months ago

https://github.com/Ploddles @Ploddles

Good to hear, alltough it’s sad that you can’t get higher video resolutions.

Did you use the latest gpodder artifact which has expired or did you use the old one from last October? If you did use the last artifact there is hope for me that it will work again soon.

Von: Ploddles @.> Gesendet: Sonntag, 28. Juli 2024 11:44 An: gpodder/gpodder @.> Cc: computerfreak105 @.>; Mention @.> Betreff: Re: [gpodder/gpodder] Youtube downloads are now failing with HTTP Error 403 Forbidden (Issue #1634)

Still working for me, although still only at 360p for videos.

— Reply to this email directly, view it on GitHub https://github.com/gpodder/gpodder/issues/1634#issuecomment-2254453427 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNRICVVESYUXYSU43JWRD3ZOS4PTAVCNFSM6AAAAABJO6RNFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGQ2TGNBSG4 . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ACNRICVNH3W472JFJRKGXNLZOS4PTA5CNFSM6AAAAABJO6RNFKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUGMA5LG.gif Message ID: @. @.> >

Ploddles commented 2 months ago

Here is the latest Artifact version. I will leave it up for a short while so please download asap.

You will need to update yt-dlp in it.

https://www.dropbox.com/scl/fi/lbungrxbn59bd2of70lt4/gPodder-3.11.4.zip?rlkey=46m29yolqu78f1d0n0jboxay7&dl=0

computerfreak105 commented 2 months ago

I just did, have many thanks!

I’m excited to find out if it works and will let you know.

Von: Ploddles @.> Gesendet: Sonntag, 28. Juli 2024 11:54 An: gpodder/gpodder @.> Cc: computerfreak105 @.>; Mention @.> Betreff: Re: [gpodder/gpodder] Youtube downloads are now failing with HTTP Error 403 Forbidden (Issue #1634)

Here is the latest Artifact version. I will leave it up for a short while so please download asap.

https://www.dropbox.com/scl/fi/lbungrxbn59bd2of70lt4/gPodder-3.11.4.zip?rlkey=46m29yolqu78f1d0n0jboxay7&dl=0

— Reply to this email directly, view it on GitHub https://github.com/gpodder/gpodder/issues/1634#issuecomment-2254455961 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNRICR5HV5HEEK57TNAC63ZOS5U5AVCNFSM6AAAAABJO6RNFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGQ2TKOJWGE . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ACNRICUOI7Z6YLWZZLIGELLZOS5U5A5CNFSM6AAAAABJO6RNFKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUGMBCJS.gif Message ID: @. @.> >

computerfreak105 commented 2 months ago

Hi

It doesn’t work yet, but at least GPodder doesn’t get stuck with Queueing anymore.

However I got just another interesting error, just one of this kind:

2024-07-28 14:23:12,198 [gpodder.gtkui.main] ERROR: While downloading 𝓀𝒶𝓃𝓃 𝒿𝓂𝒹 𝓅𝓇ℴ𝒻𝒾𝓁 𝒻𝓊̈𝓇 𝓂𝒾𝒸𝒽 𝓂𝒶𝒸𝒽ℯ𝓃 ?✨(𝕤𝕠𝕝𝕝 𝕚𝕔𝕙 ℙ𝕣𝕠𝕗𝕚𝕝𝕤 𝕞𝕒𝕔𝕙𝕖𝕟 𝕗𝕦̈𝕣 𝕛𝕞𝕕 𝕧𝕠𝕟 𝕖𝕦𝕔𝕙?) #roblox #Profil #mir

Traceback (most recent call last):

File "/Applications/gPodder.app/Contents/Resources/lib/python3.11/site-packages/gpodder/gtkui/main.py", line 3326, in download_episode_list

task = download.DownloadTask(episode, self.config, downloader=downloader)

      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/Applications/gPodder.app/Contents/Resources/lib/python3.11/site-packages/gpodder/download.py", line 758, in init

open(self.tempname, 'w').close()

^^^^^^^^^^^^^^^^^^^^^^^^

OSError: [Errno 63] File name too long: '/Volumes/SynologyPool/GPodderDownloads/Mia Smash Roblox Live, Deu/𝓀𝒶𝓃𝓃 𝒿𝓂𝒹 𝓅𝓇ℴ𝒻𝒾𝓁 𝒻𝓊̈𝓇 𝓂𝒾𝒸𝒽 𝓂𝒶𝒸𝒽ℯ𝓃 ✨(𝕤𝕠𝕝𝕝 𝕚𝕔𝕙 ℙ𝕣𝕠𝕗𝕚𝕝𝕤 𝕞𝕒𝕔𝕙𝕖𝕟 𝕗𝕦̈𝕣 𝕛𝕞𝕕 𝕧𝕠𝕟 𝕖𝕦𝕔𝕙) #roblox #Profil #mir.bin.partial'

I read that Synology has a limit of 255 length in filenames. I think this is a bit backwards in time these days. I have an old unit for testing if it’s accessible enough for me as a blind user. So, I might buy another NAS for real eventually, if it’s accessible enough. I’m not fully convinced with the Synology yet.

Von: Ploddles @.> Gesendet: Sonntag, 28. Juli 2024 11:54 An: gpodder/gpodder @.> Cc: computerfreak105 @.>; Mention @.> Betreff: Re: [gpodder/gpodder] Youtube downloads are now failing with HTTP Error 403 Forbidden (Issue #1634)

Here is the latest Artifact version. I will leave it up for a short while so please download asap.

https://www.dropbox.com/scl/fi/lbungrxbn59bd2of70lt4/gPodder-3.11.4.zip?rlkey=46m29yolqu78f1d0n0jboxay7&dl=0

— Reply to this email directly, view it on GitHub https://github.com/gpodder/gpodder/issues/1634#issuecomment-2254455961 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNRICR5HV5HEEK57TNAC63ZOS5U5AVCNFSM6AAAAABJO6RNFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGQ2TKOJWGE . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ACNRICUOI7Z6YLWZZLIGELLZOS5U5A5CNFSM6AAAAABJO6RNFKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUGMBCJS.gif Message ID: @. @.> >

computerfreak105 commented 2 months ago

@auouymous https://github.com/auouymous

and

@Ploddles https://github.com/Ploddles

As you maybe remember, I changed the launcher.py in order to change the download location to my synology NAS drive. I was curious and put a # before the change, so Gpodder would download again to the default location. And now it’s working like nothing was wrong.

I’m kind of disapointed that I probably can’t use the synology to access the gpodder downloads from my windows PC. Somehow I just can’t believe that such a restriction even exists, how are people suposed to backup their files to a NAS if they have to be careful that filenames aren’t to long ... The curious thing is that it worked for about two days, but maybe it just downloaded the files with small enough filenames, so I lost my trust there a bit.

I guess it’s working again for now. Thanks for all your help so far.

Von: Ploddles @.> Gesendet: Sonntag, 28. Juli 2024 11:54 An: gpodder/gpodder @.> Cc: computerfreak105 @.>; Mention @.> Betreff: Re: [gpodder/gpodder] Youtube downloads are now failing with HTTP Error 403 Forbidden (Issue #1634)

Here is the latest Artifact version. I will leave it up for a short while so please download asap.

https://www.dropbox.com/scl/fi/lbungrxbn59bd2of70lt4/gPodder-3.11.4.zip?rlkey=46m29yolqu78f1d0n0jboxay7&dl=0

— Reply to this email directly, view it on GitHub https://github.com/gpodder/gpodder/issues/1634#issuecomment-2254455961 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNRICR5HV5HEEK57TNAC63ZOS5U5AVCNFSM6AAAAABJO6RNFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGQ2TKOJWGE . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ACNRICUOI7Z6YLWZZLIGELLZOS5U5A5CNFSM6AAAAABJO6RNFKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUGMBCJS.gif Message ID: @. @.> >

Ploddles commented 2 months ago

@computerfreak105 that is not just a Synology restriction. The same applies to both Windows, MacOs and Linux.

auouymous commented 2 months ago

@computerfreak105 The problem is that channel is using stylized unicode characters which each use 4 bytes against the 255 limit, basically reducing it to about 64. You could try shortening GPodderDownloads to G to free up 15 characters. You could rename Mia Smash Roblox Live, Deu to something shorter as well. I don't know if gpo can rename channels, but the gtk client can.

computerfreak105 commented 2 months ago

https://github.com/auouymous @auouymous

Thanks for explaining that to me, I had no idea the unicode letters requiere more Bytes ... Yes, I should shorten some things then. I always create the channel name when I prepare the .opml file to import the subscriptions.

I noticed the podcast list of the GUI isn’t accessible on the mac, like on windows. I can read some channel names, but I can’t bring the cursor to them and browse all of them. Would it be possible to include the possibility to navigate it with all cursor keys and having the + key of the numpad doing the right mouse click to open the context menu of a selected channel? Cursor up and down would navigate all channels, cursor right would expand them and set the focus to the episodes, cursor left would close the episode list again. Letterbased navigation to move quickly to channels like in finder would be great as well. It would be fantastic being able to handle the channels in Gpodder directly and not having to shout it down and do everything in advance with preparing an .opml file each time I find a new channel.

https://github.com/Ploddles @Ploddles

Windows offers longer pathnames, but it’s really just windows itself and other apps or OS would have to support it as well.

https://support.cs.jhu.edu/wiki/Windows_Path_Length_Limit_Reached

Von: auouymous @.> Gesendet: Montag, 29. Juli 2024 00:06 An: gpodder/gpodder @.> Cc: computerfreak105 @.>; Mention @.> Betreff: Re: [gpodder/gpodder] Youtube downloads are now failing with HTTP Error 403 Forbidden (Issue #1634)

@computerfreak105 https://github.com/computerfreak105 The problem is that channel is using stylized unicode characters which each use 4 bytes against the 255 limit, basically reducing it to about 64. You could try shortening GPodderDownloads to G to free up 15 characters. You could rename Mia Smash Roblox Live, Deu to something shorter as well. I don't know if gpo can rename channels, but the gtk client can.

— Reply to this email directly, view it on GitHub https://github.com/gpodder/gpodder/issues/1634#issuecomment-2254664126 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNRICUEHPU35O6QYV4CML3ZOVTLFAVCNFSM6AAAAABJO6RNFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGY3DIMJSGY . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ACNRICVOC6XFRIDTFUJ2ONDZOVTLFA5CNFSM6AAAAABJO6RNFKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUGMNY34.gif Message ID: @. @.> >

auouymous commented 2 months ago

I noticed the podcast list of the GUI isn’t accessible on the mac, like on windows. I can read some channel names, but I can’t bring the cursor to them and browse all of them. Would it be possible to include the possibility to navigate it with all cursor keys

That might be an issue with Gtk on Mac. When you focus the channel list, Gtk moves the selection with the up and down arrows.

and having the + key of the numpad doing the right mouse click to open the context menu of a selected channel?

The menu key opens context menu for selected channel or episode on Linux, and I assume also on Windows. https://www.reddit.com/r/osx/comments/48wt4a/mac_equivalent_to_menu_key/ might have a solution. We want to add support for user-defined keys mapped to actions. If that ever happens, we could add an action to open the selected context menu.

cursor right would expand them and set the focus to the episodes, cursor left would close the episode list again.

I am using a patch that allows left and right arrows to cycle focus between channels, episodes and progress. I disabled it when some widgets like the tabs have focus because they use the arrows to navigate. I also need to disable it when the shownotes have focus, otherwise you can't use left and right arrows there. One day I'll find all the edge cases and maybe merge it. Or maybe the keys/actions mentioned above can be used to focus specific lists.

Letterbased navigation to move quickly to channels like in finder would be great as well.

Not if you mean pressing 'b' to jump to the first channel starting with a 'b'. Sections split the channel list into groups of related channels and would break that feature. And the future keys/actions feature would be using those letters.