Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Error while collecting source feeds..." #669

Open
jarjarfinks opened this issue Apr 4, 2024 · 3 comments
Open

"Error while collecting source feeds..." #669

jarjarfinks opened this issue Apr 4, 2024 · 3 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@jarjarfinks
Copy link

jarjarfinks commented Apr 4, 2024

I tried to use freyr today and I got the error "Error while collecting source feeds" and the full output is as such:

Checking directory permissions...[done] 
[spotify:track:6aLsBnxshrEmFAmoPu57d6]
 [•] Identifying service...[Spotify]
 [•] Checking authentication...[authenticated]
 Detected [track]
 Obtaining track metadata...[done] 
  ➤ Title: American Sun
  ➤ Album: American Sun
  ➤ Artist: Fire From The Gods
  ➤ Year: 2019
  ➤ Playtime: 03:38
 [•] Collating...
 • [03 American Sun]
    | ➤ Collating sources...
    |  ➤ [•] YouTube Music...[success, found 5 sources]
    | ➤ Awaiting audiofeeds...[Unable to collect source feeds]
 [•] Download Complete
 [•] Embedding Metadata...
  • [✕] 03 American Sun [spotify:track:6aLsBnxshrEmFAmoPu57d6] (failed: Error while collecting sources feeds)
[•] Collation Complete
============ Stats ============
 [•] Runtime: [2.1s]
 [•] Total queries: [01]
 [•] Total tracks: [01]
     » Skipped: [00]
     ✓ Passed:  [00]
     ✕ Failed:  [01]
 [•] Output directory: [.]
 [•] Total Output size: 0.00 B
 [•] Total Network Usage: 0.00 B
     ♫ Media: 0.00 B
     ➤ Album Art: 0.00 B
 [•] Output bitrate: 320k
===============================

I triple checked to figure out if AtomicParsley was installed and no issues there. Any idea what's happening?

@miraclx
Copy link
Owner

miraclx commented Apr 10, 2024

Hi Joshua, sorry for the delay, just found this buried in my inbox.

This is an issue with youtube-dl instead. Can you check if it this works:

$ yt-dlp Q1kmXoeeKAE

Add the full logs, please.

Also, can you confirm which version of freyr you have installed? And how you installed it? You cut off the header so I can't tell.

@miraclx
Copy link
Owner

miraclx commented Apr 10, 2024

This is prob connected to why CI tests are failing anyway..

https://github.com/miraclx/freyr-js/actions/runs/8623905754/job/23637972957

Worth investigating when I find the time

@miraclx miraclx added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers labels Apr 10, 2024
@miraclx
Copy link
Owner

miraclx commented Apr 11, 2024

Found out why CI was failing, over-dependence on caches. Looks like 2 months ago, we cached an image that didn't appropriately download the yt-dlp subdependency of youtube-dl-exec and we kept reusing that image since freyr didn't change in this period of time.

Had to evict caches, and now it works! - https://github.com/miraclx/freyr-js/actions/runs/8623905754/job/23690297872

miraclx added a commit that referenced this issue Apr 11, 2024
Add a test to ensure the `yt-dlp` binary is present after `install` has been run.

> Found out why CI was failing, over-dependence on caches. Looks like 2 months ago, we cached an image that didn't appropriately download the `yt-dlp` subdependency of `youtube-dl-exec` and we kept reusing that image since freyr didn't change in this period of time.
> 
> Had to evict caches, and now it works! - [miraclx/freyr-js/actions/runs/8623905754/job/23690297872](https://github.com/miraclx/freyr-js/actions/runs/8623905754/job/23690297872)

_Originally posted by @miraclx in #669 (comment)

Linked: microlinkhq/youtube-dl-exec#190
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants