PowerPress Podcasting plugin by Blubrry - Version 8.2.9

Version Description

  • Released 04/03/2020
  • Corrected a typo in Non-Profit Apple category
  • Fixed bug with PodPress data clobbering an already imported episode in certain circumstances.
  • Added logic to handle importing with all supported Blubrry media URLs.
Download this release

Release Info

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

Code changes from version 8.2.8 to 8.2.9

powerpress-player.php CHANGED
@@ -1339,7 +1339,7 @@ function powerpressplayer_build_blubrryaudio($media_url, $EpisodeData=array(), $
1339
  $instance++;
1340
 
1341
  // media URL is all we need., as long as it's hosted at blubrry.com...
1342
- if( preg_match('/(content|ins)\.blubrry\.com/', $media_url) )
1343
  {
1344
  $playerSettings = get_option('powerpress_bplayer');
1345
  $hash = '';
1339
  $instance++;
1340
 
1341
  // media URL is all we need., as long as it's hosted at blubrry.com...
1342
+ if( preg_match('/(content|protected|ins)\.blubrry\.com/', $media_url) )
1343
  {
1344
  $playerSettings = get_option('powerpress_bplayer');
1345
  $hash = '';
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="https://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 Apple Podcasts (previously iTunes), Google Podcasts, Spotify, Stitcher, and Blubrry Podcasting directories, as well as all podcast applications and clients.
6
- Version: 8.2.8
7
  Author: Blubrry
8
  Author URI: https://blubrry.com/
9
  Requires at least: 3.6
@@ -36,7 +36,7 @@ if( !function_exists('add_action') ) {
36
 
37
  // WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
38
 
39
- define('POWERPRESS_VERSION', '8.2.8' );
40
 
41
  // Translation support:
42
  if ( !defined('POWERPRESS_ABSPATH') )
@@ -2671,7 +2671,7 @@ function powerpress_apple_categories($PrefixSubCategories = false) {
2671
  $temp['02-03'] = 'Investing';
2672
  $temp['02-04'] = 'Management';
2673
  $temp['02-05'] = 'Marketing';
2674
- $temp['02-06'] = 'Non-profit';
2675
 
2676
  $temp['03-00'] = 'Comedy';
2677
  $temp['03-01'] = 'Comedy Interviews';
@@ -3445,8 +3445,12 @@ function powerpress_get_enclosure_data($post_id, $feed_slug = 'podcast', $raw_da
3445
  {
3446
  if( !empty($post->podcast_meta_value) && $post->ID == $post_id) // See if we got the meta data from the initial query...
3447
  {
3448
- $PodcastData = powerpress_get_enclosure_data($post_id, $feed_slug, $post->podcast_meta_value, true);
3449
- return $PodcastData;
 
 
 
 
3450
  }
3451
 
3452
  if( 'podcast' == $feed_slug || '' == $feed_slug )
3
  Plugin Name: Blubrry PowerPress
4
  Plugin URI: http://create.blubrry.com/resources/powerpress/
5
  Description: <a href="https://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 Apple Podcasts (previously iTunes), Google Podcasts, Spotify, Stitcher, and Blubrry Podcasting directories, as well as all podcast applications and clients.
6
+ Version: 8.2.9
7
  Author: Blubrry
8
  Author URI: https://blubrry.com/
9
  Requires at least: 3.6
36
 
37
  // WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
38
 
39
+ define('POWERPRESS_VERSION', '8.2.9' );
40
 
41
  // Translation support:
42
  if ( !defined('POWERPRESS_ABSPATH') )
2671
  $temp['02-03'] = 'Investing';
2672
  $temp['02-04'] = 'Management';
2673
  $temp['02-05'] = 'Marketing';
2674
+ $temp['02-06'] = 'Non-Profit';
2675
 
2676
  $temp['03-00'] = 'Comedy';
2677
  $temp['03-01'] = 'Comedy Interviews';
3445
  {
3446
  if( !empty($post->podcast_meta_value) && $post->ID == $post_id) // See if we got the meta data from the initial query...
3447
  {
3448
+ // Make sure this is not serialized data from PodPress...
3449
+ $partsTest = explode("\n", $post->podcast_meta_value, 4);
3450
+ if( count($partsTest) > 2 ) {
3451
+ $PodcastData = powerpress_get_enclosure_data($post_id, $feed_slug, $post->podcast_meta_value, true);
3452
+ return $PodcastData;
3453
+ }
3454
  }
3455
 
3456
  if( 'podcast' == $feed_slug || '' == $feed_slug )
powerpressadmin-migrate.php CHANGED
@@ -59,11 +59,17 @@ function powerpress_admin_migrate_get_files($clean=false, $exclude_blubrry=true)
59
 
60
  if( $exclude_blubrry && strstr($EpisodeData['url'], 'content.blubrry.com') )
61
  continue; // Skip media hosted on blubrry in this case
62
-
 
 
 
 
 
 
63
  if( !$clean )
64
  $return[$meta_id] = $row;
65
  if( !$exclude_blubrry )
66
- $return[$meta_id]['on_blubrry'] = ( strstr($EpisodeData['url'], 'content.blubrry.com') );
67
  $return[$meta_id]['src_url'] = $EpisodeData['url'];
68
  }
69
  }
59
 
60
  if( $exclude_blubrry && strstr($EpisodeData['url'], 'content.blubrry.com') )
61
  continue; // Skip media hosted on blubrry in this case
62
+
63
+ if( $exclude_blubrry && strstr($EpisodeData['url'], 'ins.blubrry.com') )
64
+ continue; // Skip media hosted on blubrry in this case
65
+
66
+ if( $exclude_blubrry && strstr($EpisodeData['url'], 'protected.blubrry.com') )
67
+ continue; // Skip media hosted on blubrry in this case
68
+
69
  if( !$clean )
70
  $return[$meta_id] = $row;
71
  if( !$exclude_blubrry )
72
+ $return[$meta_id]['on_blubrry'] = ( preg_match('/(ins|protected|content)\.blubrry\.com/i',$EpisodeData['url']) == 1 );
73
  $return[$meta_id]['src_url'] = $EpisodeData['url'];
74
  }
75
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: podcasting, podcast, podcaster, powerpress, itunes, apple, apple podcasts,
4
  Requires at least: 3.6
5
  Requires PHP: 5.2
6
  Tested up to: 5.4
7
- Stable tag: 8.2.8
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
@@ -236,6 +236,13 @@ To install Blubrry PowerPress manually, follow these steps:
236
  = Fan of PowerPress and want to show your support? =
237
  If you are a fan of PowerPress, we would greatly appreciate it if you could take a moment and [leave us a review on WordPress.org](https://wordpress.org/support/plugin/powerpress/reviews/?rate=5#new-post). Your support is greatly appreciated!
238
 
 
 
 
 
 
 
 
239
  = 8.2.8 =
240
  * Released 3/30/2020
241
  * Tested with new WordPress 5.4 beta
4
  Requires at least: 3.6
5
  Requires PHP: 5.2
6
  Tested up to: 5.4
7
+ Stable tag: 8.2.9
8
  Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
9
  License: GPLv2 or later
10
 
236
  = Fan of PowerPress and want to show your support? =
237
  If you are a fan of PowerPress, we would greatly appreciate it if you could take a moment and [leave us a review on WordPress.org](https://wordpress.org/support/plugin/powerpress/reviews/?rate=5#new-post). Your support is greatly appreciated!
238
 
239
+ = 8.2.9 =
240
+ * Released 04/03/2020
241
+ * Corrected a typo in Non-Profit Apple category
242
+ * Fixed bug with PodPress data clobbering an already imported episode in certain circumstances.
243
+ * Added logic to handle importing with all supported Blubrry media URLs.
244
+
245
+
246
  = 8.2.8 =
247
  * Released 3/30/2020
248
  * Tested with new WordPress 5.4 beta