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 ); } } Punk – The Earology Dept. https://www.theearologydept.com Where the food sounds good, and the music is pretty tasty too. Wed, 11 May 2016 13:46:13 +0000 en-US hourly 1 https://wordpress.org/?v=5.2.20 50391680 sorority noise | either way https://www.theearologydept.com/sorority-noise-either-way/ https://www.theearologydept.com/sorority-noise-either-way/#respond Wed, 04 May 2016 13:55:35 +0000 http://www.theearologydept.com/?p=13586   sorority noise | either way   Sorority Noise are solidly east coasters hailing from good old Hartford, Connecticut. And obviously good old Hartford is a pretty good place to stare up an indie rock band. This winsome foursome dedecks their It Kindly Stopped For Me EP with introspective and thoughtful odes to the sour …

The post sorority noise | either way appeared first on The Earology Dept..

]]>
sorority noise  |  either way
 

sorority noise | either way

 
Sorority Noise are solidly east coasters hailing from good old Hartford, Connecticut. And obviously good old Hartford is a pretty good place to stare up an indie rock band. This winsome foursome dedecks their It Kindly Stopped For Me EP with introspective and thoughtful odes to the sour side of living. But it isn’t a bad thing, is it? The rawness and vulnerability of the songs reveal giving fragile hearts and a lovelorn of intimate proportions. Losing someone sucks eggs, but this collection of songs are a bit of catharsis, reached for and obtained, amid a sometimes life of shit. Peace.
 

 
Band: Sorority Noise
Release: It Kindly Stopped For Me EP
Featured Track: Either Way
Record Label: Topshelf Records
Buy it here
iTunes
Amazon
Google Play

The post sorority noise | either way appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/sorority-noise-either-way/feed/ 0 13586
throwback thursday: hop along | tibetan pop stars https://www.theearologydept.com/throwback-thursday-hop-along-tibetan-pop-stars/ https://www.theearologydept.com/throwback-thursday-hop-along-tibetan-pop-stars/#respond Thu, 29 Oct 2015 05:00:22 +0000 http://www.theearologydept.com/?p=13141   hop along | tibetan pop stars Philadelphia indie garage rockers Hop Along gives us a beyond ample excuse to revisit 2012. It was a quaint little album titled Get Disowned and an even obscurer foursome bearing the appellation Hop Along. Seems unassuming enough, except not. Now all would have been well and fine, and …

The post throwback thursday: hop along | tibetan pop stars appeared first on The Earology Dept..

]]>
hop along | tibetan pop stars
hop along | tibetan pop stars

 

hop along | tibetan pop stars

Philadelphia indie garage rockers Hop Along gives us a beyond ample excuse to revisit 2012. It was a quaint little album titled Get Disowned and an even obscurer foursome bearing the appellation Hop Along. Seems unassuming enough, except not. Now all would have been well and fine, and the band may well have enjoyed the small unknown existence some bands woefully aspire to be. You know the whole suffering for one’s art thing. Masochistic yes, but it’s a thing. But there was one damn problem, a foible in the plan christened Frances Quinlan. Damn her. If only she’d kept her lovely soundtracked mouth shut and her seductively warped vocals to her damn self we would have all been better off. But alas she didn’t and we’re not. We’re not because I for one can’t get enough of her rustic rock delivery, which make her beautiful pained lyrics all the more so. And, if we’re honest with ourselves it was very specifically the track Tibetan Pop Stars. It was this song, with it’s acrimonious lyrics and paranormal voiced passion. It undone us. You fuckers. I fell in love with an off kilter and highly sentimental ode to heartbreak and enmity. And so yes, Hop Along’s release Get Disowned is a no-brainer for an apt Throwback Thursday nod, and may I suggest you replay all damn day? Thanks Frances. Psst! I also included Hop Along’s wonderful follow up release, Painted Shut (2015).Peace.


 

Band: Hop Along
Album: Get Disowned
Featured Track: Tibetan Pop Stars
Bandcamp
Amazon
Google Play
iTunes

Tibetan Pop Stars: Lyrics

How content are with ones with simple demands? They meet their fiancés cherry picking out in Canada.
While cursing the river, a seven fingered man, his three sleepless wives all equally sick of him.

Honey I left to see some action. What’s with all these swamps? All I’m passing are hospitals and space-camps. Nobody is asking me “What about your other?” If they did I’d tell them you’re a

Stanger in India
I’m gonna be creepin’ on you so hard
You’re seducin’ Tibetan pop stars and
Wreckin’ motor-cars

I know its true. This Is wrong love. Why is everything so expensive? Maybe in two years you can forgive me. I’ll be living kinder. I’ll have found my place as a

Stanger in India
I’m gonna be creepin’ on you so hard
You’re seducin’ Tibetan pop stars and
Wreckin’ motor-cars

A stranger in India. Doing ok so far. I’m just waiting on the feathers and tar. You are the only one. You are.

Nobody deserves you the way that I do.

Come home my stranger in India because waiting on you is too hard. The reason I haven’t written back is because I’m still doing all that bad sh** I was.

My love is average. I obey an average law.

The post throwback thursday: hop along | tibetan pop stars appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/throwback-thursday-hop-along-tibetan-pop-stars/feed/ 0 13141
crocodiles // teardrops guitar + premiere on npr + teaser video https://www.theearologydept.com/crocodiles-teardrops-guitar-premiere-on-npr-teaser-video/ https://www.theearologydept.com/crocodiles-teardrops-guitar-premiere-on-npr-teaser-video/#respond Thu, 06 Jun 2013 17:08:31 +0000 http://www.theearologydept.com/?p=8867 San Diego-based post-punk purists or a just effing awesome rock band, the Crocodiles (Brandon Welchez & Charles Rowell) premiere their latest track Teardrops Guitar on NPR’s All Songs Considered. Hey, do they really “consider” all the damn songs? Sounds dubious to me, but whateva’. Anyway, the Crocodiles have also put together a teaser video for …

The post crocodiles // teardrops guitar + premiere on npr + teaser video appeared first on The Earology Dept..

]]>
Don’t you just adore punk rockers?

San Diego-based post-punk purists or a just effing awesome rock band, the Crocodiles (Brandon Welchez & Charles Rowell) premiere their latest track Teardrops Guitar on NPR’s All Songs Considered. Hey, do they really “consider” all the damn songs? Sounds dubious to me, but whateva’. Anyway, the Crocodiles have also put together a teaser video for the band’s forthcoming release Crimes of Passion via Frenchkiss Records. The album drops August 20th, 2013. Peace.

Crocodiles – Crimes of Passion tracklist:

1. I Like It In The Dark
2. Marquis De Sade
3. Cockroach
4. Heavy Metal Clouds
5. Teardrop Guitar
6. She Splits Me Up
7. Me and My Machine Gun
8. Gimme Some Annihilation
9. Virgin
10. Un Chant D’Amour

The post crocodiles // teardrops guitar + premiere on npr + teaser video appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/crocodiles-teardrops-guitar-premiere-on-npr-teaser-video/feed/ 0 8867
vex ruffin // same thing tomorrow https://www.theearologydept.com/vex-ruffin-same-thing-tomorrow/ https://www.theearologydept.com/vex-ruffin-same-thing-tomorrow/#respond Sat, 03 Nov 2012 01:13:07 +0000 http://mittenmouthmusic.wordpress.com/?p=7190 the current cassette release ‘same thing tomorrow’ marks a broader introduction to the world at large for the chino, california-based singer/songwriter vex ruffin. the songs he creates are simple, but more than effective at not only capturing the golden era of alternative but moves the genre forward by both sounding and not sounding like bands …

The post vex ruffin // same thing tomorrow appeared first on The Earology Dept..

]]>

the current cassette release ‘same thing tomorrow’ marks a broader introduction to the world at large for the chino, california-based singer/songwriter vex ruffin. the songs he creates are simple, but more than effective at not only capturing the golden era of alternative but moves the genre forward by both sounding and not sounding like bands and acts like new order, peter murphy. check out his song, “same thing tomorrow”. peace.


 
Track List:
 
Side A
1. “I Focus (Born To Be Vex)”
2. “Do It Big”
3. “Release”
4. “Flaming Torch”
5. “Same Thing Tomorrow”

Side B
1. “Dark Room”
2. “Roll With The Punches”
3. “I Can’t Seem To Find It”
4. “Zoo (Part 2)”
5. “It’s In My Soul”

The post vex ruffin // same thing tomorrow appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/vex-ruffin-same-thing-tomorrow/feed/ 0 7190
the heavy // what makes a good man? https://www.theearologydept.com/the-heavy-what-makes-a-good-man/ https://www.theearologydept.com/the-heavy-what-makes-a-good-man/#respond Fri, 29 Jun 2012 22:43:51 +0000 http://mittenmouthmusic.wordpress.com/?p=6071 Today a link to the video, “What Makes A Good Man?” by The Heavy appeared in my in-box. I watched the video and I was intrigued by the story of the troubled man who was the central character in the cinematic short. Redemption is a powerful theme amongst our human populace and this video, more …

The post the heavy // what makes a good man? appeared first on The Earology Dept..

]]>

Today a link to the video, “What Makes A Good Man?” by The Heavy appeared in my in-box. I watched the video and I was intrigued by the story of the troubled man who was the central character in the cinematic short. Redemption is a powerful theme amongst our human populace and this video, more so than the song, was an excellent catalyst for it. This is my first brush with The Heavy, and now I am sufficiently curious to see, and hear, what else these guys have to offer. The Heavy’s forthcoming release The Glorious Dead is scheduled to drop in August. Peace.

The post the heavy // what makes a good man? appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/the-heavy-what-makes-a-good-man/feed/ 0 6071
gossip // perfect world (dberrie remix) https://www.theearologydept.com/gossip-perfect-world-dberrie-remix/ https://www.theearologydept.com/gossip-perfect-world-dberrie-remix/#respond Sun, 20 May 2012 15:40:35 +0000 http://mittenmouthmusic.wordpress.com/?p=5605 NME magazine dubbed Gossip “The greatest punk rock’n’roll disco soul band on the planet”and that description is 100% on the money. Listen to the trios first single release “Perfect World” and it’s accompanying dBerrie remix. The highly danceable track is taken from the band’s forthcoming Brian Higgins produced A Joyful Noise the bands 4th studio …

The post gossip // perfect world (dberrie remix) appeared first on The Earology Dept..

]]>

NME magazine dubbed Gossip “The greatest punk rock’n’roll disco soul band on the planet”and that description is 100% on the money. Listen to the trios first single release “Perfect World” and it’s accompanying dBerrie remix. The highly danceable track is taken from the band’s forthcoming Brian Higgins produced A Joyful Noise the bands 4th studio LP. You can expect a May 22nd release, and of course you can pre-order the digital format via iTunes. After the jump you can also enjoy the official video for “Perfect World” and the complete track listing for the new album. Peace.


 
The full track listing for A Joyful Noise is as follows:
1. Melody Emergency
2. Perfect World
3. Get A Job
4. Move In The Right Direction
5. Casualties of War
6. Into The Wild
7. Get Lost
8. Involved
9. Horns
10. I Won’t Play
11. Love In A Foreign Place
 

The post gossip // perfect world (dberrie remix) appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/gossip-perfect-world-dberrie-remix/feed/ 0 5605
The Men // A Minor https://www.theearologydept.com/the-men-a-minor/ https://www.theearologydept.com/the-men-a-minor/#respond Tue, 03 Apr 2012 13:32:16 +0000 http://mittenmouthmusic.wordpress.com/?p=4972 The Men are an incredible noise punk/alt rock band out of Brooklyn, NYC. The bands immaculate song “A Minor” is featured on the Record Store 2012 Sampler: Todo Muere Volume 2, the song kicks a whole lotta’ butt. So, if you like bit of raucous music be sure to check ’em out. Also, these guys …

The post The Men // A Minor appeared first on The Earology Dept..

]]>

The Men are an incredible noise punk/alt rock band out of Brooklyn, NYC. The bands immaculate song “A Minor” is featured on the Record Store 2012 Sampler: Todo Muere Volume 2, the song kicks a whole lotta’ butt. So, if you like bit of raucous music be sure to check ’em out. Also, these guys will be playing at The Pyramid Scheme in good old Grand Rapids in June. Check out the band’s music and tour schedule after the jump. Peace.

“A Minor” taken form the Record Store 2012 Sampler: Todo Muere Volume 2

“Open Your Heart” taken from the Open Your Heart LP (Recorded 2011)

Tour Dates:

Europa

May 30 – Dublin, Ireland @ Whelan’s
June 1 – Barcelona, Spain @ Primavera Festival
June 2 – London, UK @ Field Day Festival
June 3 – London, UK @ Shacklewell Arms

Oh Canada!

6-13 Ottawa, ON – Club Saw
6-14 Toronto, ON – The Garrison
6-15 West Toronto, ON – Wrongbar

O Say Can You See (U.S.A)

6-16 Grand Rapids, MI – The Pyramid Scheme
6-18 Minneapolis, MN – 7th Street Entry
6-19 Fargo, ND – The Aquarium
6-21 Spokane, WA – Mootsy’s
6-22 Seattle, WA – Barboza
6-23 Portland, OR – Mississippi Studios
6-24 San Francisco, CA – Bottom of the Hill
6-25 Santa Cruz, CA – 105 Pioneer St.
6-26 Los Angeles, CA – The Smell
6-28 Phoenix, AZ – TBA
6-29 El Paso, TX – Lips Lounge
6-30 Austin, TX – Red 7
7-1 Beaumont, TX – Victoria House
7-2 Jackson, MS – Hal & Mals
7-3 Atlanta, GA – 529
7-4 Belmont, NC – Haunted Mill
7-5 Washington, DC – DC 9
7-15 Chicago, IL – Pitchfork Festival

The post The Men // A Minor appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/the-men-a-minor/feed/ 0 4972
Heartsrevolution // Are We Having Fun Yet https://www.theearologydept.com/heartsrevolution-are-we-having-fun-yet/ https://www.theearologydept.com/heartsrevolution-are-we-having-fun-yet/#respond Wed, 01 Feb 2012 00:33:11 +0000 http://mittenmouthmusic.wordpress.com/?p=3792 One of my favorite DYI bands Heartsrevolution have been creating dance inducing (Dance Till Dawn, Switchblade), and oft times politically charged (I.D. (Investigation Discovery) music for quite a while. Ben Pollock and Leyla ‘Lo’ Safai, and long time live performance drummer Terry ‘Prince Terrence’ Campbell, have teased their adoring fans with the promise of a …

The post Heartsrevolution // Are We Having Fun Yet appeared first on The Earology Dept..

]]>

One of my favorite DYI bands Heartsrevolution have been creating dance inducing (Dance Till Dawn, Switchblade), and oft times politically charged (I.D. (Investigation Discovery) music for quite a while. Ben Pollock and Leyla ‘Lo’ Safai, and long time live performance drummer Terry ‘Prince Terrence’ Campbell, have teased their adoring fans with the promise of a full-length album for what seems like forever. And sorry, I don’t have news of a forthcoming release. However, I remain hopeful the highly anticipated debut Ride Or Die will materialize in 2012. Here’s to hope eternal. Peace.

“Are We Having Fun Yet”

I.D. “LYRICS VIDEO” from HEARTSREVOLUTION on Vimeo.

The post Heartsrevolution // Are We Having Fun Yet appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/heartsrevolution-are-we-having-fun-yet/feed/ 0 3792
Diamond Rugs – Christmas in a Chinese Restaurant https://www.theearologydept.com/diamond-rugs-christmas-in-a-chinese-restaurant/ https://www.theearologydept.com/diamond-rugs-christmas-in-a-chinese-restaurant/#respond Thu, 08 Dec 2011 22:05:53 +0000 http://mittenmouthmusic.wordpress.com/?p=2329 Have a Holly Jolly Christmas? Bah Humbug! Well, we sincerely hope you can scrounge up some meager measure of joy to get you in the spirit of the season. If not you aren’t alone by far. Case in point, from the opening line, “I got drunk and you got pissed” is bound to ring true …

The post Diamond Rugs – Christmas in a Chinese Restaurant appeared first on The Earology Dept..

]]>
Have a Holly Jolly Christmas? Bah Humbug! Well, we sincerely hope you can scrounge up some meager measure of joy to get you in the spirit of the season. If not you aren’t alone by far. Case in point, from the opening line, “I got drunk and you got pissed” is bound to ring true in a household or two across countless lands and the Diamond Rugs have the perfect little diddy as chaser to such scenes. Check out this somber Christmas tune “Christmas in a Chinese Restaurant“. It’s a dim lit carol featuring a litany of familiar dour faces: Bryan Dufresne of Six Finger Satellite, Ian Saint Pe of the Black Lips , Hardy Morris of Dead Confederate, Steve Berlin of Los Lobos, , and John McCauley and Robbie Crowell of Deer Tick . This one may not spread a great deal of joy,  but alas a good song doesn’t have to be upbeat and smiling to register fondly in your heart of hearts. Peace.

The post Diamond Rugs – Christmas in a Chinese Restaurant appeared first on The Earology Dept..

]]>
https://www.theearologydept.com/diamond-rugs-christmas-in-a-chinese-restaurant/feed/ 0 2329