Skip to main content

Notice

If you are using a Hotmail or Outlook email address, please change it now, as Microsoft is rejecting all email from our service outright.
Topic: foo_youtube (Read 274050 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: foo_youtube

Reply #1375
I just installed youtube-dl 2021.01.08, the latest as of this post, and downloaded the SoundCloud URL posted above.

Code: [Select]
$ file Khromata\ -\ Apson\ Psydub\ \(Psydub\ Mix\ DJ\ Set\)-94742888.mp3
Khromata - Apson Psydub (Psydub Mix DJ Set)-94742888.mp3: Audio file with ID3 version 2.2.0, contains:MPEG ADTS, layer III, v1, 320 kbps, 44.1 kHz, Stereo
yeah, youtube-dl download it without problem, but if open link in foobar using FIle->Youtube Source ->Add multiple URLs... error message posted above appears. it plays only if change Youtube source playback quality from best to 128kbps. atleast this is what i get.

Re: foo_youtube

Reply #1376
Maybe foo_youtube and/or youtube-dl don't want you streaming the download version.

Re: foo_youtube

Reply #1377
You might need to modify the rules for "Best" or at least create one that would work for soundcould download version.

Re: foo_youtube

Reply #1378
You might need to modify the rules for "Best" or at least create one that would work for soundcould download version.

for now, i just download it with youtube-dl and then add to foobar

Re: foo_youtube

Reply #1379
All of a sudden I cannot access and play Youtube videos. I've rebooted, removed and reinstalled foo_youtube (3.7) and related components. Even added an API key. It does work with those videos on my computer so it seems this could be some sort of access problem.

Where I already set up the link in a playlist, I get this error (happens to all Youtube links):

  • Unable to open item for playback (Youtube Source: youtube-dl: Unable to download webpage: HTTP Error 429: Too Many Requests (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. | Analysis, no video found on ? URL):
    "youtube-dl?url=rJABBmAMXnY"
Weird thing is the video image does show up, but, error pops up, and no video,

Where I try to 'Add location' or  'Youtube Source,...etc' URL, I get the following error:

  • The following error(s) occurred during loading of the location(s):
    Too Many Requests (429)
And I cannot add the Youtube link to the playlist.

I am running Foobar2000 v1.63b3 and have the latest youtube-dl (2021-Jan-8 ), Youtube Source (3.7) VSFilter (3.0.0.306). Unfortunate for me as I created numerous playlists with youtube music links.

Anyone else having this issue? Any ideas?

Re: foo_youtube

Reply #1380
tonyo123 try applying the API key constraint
YouTube Music

Re: foo_youtube

Reply #1381
tonyo123 try applying the API key constraint

Thank you. I added the API key to the Foobar2000 YouTube Source setting. So, I don't understand what 'applying' the API means. Can you elaborate?  PS...Did not have problems  until this week (yesterday). I was not using an API key and it worked fine.


Re: foo_youtube

Reply #1383
Yes, thank you, had/have it 'applied' (checked green). No change. I did recently update to ;atesty Foobar2000 and some of the components. Likely there is where it broke. Just not sure where/why.

PS...I do have ion the same API credentials screen a message with a yellow triangle exclamation point: 'Remember to configure the OAuth consent screen with information about your application!. But, not sure this applies to me as it appears its for developers.

Re: foo_youtube

Reply #1384
I did verify the #429 error appears to be due to too many requests from one IP address (not sure how since I hardly have been playing music videos lately): I ran my vpn and then started F2K, accessed and added video URLs and the videos played.

I found in the development bug site that #429 error appears to be a common error with some suggested fixes. I tried the running youtube-dl.exe in AppData\Roaming\Anvsoft\Common directory within a batch file: 'youtube-dl.exe --cookies cookies.text http://www.youtube.com' and the command runs, but, has no effect on the video access within F2K. Still same error when not using the vpn.

Re: foo_youtube

Reply #1385
in any case, you need to do: delete project- - - new project- - - get credentials- - - apply key constraint.As I understand it, foobar2000 with the API Key 1 cannot be run on a computer other than your own, otherwise the project will stop working.I don't use OAuth.
YouTube Music

Re: foo_youtube

Reply #1386
First, Thanks @SergPuh.68. Followed the direction. Was not able to get it to work. However, finally, here is what did work:

On 'Youtube component for foobar2000': Authenticated access on Youtube

then followed the instructions for 'Built-in support' - borrowing browser cookies from Youtube. This fixed my Error #429 problem. Videos started playing on first try and so on. Thanks to @3dyd, of course.

Re: foo_youtube

Reply #1387
I installed the youtube component and added the url under youtube source. The music(audio) plays great but I get no video only a single shot from the video.

Re: foo_youtube

Reply #1388
kengs51 show the settings.Additional components must have the latest versions:
Youtube source 3.7
LAV filters (external): Splitter 0.74.1, Video 0.74.1
youtube-dl (external): 2021.1.16
libcurl uses (internal): libcurl uses / 7.68.0 secure channel schannel with zlib / 1.2.11 code Brotli/1.0.7 nghttp2/1.40.0
YouTube Music

Re: foo_youtube

Reply #1389
Unfortunately, I can't understand what you are writiing. Thanks for replying though

Re: foo_youtube

Reply #1390
where do I get these additional components. I did find and installed the components but the only one that doesn't show up under preferences is youtube-dl (external): 2021.1.16. When I execute this file a blank command window opens then closes automatically.





Re: foo_youtube

Reply #1392
I executed the youtube dl file and it works. I downloaded a file from youtube and the video now shows too. Thanks so much for all of your help :D

Re: foo_youtube

Reply #1393
The Youtube Source component allows you to watch videos from YouTube without downloading them.
YouTube Music

Re: foo_youtube

Reply #1394
Hm, some playlists stopped working for me.
Example: https://www.youtube.com/playlist?list=PLqGysMwLcMoMJptPQrdfDaf41VfD703Ek
Error:
Code: [Select]
foo_youtube: [error] #12, Analysis, no video found on Youtube: Playlist URL
foo_youtube: #12, https://www.youtube.com/playlist?list=PLqGysMwLcMoMJptPQrdfDaf41VfD703Ek

Tried with `youtube-dl over internal` and with API key: same result.

 

 
SimplePortal 1.0.0 RC1 © 2008-2021