Title: Default playlist image is outdated
Last modified: April 4, 2017

---

# Default playlist image is outdated

 *  [jasonbear](https://wordpress.org/support/users/jasonbear/)
 * (@jasonbear)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/default-playlist-image-is-outdated/)
 * Hello,
 * I love this plugin! It has greatly decreased the load time of my pages.
 * I have a small problem, though. When I use a playlist URL (e.g., httpv://www.
   youtube.com/playlist?list=xxxxxxxxxxxxxxx), the default image is that of a random,
   2-year-old video instead of the most recent video that was posted a week ago.
   How can I get _WP YouTube Lyte_ to use the most recent video to generate the 
   default image?
 * NOTE: I have already emptied WP YouTube Lyte’s cache.
    -  This topic was modified 9 years, 2 months ago by [jasonbear](https://wordpress.org/support/users/jasonbear/).

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/default-playlist-image-is-outdated/#post-8994166)
 * morning [@jasonbear](https://wordpress.org/support/users/jasonbear/);
    WP Youtube
   Lyte uses the thumbnail for the playlist as [received from the youtube API](https://developers.google.com/youtube/v3/docs/playlists#resource),
   so the thumbnail would only be updated if the thumbnail URL is updated in YT’s
   API response, but I have no idea when this would happen (or not happen) I’m afraid.
 * But … it _could_ be that there’s a problem with the cache not _really_ being 
   emptied (seen this happen), so you could try add the playlist in a test-post 
   to see if you see the correct thumbnail there?
 * frank
 *  [inktvusa](https://wordpress.org/support/users/inktv/)
 * (@inktv)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/default-playlist-image-is-outdated/#post-9020909)
 * [@futtta](https://wordpress.org/support/users/futtta/) – I had this error occur
   yesterday for me as well and clearing the cache via cron and other methods that
   previously worked, no longer cleared the cache. I went into the dashboard and
   cleared the cache through WP YouTube Lyte settings and it did not work either.
   I have several hundred videos in my playlist FYI. I am going to install the latest
   dev-version from GitHub and record the results. Thanks! 🙂
 *  [inktvusa](https://wordpress.org/support/users/inktv/)
 * (@inktv)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/default-playlist-image-is-outdated/#post-9020941)
 * [@futtta](https://wordpress.org/support/users/futtta/) – Installed the GH version
   and the cache issue still persists.
 * I am now clearing the cache by using MySQL/MariaDB’s `event_scheduler` function
   to directly clear meta_value of meta_key `_lyte_xxxx` under `wp_postmeta`.
 * This immediately works and begins to display the correct image. Wish I did not
   have to jump through these hoops to avoid 500kB of youtube files loading on embed.
   Haha. 🙂
 * EDIT:
 *     ```
       'CREATE EVENT 
       ON SCHEDULE EVERY 1 DAY
       STARTS '2017-04-11 00:00:00'
       DO
       UPDATE  'my_wp_database'.'wp_postmeta' SET  'meta_value' =  '' WHERE  'wp_postmeta'.'meta_id' =11950;'
       ```
   
    -  This reply was modified 9 years, 1 month ago by [inktvusa](https://wordpress.org/support/users/inktv/).
 *  Thread Starter [jasonbear](https://wordpress.org/support/users/jasonbear/)
 * (@jasonbear)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/default-playlist-image-is-outdated/#post-9021035)
 * Excellent, BrotherS! Now, how do we directly clear meta_value of meta_key _\_lyte\
   _xxxx_ under _wp\_postmeta_ by way of the WordPress admin?
 * 🙂
 *  [inktvusa](https://wordpress.org/support/users/inktv/)
 * (@inktv)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/default-playlist-image-is-outdated/#post-9021249)
 * [@jasonbear](https://wordpress.org/support/users/jasonbear/) – You could theoretically
   use a plugin like SQL Executioner, but if you are not comfortable with databases,
   you can destroy your website. I would advise against using it if you are not 
   comfortable. Thanks!
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/default-playlist-image-is-outdated/#post-9021717)
 * nice one BrotherS 🙂
 * the trick explained [in this blogpost](https://wordpress.org/support/topic/default-playlist-image-is-outdated/#post-9020909)
   is somewhat less risky 🙂
 *  [inktvusa](https://wordpress.org/support/users/inktv/)
 * (@inktv)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/default-playlist-image-is-outdated/#post-9034556)
 * [@futtta](https://wordpress.org/support/users/futtta/) [@jasonbear](https://wordpress.org/support/users/jasonbear/)–
   I decided to share the script I am using since it seemed people are not comfortable
   with working directly with databases.
 * [https://pastebin.com/JcPJjnjw](https://pastebin.com/JcPJjnjw)
 * Hope this helps, it is the easiest way I could do it. It has been working flawlessly
   for me. 🙂
 * Cheers!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Default playlist image is outdated’ is closed to new replies.

 * ![](https://ps.w.org/wp-youtube-lyte/assets/icon-128x128.png?rev=1836005)
 * [WP YouTube Lyte](https://wordpress.org/plugins/wp-youtube-lyte/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-youtube-lyte/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-youtube-lyte/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-youtube-lyte/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-youtube-lyte/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-youtube-lyte/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [inktvusa](https://wordpress.org/support/users/inktv/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/default-playlist-image-is-outdated/#post-9034556)
 * Status: not resolved