• Resolved jonesgaming2105

    (@jonesgaming2105)


    Hello,

    it seems that the plugin did not snyc all available videos from my YouTube channel as it synced the first time. I have now 556 posts created by the plugin but i have 2500 videos on YouTube. Any idea how i can sync all my videos?

    Kind regards,
    Jones

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author tubegtld

    (@tubegtld)

    How much time passed while all of these videos were added?

    And did your site have traffic during that time?

    WP Cron requires site traffic to “fire” off, so if it had been a long time since the last visit and/or a LOT of videos were added, it’s likely the server would choke trying to import that many videos (especially if you have a 60 second timeout).

    Probably the easiest thing to do at this point would be to set a high number of videos per page in the channel video list in admin and do “import all” for each page.

    You’d basically have 40 pages to go through for 2000 videos if you did 50 per page.

    Realize that’s not ideal but you’re talking about a very large volume of videos.

    The only thing that’d really allow for so many to be imported would be to upgrade the import functionality to use a “background queue” type of setup but that’s not really in the pipeline.

    • This reply was modified 6 years, 10 months ago by tubegtld.
    • This reply was modified 6 years, 10 months ago by tubegtld.
    Thread Starter jonesgaming2105

    (@jonesgaming2105)

    I am running the plugin for about 2 or 3 weeks now. I don’t think the site had much traffic so it could be related to php’s timeout. Today i changed it to 240 seconds.

    .TUBE Curator tells me it has 2577 video available but i have only 617 posts. I changed the results to 50 and looked at each page. All videos are published but i have only 13 pages. There are also no skipped videos.

    Plugin Author tubegtld

    (@tubegtld)

    Looks like the API only returns up to 500 videos for a channel.

    “Note: Search results are constrained to a maximum of 500 videos if your request specifies a value for the channelId parameter and sets the type parameter value to video, but it does not also set one of the forContentOwner, forDeveloper, or forMine filters.”
    https://developers.google.com/youtube/v3/docs/search/list

    I tested this on my local dev and was only able to get 10 pages of results for channels with multi-thousands of videos.

    While this is unfortunate, it’s not something I’ll be able to solve for.

    Please mark as resolved if you don’t mind ??

    Thread Starter jonesgaming2105

    (@jonesgaming2105)

    Ah ok – i didn’t know the API just returns 500 values. No problem – not your fault ??

    Thanks again for support!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin not fetching all Videos from YouTube Channel’ is closed to new replies.