• aunpric

    (@aunpric)


    Hi i Used Your Old code which work without any problem Now Im trying that code with Playlist But Its not Working
    Here Is The code

    'youtube-official-bollywood-latest-movie-trailers-upcoming-movies-new-releases-2017' => array( 542 ),

    here is the actual Playlist Tittle

    Official Bollywood Latest Movie Trailers | Upcoming Movies | New Releases | 2017

    I removed | these sign and make all word in small i dont know where im making a mistake

    • This topic was modified 7 years ago by aunpric.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter aunpric

    (@aunpric)

    the Upper code is Just a Part FYI

    Plugin Author tubegtld

    (@tubegtld)

    The code is designed to work with channels, not playlists.

    I can try to come up with a solution for playlists, but it may require some new filters / additional filter args.

    Prob won’t be able to get to that today but will keep on radar and update here.

    Thread Starter aunpric

    (@aunpric)

    Thanks No Problem I can wait

    Thread Starter aunpric

    (@aunpric)

    any update?

    Plugin Author tubegtld

    (@tubegtld)

    Sorry, been slow to get to this.

    I’ve got a solution on my local but still need to do some testing to make sure it works for CRON jobs.

    The solution basically involves setting up some post meta on the Channel or Playlist post that contains a serialized array of Term IDs to associate with that channel or playlist.

    Will keep you posted as to when it’s working / pushed for you to grab and try.

    Plugin Author tubegtld

    (@tubegtld)

    Okay, I’ve pushed an update (v1.1.8) of the plugin that provides support for “source” specific terms IDs, meaning you can associate specific terms with any channel or playlist.

    To do so, you will need to set a post_meta value for tube_source_term_ids which will be a comma list of term IDs.

    NOTE: there’s no “frontend” for this at this point, so you’ll need to add the postmeta via database or call to update_post_meta for the desired source.

    To find the post ID of a source, go to TUBE Curator > Your Channels & Playlists and click on the source you’re working with. The post ID will be in the address bar. The process is similar for finding a term ID, but you’ll need to browse the appropriate taxonomy/ies.

    So if the source post ID were 418, and you wanted videos from that source to use terms 542 and 610, you’d set up the postmeta like this…

    update_post_meta( 418, 'tube_source_term_ids', '542,610' );

    Then, these terms will be applied during video creation in admin and via CRON-based imports.

    Please give this a shot and update here.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem With playlist with particular category import’ is closed to new replies.