PowerPress Podcasting plugin by Blubrry - Version 7.0.1

Version Description

  • Released on 6/11/2016
  • Fixed bug where verify media could fail with "unable to determine file format" caused by getid3 library update. (Thanks @budgetnerd for bringing to our attention!)
  • Re-added the itpc links for subscribe on iTunes when no iTunes subscribe URL provided. For those who wanted this, please notice itpc does not work on iOS devices.
  • Statistics redirects that do not end with a / will now work. We add a slash if no slash is present.
  • Removed February 2016 iTunes notice message.
  • Subscribe by Email, on Google Play and Stitcher options removed for premium podcast feeds.
Download this release

Release Info

Developer amandato
Plugin Icon 128x128 PowerPress Podcasting plugin by Blubrry
Version 7.0.1
Comparing to
See all releases

Code changes from version 7.0 to 7.0.1

mp3info.class.php CHANGED
@@ -615,7 +615,7 @@
615
  //}
616
  $this->_load_id3lib();
617
  $getID3 = new getID3;
618
- $FileInfo = $getID3->analyze( $LocalFile, $this->m_ContentLength );
619
  if( $DeleteFile )
620
  @unlink($LocalFile);
621
 
615
  //}
616
  $this->_load_id3lib();
617
  $getID3 = new getID3;
618
+ $FileInfo = $getID3->analyze( $LocalFile, $this->m_ContentLength, $File );
619
  if( $DeleteFile )
620
  @unlink($LocalFile);
621
 
powerpress-subscribe.php CHANGED
@@ -17,8 +17,8 @@ function powerpresssubscribe_get_itunes_url($Settings)
17
  return preg_replace("/^http:\/\//i", "https://", add_query_arg( array('uo' => false, 'mt' => '2', 'ls' => '1'), trim($Settings['itunes_url']) ) );
18
  }
19
 
20
- if( !empty($Settings['feed_url']) && !empty($Settings['itpc']) )
21
- return preg_replace('/(^https?:\/\/)/i', 'itpc://', $Settings['feed_url']);
22
 
23
  return '';
24
  }
@@ -200,6 +200,12 @@ function powerpresssubscribe_get_settings($ExtraData, $detect_category=true)
200
  $Settings['subscribe_feature_email'] = (!empty($GeneralSettings['subscribe_feature_email']) );
201
  $Settings['subscribe_feature_gp'] = (!empty($GeneralSettings['subscribe_feature_gp']) );
202
  $Settings['subscribe_feature_stitcher'] = (!empty($GeneralSettings['subscribe_feature_stitcher']) );
 
 
 
 
 
 
203
  return $Settings;
204
  }
205
  return false;
@@ -232,8 +238,8 @@ function powerpressplayer_link_subscribe_pre($content, $media_url, $ExtraData =
232
 
233
  $feed_url = $SubscribeSettings['feed_url'];
234
  $itunes_url = trim($SubscribeSettings['itunes_url']);
235
- //if( empty($itunes_url) )
236
- // $itunes_url = preg_replace('/(^https?:\/\/)/i', 'itpc://', $feed_url);
237
 
238
  $links_array = array();
239
  if( !empty($itunes_url) ) {
17
  return preg_replace("/^http:\/\//i", "https://", add_query_arg( array('uo' => false, 'mt' => '2', 'ls' => '1'), trim($Settings['itunes_url']) ) );
18
  }
19
 
20
+ if( !empty($Settings['feed_url']) ) // && !empty($Settings['itpc']) )
21
+ return preg_replace('/(^https?:\/\/)/i', 'itpc://', $Settings['feed_url']); // Still better than nothing at this point.
22
 
23
  return '';
24
  }
200
  $Settings['subscribe_feature_email'] = (!empty($GeneralSettings['subscribe_feature_email']) );
201
  $Settings['subscribe_feature_gp'] = (!empty($GeneralSettings['subscribe_feature_gp']) );
202
  $Settings['subscribe_feature_stitcher'] = (!empty($GeneralSettings['subscribe_feature_stitcher']) );
203
+ if( !empty($FeedSettings['premium']) ) {
204
+ $Settings['subscribe_feature_email'] = false;
205
+ $Settings['subscribe_feature_gp'] = false;
206
+ $Settings['subscribe_feature_stitcher'] = false;
207
+ }
208
+
209
  return $Settings;
210
  }
211
  return false;
238
 
239
  $feed_url = $SubscribeSettings['feed_url'];
240
  $itunes_url = trim($SubscribeSettings['itunes_url']);
241
+ if( empty($itunes_url) )
242
+ $itunes_url = preg_replace('/(^https?:\/\/)/i', 'itpc://', $feed_url);
243
 
244
  $links_array = array();
245
  if( !empty($itunes_url) ) {
powerpress.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Blubrry PowerPress
4
  Plugin URI: http://create.blubrry.com/resources/powerpress/
5
  Description: <a href="http://create.blubrry.com/resources/powerpress/" target="_blank">Blubrry PowerPress</a> is the No. 1 Podcasting plugin for WordPress. Developed by podcasters for podcasters; features include Simple and Advanced modes, multiple audio/video player options, subscribe to podcast tools, podcast SEO features, and more! Fully supports iTunes, Google Play, Stitcher, and Blubrry Podcasting directories, as well as all podcast applications and clients.
6
- Version: 7.0
7
  Author: Blubrry
8
  Author URI: http://www.blubrry.com/
9
  Requires at least: 3.6
@@ -32,7 +32,7 @@ if( !function_exists('add_action') )
32
  die("access denied.");
33
 
34
  // WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
35
- define('POWERPRESS_VERSION', '7.0' );
36
 
37
  // Translation support:
38
  if ( !defined('POWERPRESS_ABSPATH') )
@@ -2795,13 +2795,16 @@ function powerpress_add_redirect_url($MediaURL, $EpisodeData = false) // $channe
2795
  continue;
2796
 
2797
  $RedirectClean = $matches[1];
 
 
 
2798
  if( !empty($RedirectClean) )
2799
  {
2800
  if( strpos($RedirectClean, '/') == 0 ) // Not a valid redirect URL
2801
  continue;
2802
 
2803
 
2804
- // Check that redirect is either media..blubrry.com, media.techpodcasts.com, media.rawvoice.com, or www.podtrac.com
2805
  $ValidRedirectDomains = array('media.blubrry.com', 'media.rawvoice.com', 'media.techpodcasts.com', 'www.podtrac.com', 'podtrac.com');
2806
  $ValidRedirectDomainsPattern = '/^(media\.blubrry\.com|media\.rawvoice\.com|media\.techpodcasts\.com|.*\.podtrac\.com)$/';
2807
  if( $URLScheme == 'https://' ) {
3
  Plugin Name: Blubrry PowerPress
4
  Plugin URI: http://create.blubrry.com/resources/powerpress/
5
  Description: <a href="http://create.blubrry.com/resources/powerpress/" target="_blank">Blubrry PowerPress</a> is the No. 1 Podcasting plugin for WordPress. Developed by podcasters for podcasters; features include Simple and Advanced modes, multiple audio/video player options, subscribe to podcast tools, podcast SEO features, and more! Fully supports iTunes, Google Play, Stitcher, and Blubrry Podcasting directories, as well as all podcast applications and clients.
6
+ Version: 7.0.1
7
  Author: Blubrry
8
  Author URI: http://www.blubrry.com/
9
  Requires at least: 3.6
32
  die("access denied.");
33
 
34
  // WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
35
+ define('POWERPRESS_VERSION', '7.0.1' );
36
 
37
  // Translation support:
38
  if ( !defined('POWERPRESS_ABSPATH') )
2795
  continue;
2796
 
2797
  $RedirectClean = $matches[1];
2798
+ if( substr($RedirectClean, -1, 1) != '/' ) // Rediercts need to end with a slash /.
2799
+ $RedirectClean .= '/';
2800
+
2801
  if( !empty($RedirectClean) )
2802
  {
2803
  if( strpos($RedirectClean, '/') == 0 ) // Not a valid redirect URL
2804
  continue;
2805
 
2806
 
2807
+ // Check that redirect is either media.blubrry.com, media.techpodcasts.com, media.rawvoice.com, or *.podtrac.com
2808
  $ValidRedirectDomains = array('media.blubrry.com', 'media.rawvoice.com', 'media.techpodcasts.com', 'www.podtrac.com', 'podtrac.com');
2809
  $ValidRedirectDomainsPattern = '/^(media\.blubrry\.com|media\.rawvoice\.com|media\.techpodcasts\.com|.*\.podtrac\.com)$/';
2810
  if( $URLScheme == 'https://' ) {
powerpressadmin-notifications.php CHANGED
@@ -164,9 +164,10 @@ function powerpressadmin_notifications_appropriate()
164
  }
165
 
166
  if( powerpressadmin_notifications_appropriate() ) {
167
- $PowerPressNotificationManager = new PowerPress_Notification_Manager();
168
 
169
  // e.g. usage
 
170
  if( !$PowerPressNotificationManager->dismissed_status('apple-201602') ) {
171
 
172
  $message = '';
@@ -191,6 +192,7 @@ if( powerpressadmin_notifications_appropriate() ) {
191
 
192
  $PowerPressNotificationManager->add('apple-201602', $message);
193
  }
 
194
  }
195
 
196
  // eof
164
  }
165
 
166
  if( powerpressadmin_notifications_appropriate() ) {
167
+ //$PowerPressNotificationManager = new PowerPress_Notification_Manager(); // Uncomment when we have notices to display
168
 
169
  // e.g. usage
170
+ /*
171
  if( !$PowerPressNotificationManager->dismissed_status('apple-201602') ) {
172
 
173
  $message = '';
192
 
193
  $PowerPressNotificationManager->add('apple-201602', $message);
194
  }
195
+ */
196
  }
197
 
198
  // eof
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: amandato, blubrry
3
  Tags: powerpress, podcasting, podcast, podcaster, itunes, google play music, google play, enclosure, professional, apple, apple tv, ipad, iphone, soundcloud, squarespace, youtube, viddler, ustream, podcasting, audio, video, rss2, feed, player, media, rss, mp3, music, embed, feedburner, statistics, stats, flv, flash, id3, episodes, blubrry, mp4, m4v, wordpressmu, mu, wordpress mu, multisite, multi site, mediacaster, post, plugin, posts, simple, social, dashboard, TSG, Buzzsprout, MTR, WP-boxCast, CastMyBlog, tgs podcasting, simple podcasting, seriously simple podcasting, seriously-simple-podcasting, serious, seriously, ssp, podlove, podcast.de, clammr, clammr radio, audio player, stitcher, tunein, show, shows, series, docs, documentation, support, free, add-ons, extensions, addons, libsyn, libsyn-podcasting, podbean, podomatic, spreaker
4
  Requires at least: 3.6
5
  Tested up to: 4.5.2
6
- Stable tag: 7.0
7
  Donate link: https://www.patreon.com/blubrry?ty=h
8
  License: GPLv2 or later
9
 
@@ -225,6 +225,15 @@ To install Blubrry PowerPress manually, follow these steps:
225
  = Become a PowerPress Patron! =
226
  Help support your favorite podcasting plugin via Patreon. [Visit Blubrry's Patreon page](https://www.patreon.com/blubrry?ty=h)
227
 
 
 
 
 
 
 
 
 
 
228
  = 7.0 =
229
  * Released on 6/6/2016
230
  * Added Google Play Music to subscribe page shortcode embed and sidebar widget.
@@ -490,9 +499,9 @@ Jerry Stephens, [Way of the Geek](http://wayofthegeek.org) - Contributed initial
490
 
491
  Darcy Fiander, [Rooty Radio](http://rootyradio.com) - Fixed bug with category links to FeedValidator.org and category title warning when validating category feeds.
492
 
493
- Joel Haasnoot, [Perosnal Blog](http://waarisdetrein.nl/joelhaasnoot/) - Developed PodPress archive statistics.
494
 
495
- Nicolas Bouliane, [Perosnal Blog](http://nicolasbouliane.com/) - contributed code for `get_the_powerpress_all_players()` function.
496
 
497
 
498
  == Translators ==
3
  Tags: powerpress, podcasting, podcast, podcaster, itunes, google play music, google play, enclosure, professional, apple, apple tv, ipad, iphone, soundcloud, squarespace, youtube, viddler, ustream, podcasting, audio, video, rss2, feed, player, media, rss, mp3, music, embed, feedburner, statistics, stats, flv, flash, id3, episodes, blubrry, mp4, m4v, wordpressmu, mu, wordpress mu, multisite, multi site, mediacaster, post, plugin, posts, simple, social, dashboard, TSG, Buzzsprout, MTR, WP-boxCast, CastMyBlog, tgs podcasting, simple podcasting, seriously simple podcasting, seriously-simple-podcasting, serious, seriously, ssp, podlove, podcast.de, clammr, clammr radio, audio player, stitcher, tunein, show, shows, series, docs, documentation, support, free, add-ons, extensions, addons, libsyn, libsyn-podcasting, podbean, podomatic, spreaker
4
  Requires at least: 3.6
5
  Tested up to: 4.5.2
6
+ Stable tag: 7.0.1
7
  Donate link: https://www.patreon.com/blubrry?ty=h
8
  License: GPLv2 or later
9
 
225
  = Become a PowerPress Patron! =
226
  Help support your favorite podcasting plugin via Patreon. [Visit Blubrry's Patreon page](https://www.patreon.com/blubrry?ty=h)
227
 
228
+ = 7.0.1 =
229
+ * Released on 6/11/2016
230
+ * Fixed bug where verify media could fail with "unable to determine file format" caused by getid3 library update. (Thanks @budgetnerd for bringing to our attention!)
231
+ * Re-added the itpc links for subscribe on iTunes when no iTunes subscribe URL provided. For those who wanted this, please notice itpc does not work on iOS devices.
232
+ * Statistics redirects that do not end with a / will now work. We add a slash if no slash is present.
233
+ * Removed February 2016 iTunes notice message.
234
+ * Subscribe by Email, on Google Play and Stitcher options removed for premium podcast feeds.
235
+
236
+
237
  = 7.0 =
238
  * Released on 6/6/2016
239
  * Added Google Play Music to subscribe page shortcode embed and sidebar widget.
499
 
500
  Darcy Fiander, [Rooty Radio](http://rootyradio.com) - Fixed bug with category links to FeedValidator.org and category title warning when validating category feeds.
501
 
502
+ Joel Haasnoot, [Personal Blog](http://waarisdetrein.nl/joelhaasnoot/) - Developed PodPress archive statistics.
503
 
504
+ Nicolas Bouliane, [Personal Blog](http://nicolasbouliane.com/) - contributed code for `get_the_powerpress_all_players()` function.
505
 
506
 
507
  == Translators ==