Skip to content

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

Description

@martinkeat

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions