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

There was an error getting channel metadata: From c.GetMetadata(): #128

Open
martinkeat opened this issue Feb 16, 2024 · 1 comment
Open

Comments

@martinkeat
Copy link

Describe the bug
Unable to get meta data

To Reproduce
DL channel https://www.youtube.com/channel/UClG1wHeJiQebeoTYuViI-rA "audio only"

Expected behavior
Dowload it.

Screenshots
If applicable, add screenshots to help explain your problem.

{"level":"info","msg":"Initiating db","time":"2024-02-16T06:58:33Z"}
{"level":"info","msg":"server running on port 8080","time":"2024-02-16T06:58:33Z"}
{"level":"error","msg":"uploadCheckerChannels: GetCheckingInterval: empty target list","time":"2024-02-16T06:58:33Z"}
{"level":"error","msg":"uploadCheckerPlaylists: GetCheckingInterval: empty target list","time":"2024-02-16T06:58:33Z"}
{"level":"info","msg":"getting all channels from channels.json","time":"2024-02-16T07:00:56Z"}
{"level":"info","msg":"successfully read all channels","time":"2024-02-16T07:00:56Z"}
{"level":"info","msg":"[]","time":"2024-02-16T07:00:56Z"}
{"level":"info","msg":"received a request to get the checking interval","time":"2024-02-16T07:00:56Z"}
{"level":"info","msg":"returning response: {Error ERROR_GETTING_CHECKING_INTERVAL There was an error while getting the checking interval: GetCheckingInterval: empty target list}","time":"2024-02-16T07:00:56Z"}
{"level":"info","msg":"received a request to get the checking interval","time":"2024-02-16T07:01:36Z"}
{"level":"info","msg":"returning response: {Error ERROR_GETTING_CHECKING_INTERVAL There was an error while getting the checking interval: GetCheckingInterval: empty target list}","time":"2024-02-16T07:01:36Z"}
{"level":"info","msg":"getting all channels from channels.json","time":"2024-02-16T07:01:36Z"}
{"level":"info","msg":"successfully read all channels","time":"2024-02-16T07:01:36Z"}
{"level":"info","msg":"[]","time":"2024-02-16T07:01:36Z"}
{"level":"info","msg":"received a request to get all videos","time":"2024-02-16T07:01:38Z"}
{"level":"info","msg":"getting all videos from videos.json","time":"2024-02-16T07:01:38Z"}
{"level":"info","msg":"successfully read all channels","time":"2024-02-16T07:01:38Z"}
{"level":"info","msg":"getting all channels from channels.json","time":"2024-02-16T07:01:40Z"}
{"level":"info","msg":"successfully read all channels","time":"2024-02-16T07:01:40Z"}
{"level":"info","msg":"[]","time":"2024-02-16T07:01:40Z"}
{"level":"info","msg":"received a request to get the checking interval","time":"2024-02-16T07:01:40Z"}
{"level":"info","msg":"returning response: {Error ERROR_GETTING_CHECKING_INTERVAL There was an error while getting the checking interval: GetCheckingInterval: empty target list}","time":"2024-02-16T07:01:40Z"}
{"level":"info","msg":"checking for all channels","time":"2024-02-16T07:02:08Z"}
{"level":"info","msg":"getting all channels from channels.json","time":"2024-02-16T07:02:08Z"}
{"level":"info","msg":"successfully read all channels","time":"2024-02-16T07:02:08Z"}
{"level":"info","msg":"[]","time":"2024-02-16T07:02:08Z"}
{"level":"info","msg":"returning response: {Success NO_NEW_VIDEOS No new videos found.}","time":"2024-02-16T07:02:08Z"}
{"level":"info","msg":"getting all channels from channels.json","time":"2024-02-16T07:02:08Z"}
{"level":"info","msg":"successfully read all channels","time":"2024-02-16T07:02:08Z"}
{"level":"info","msg":"[]","time":"2024-02-16T07:02:08Z"}
{"level":"info","msg":"received a request to get the checking interval","time":"2024-02-16T07:02:21Z"}
{"level":"info","msg":"returning response: {Error ERROR_GETTING_CHECKING_INTERVAL There was an error while getting the checking interval: GetCheckingInterval: empty target list}","time":"2024-02-16T07:02:21Z"}
{"level":"info","msg":"getting all channels from channels.json","time":"2024-02-16T07:02:21Z"}
{"level":"info","msg":"successfully read all channels","time":"2024-02-16T07:02:21Z"}
{"level":"info","msg":"[]","time":"2024-02-16T07:02:21Z"}
{"level":"info","msg":"received a request to get the checking interval","time":"2024-02-16T07:02:30Z"}
{"level":"info","msg":"returning response: {Error ERROR_GETTING_CHECKING_INTERVAL There was an error while getting the checking interval: GetCheckingInterval: empty target list}","time":"2024-02-16T07:02:30Z"}
{"level":"info","msg":"getting all channels from channels.json","time":"2024-02-16T07:02:30Z"}
{"level":"info","msg":"successfully read all channels","time":"2024-02-16T07:02:30Z"}
{"level":"info","msg":"[]","time":"2024-02-16T07:02:30Z"}
{"level":"error","msg":"uploadCheckerPlaylists: GetCheckingInterval: empty target list","time":"2024-02-16T07:03:33Z"}
{"level":"error","msg":"uploadCheckerChannels: GetCheckingInterval: empty target list","time":"2024-02-16T07:03:33Z"}
{"level":"info","msg":"received a request to add a target","time":"2024-02-16T07:04:28Z"}
{"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl -j --playlist-end 1 https://www.youtube.com/channel/UClG1wHeJiQebeoTYuViI-rA","time":"2024-02-16T07:04:28Z"}
{"level":"error","msg":"From GetMetadata(): unexpected end of JSON input","time":"2024-02-16T07:04:30Z"}
{"level":"info","msg":"returning response: {Error ERROR_GETTING_METADATA There was an error getting channel metadata: From c.GetMetadata(): }","time":"2024-02-16T07:04:30Z"}
{"level":"info","msg":"getting all channels from channels.json","time":"2024-02-16T07:04:30Z"}
{"level":"info","msg":"successfully read all channels","time":"2024-02-16T07:04:30Z"}
{"level":"info","msg":"[]","time":"2024-02-16T07:04:30Z"}
{"level":"info","msg":"received a request to add a target","time":"2024-02-16T07:04:37Z"}
{"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl -j --playlist-end 1 https://www.youtube.com/channel/UClG1wHeJiQebeoTYuViI-rA","time":"2024-02-16T07:04:37Z"}
{"level":"error","msg":"From GetMetadata(): unexpected end of JSON input","time":"2024-02-16T07:04:39Z"}
{"level":"info","msg":"returning response: {Error ERROR_GETTING_METADATA There was an error getting channel metadata: From c.GetMetadata(): }","time":"2024-02-16T07:04:39Z"}
{"level":"info","msg":"getting all channels from channels.json","time":"2024-02-16T07:04:39Z"}
{"level":"info","msg":"successfully read all channels","time":"2024-02-16T07:04:39Z"}
{"level":"info","msg":"[]","time":"2024-02-16T07:04:39Z"}

Desktop (please complete the following information):
Unraid OS docker container

Additional context
Add any other context about the problem here.

@XiovV
Copy link
Owner

XiovV commented Feb 16, 2024

Hey @martinkeat, thanks for reporting this issue. The current version is unsupported, as I am working on V2 (check out the README for screenshots). Would you like me to tag you when V2 is ready? It should be much better than the current version, which is old and doesn't work anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants