Embeds allowing bloggers to easily embed videos from Distrify. Just go to any Distrify film page or player and copy the URL. Paste that URL in any WordPress blog and it will automatically be converted to an embedded Distrify player. If you are logged in to distrify.com it will automatically add your affiliate tracking code to your embeds. Make sure you turn on Auto-embeds in your WP settings and also make sure that the URL is on its own line and not hyperlinked (clickable when viewing the post). The plugin also extracts the still image from the film and saves it as the Featured Image for the post. This actually works for any Embed (not just Distrify) that you embed into your WordPress blog. Author: Distrify Limited Version: 0.3.1 Author URI: http://www.distrify.com License: GPL2 Copyright 2011-2013 Distrify (email : hello@distrify.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ /** * Does the work of adding the Distrify provider to wp_oembed */ function add_distrify_provider($the_content){ require_once( ABSPATH . WPINC . '/class-oembed.php' ); wp_oembed_add_provider('#https?://(www\.)?(distrify|muvies).com/films/.*#i', 'http://distrify.com/oembed.json', true ); wp_oembed_add_provider('http://muvi.es/*', 'http://distrify.com/oembed.json' ); wp_oembed_add_provider('#https?://.*\.muvies.com/.*reviews/.*#i', 'http://distrify.com/oembed.json', true ); } //add the provider on plugins_loaded. add_action('plugins_loaded', 'add_distrify_provider'); /** * from http://wordpress.stackexchange.com/q/70752/1685 * Automatically set the featured image if an oEmbed-compatible embed is found in the post content. * author: TheDeadMedic * author URI: http://wordpress.stackexchange.com/users/1685/thedeadmedic * */ add_action( 'wp_insert_post', array( 'ofi', 'init' ) ); class ofi { /** * The post thumbnail ID * * @var int */ private $_thumb_id; /** * The post ID * * @var int */ private $_post_id; /** * Sets up an instance if called statically, and attempts to set the featured * image from an embed in the post content (if one has not already been set). * * @param int $post_id * @return object|null */ public function init( $post_id ) { if ( ! isset( $this ) ) return new ofi( $post_id ); global $wp_embed; $this->_post_id = absint( $post_id ); if ( ! $this->_thumb_id = get_post_meta( $this->_post_id, '_thumbnail_id', true ) ) { if ( $content = get_post_field( 'post_content', $this->_post_id, 'raw' ) ) { add_filter( 'oembed_dataparse', array( $this, 'oembed_dataparse' ), 10, 3 ); $wp_embed->autoembed( $content ); remove_filter( 'oembed_dataparse', array( $this, 'oembed_dataparse' ), 10, 3 ); } } } /** * @see init() */ public function __construct( $post_id ) { $this->init( $post_id ); } /** * Callback for the "oembed_dataparse" hook, which will fire on a successful * response from the oEmbed provider. * * @see WP_oEmbed::data2html() * * @param string $return The embed HTML * @param object $data The oEmbed response * @param string $url The oEmbed content URL */ public function oembed_dataparse( $return, $data, $url ) { if ( ! empty( $data->thumbnail_url ) && ! $this->_thumb_id ) { // if ( in_array( @ $data->type, array( 'video' ) ) ) // Only set for video embeds $this->set_thumb_by_url( $data->thumbnail_url, @ $data->title ); } } /** * Attempt to download the image from the URL, add it to the media library, * and set as the featured image. * * @see media_sideload_image() * * @param string $url * @param string $title Optionally set attachment title */ public function set_thumb_by_url( $url, $title = null ) { /* Following assets will already be loaded if in admin */ require_once ABSPATH . 'wp-admin/includes/file.php'; require_once ABSPATH . 'wp-admin/includes/media.php'; require_once ABSPATH . 'wp-admin/includes/image.php'; $temp = download_url( $url ); if ( ! is_wp_error( $temp ) && $info = @ getimagesize( $temp ) ) { if ( ! strlen( $title ) ) $title = null; if ( ! $ext = image_type_to_extension( $info[2] ) ) $ext = '.jpg'; $data = array( 'name' => md5( $url ) . $ext, 'tmp_name' => $temp, ); $id = media_handle_sideload( $data, $this->_post_id, $title ); if ( ! is_wp_error( $id ) ) return update_post_meta( $this->_post_id, '_thumbnail_id', $this->_thumb_id = $id ); } if ( ! is_wp_error( $temp ) ) @ unlink( $temp ); } } Funk – The Earology Dept. https://www.theearologydept.com Where the food sounds good, and the music is pretty tasty too. Wed, 08 Jul 2015 20:08:30 +0000 en-US hourly 1 https://wordpress.org/?v=5.2.20 50391680 pablo nutini | let me down easy https://www.theearologydept.com/pablo-nutini-let-easy/ https://www.theearologydept.com/pablo-nutini-let-easy/#respond Sat, 01 Nov 2014 01:35:26 +0000 http://www.theearologydept.com/?p=11879   Pablo Nutini will not be denied entry into your heart. And let’s face it this man is destined to settle into the soft tissue of your brain matter like a thorny crucible. So when the needle drops and the song Let Me Down Easy starts to play make sure you have some Cognac (or …

The post pablo nutini | let me down easy appeared first on The Earology Dept..

]]>

 
Pablo Nutini will not be denied entry into your heart. And let’s face it this man is destined to settle into the soft tissue of your brain matter like a thorny crucible. So when the needle drops and the song Let Me Down Easy starts to play make sure you have some Cognac (or some other heavy hitting elixir) close at hand to steady your nerves.

The song is lifted from the stellar release Caustic Love album out now via Warner Music. And if by chance your hands aren’t shaking too much by the records end call me on the phone and say thank you. Peace.
 

 
Artist: Pablo Nutini
Release: Caustic Love
Amazon
iTunes
Lyrics:

Let me down easy
Though your love for me is gone
Let me down easy
Since you feel that staying is wrong?

We are broken by others
But we mend ourselves
We take comfort in strangers
But I don’t think it helps
If every fool were a clown
I would be a king and not a clown
Cause love can’t?
Closer than our hands and our feet

But it’s lost on me
Oh oh
It’s lost on me
Your love for me is wrong
Let me down easy
since you feel that staying is wrong?
There was no sweeter fruit than this
With no taste of bitterness
It was so fresh and sweet before
But I can’t taste it anymore

I was like a man with no candy?
I had everything
But as long as?

Your love for me is wrong
Let me down easy
Your love for me is gone
Let me down easy
Since you feel that staying is wrong?

On a better day
we’d be waiting on our corner
Selling dreams of redemption
But this time you’ve gone your way
So I’ll go mine
Out of sight, out of love, out of time

Your love for me is wrong
Let me down easy
Your love for me is gone
Let me down easy
Since you feel that staying is wrong?

Let me down easy

writers: Paolo Nutini

copyright: EMI Music Publishing, Warner/Chappell Music, Inc.

The post pablo nutini | let me down easy appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/pablo-nutini-let-easy/feed/ 0 11879
orange creme // glass disco ep https://www.theearologydept.com/orange-creme-glass-disco-ep/ https://www.theearologydept.com/orange-creme-glass-disco-ep/#respond Fri, 16 Aug 2013 23:57:16 +0000 http://www.theearologydept.com/?p=10313   orange creme // glass disco ep   This is the sound of after hours New York disco. It is familiar and haunting. Cosmic and analog. At times reminiscent of Lindstrom, and Todd Terje but with its own unique Brooklyn atmosphere. On the first track: Night Train, the rhythm is gorgeous disco funk, with stabs …

The post orange creme // glass disco ep appeared first on The Earology Dept..

]]>

 

orange creme // glass disco ep

 
This is the sound of after hours New York disco. It is familiar and haunting. Cosmic and analog. At times reminiscent of Lindstrom, and Todd Terje but with its own unique Brooklyn atmosphere.

On the first track: Night Train, the rhythm is gorgeous disco funk, with stabs of glittering synths – and a middle section that surprises with hazy, bubbling arpeggios that seem stolen from an italo soundtrack.

Sunset Drive is a more intense four-to-the-floor cut. The rubbery bass intertwining with waves of shimmering, repetitive synth lines over a deep, driving kick and detailed percussion. It’s a track that takes 1990’s house and re-imagines it as psychedelic deep disco.

It is available online for free download and in a limited edition cassette at record stores in NYC on Cassette Store Day, September 7th.
Details will be posted on our website. Thank you for your time and for listening. Peace.

The post orange creme // glass disco ep appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/orange-creme-glass-disco-ep/feed/ 0 10313
l.a.m.p // springtime https://www.theearologydept.com/l-a-m-p-springtime/ https://www.theearologydept.com/l-a-m-p-springtime/#respond Sun, 26 May 2013 17:46:38 +0000 http://www.theearologydept.com/?p=8700 The Rurals frontman Andy Compton has joined forces with Julie Monnin aka Ladybird and together as L.A.M.P they’re bringing us the fresh as daisies track “Springtime”. While listening to this right away you’ll notice the wide range of influences, from Jazz Funk, Classic R&B, Neo Soul and a sprinkling of Reggae.  The duo are gearing …

The post l.a.m.p // springtime appeared first on The Earology Dept..

]]>

The Rurals frontman Andy Compton has joined forces with Julie Monnin aka Ladybird and together as L.A.M.P they’re bringing us the fresh as daisies track “Springtime”. While listening to this right away you’ll notice the wide range of influences, from Jazz Funk, Classic R&B, Neo Soul and a sprinkling of Reggae.  The duo are gearing up to release their forthcoming debut release Shades of Green LP on June 2th via Peng Records. Peace.

The post l.a.m.p // springtime appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/l-a-m-p-springtime/feed/ 0 8700
Cherub // XOXO (don winsley remix) https://www.theearologydept.com/cherub-xoxo-don-winsley-remix/ https://www.theearologydept.com/cherub-xoxo-don-winsley-remix/#respond Fri, 11 May 2012 01:19:46 +0000 http://mittenmouthmusic.wordpress.com/?p=5531 Perennial funksters (not hipsters) duo Jordan Kelley and Jason Huber bka Cherub are funky! Imagine if Rick James’ sweat was crystallized into pill form, dusted with the liquored breath of the best dance music available, then served piping hot between the sweaty thighs of R&B and Soul music personified in the form of Pam Grier …

The post Cherub // XOXO (don winsley remix) appeared first on The Earology Dept..

]]>

Perennial funksters (not hipsters) duo Jordan Kelley and Jason Huber bka Cherub are funky! Imagine if Rick James’ sweat was crystallized into pill form, dusted with the liquored breath of the best dance music available, then served piping hot between the sweaty thighs of R&B and Soul music personified in the form of Pam Grier in her heyday. Yes, it’s an image you won’t soon forget, and like the Don Winsley remix of “XOXO” it’s a track your ears aren’t likely to soon forget either.  So go ahead, douse yourself in this vat of clarified soul essence, and they’ll be mopping up your puddled form off the dance floor as soon as the track ends. Peace.

The post Cherub // XOXO (don winsley remix) appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/cherub-xoxo-don-winsley-remix/feed/ 0 5531
THEESatisfaction // QueenS (Our Sunday Best) https://www.theearologydept.com/theesatisfaction-queens/ https://www.theearologydept.com/theesatisfaction-queens/#respond Sun, 12 Feb 2012 13:28:55 +0000 http://mittenmouthmusic.wordpress.com/?p=4132 Shabazz Palaces protégés THEESatisfaction (Stasia Irons and Catherine Harris-White bka Cat and Stas) are the antithesis to the music industry cash cow, ala Nicki Minaj (No disrespect, just a fact). So the chances of hearing these cool and positively energetic dames on American Top 40 with Ryan Seacrest anytime soon? HA! Forget about it. And, …

The post THEESatisfaction // QueenS (Our Sunday Best) appeared first on The Earology Dept..

]]>

Shabazz Palaces protégés THEESatisfaction (Stasia Irons and Catherine Harris-White bka Cat and Stas) are the antithesis to the music industry cash cow, ala Nicki Minaj (No disrespect, just a fact). So the chances of hearing these cool and positively energetic dames on American Top 40 with Ryan Seacrest anytime soon? HA! Forget about it. And, I’m fairly certain they’re alright with not ripping Victoria Secret’s runway or culling a brutish male altar-ego too. Mainly because these young hip hop heads aren’t interested in artifice, nope not even a lil’ bit. And, you can best believe both like nothing better than to shake it up a bit and bust out pop culture and put its fickleness on front street, if you catch my drift. According to various sources, the duo met at college and discovered not a few mutual interests, ranging from classic, circa 70’s R&B to Funk and Jazz influences, an affinity for William the Shakespeare, and not surprisingly the sounds and ethos of 80’s and 90’s hip hop. Together, their sound is heavily steeped in, not only R&B and the like, but thought-provoking observations on a world not seen through rose-colored lenses. Peep the newly minted single “Queens” to understand where they’re coming from. THEESatisfaction are releasing their debut LP awE naturalE via Sub Pop on March 27th. You can also cop the free download of the single QueenS here. Peace.

“QueenS”

(Via snipelondon)

Sandra Bullocks Black Baby Boy (March 2011)

The post THEESatisfaction // QueenS (Our Sunday Best) appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/theesatisfaction-queens/feed/ 0 4132
Cavaliers of Fun – Sharing Space Secrets https://www.theearologydept.com/cavaliers-of-fun-sharing-space-secrets/ https://www.theearologydept.com/cavaliers-of-fun-sharing-space-secrets/#respond Sat, 17 Sep 2011 15:09:56 +0000 http://mittenmouthmusic.wordpress.com/?p=666 The universe created music for every conceivable situation, right? Right now I feeling pretty chill and so to soundtrack this particular mood I am playing one man band Cavaliers of Fun . I like the spacey sound, and I am set adrift upon rifts of intergalactic beats pelting my eardrums like cotton candy asteroids. You …

The post Cavaliers of Fun – Sharing Space Secrets appeared first on The Earology Dept..

]]>
Cavaliers of Fun - Sharing Space Secrets

The universe created music for every conceivable situation, right? Right now I feeling pretty chill and so to soundtrack this particular mood I am playing one man band Cavaliers of Fun . I like the spacey sound, and I am set adrift upon rifts of intergalactic beats pelting my eardrums like cotton candy asteroids. You get the idea. The Sharing Space Secrets EP is the perfect little sound pill for whatever ails you. Thank you Ricco Vitali. Peace.


The post Cavaliers of Fun – Sharing Space Secrets appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/cavaliers-of-fun-sharing-space-secrets/feed/ 0 666