Subscribe: Comments on: How to restore podcast files that go missing from Wordpress?
http://ask.metafilter.com/207351/How-to-restore-podcast-files-that-go-missing-from-Wordpress/rss
Preview: Comments on: How to restore podcast files that go missing from Wordpress?

Comments on: How to restore podcast files that go missing from Wordpress?



Comments on Ask MetaFilter post How to restore podcast files that go missing from Wordpress?



Published: Fri, 03 Feb 2012 13:07:44 -0800

Last Build Date: Fri, 03 Feb 2012 21:34:28 -0800

 



Question: How to restore podcast files that go missing from Wordpress?

Fri, 03 Feb 2012 13:07:44 -0800

Question about disappearing podcast files on Wordpress.

I am working on a Wordpress site where hundreds of old posts carried Flash players that showed MP3s from a podcast. These were managed by the popular plugin Podpress.

A while back the Flash players and file associations all disappeared. I think this might have happened when I upgraded from an old version of the podcast plugin to a newer one.

The files are all still sitting in a directory on the server. I am wondering if there is some way to re-associate them with all the posts, without having to do them one by one.

I checked inside the database, and it seems like the data is still there in the postmeta keys. It seems to be some sort of JSON thing (below) but I am not sure why WordPress isn't seeing this and associating the relevant MP3s with the appropriate posts. Any help figuring this out would be greatly appreciated.

Here's what I saw in one of the posts that had lost its MP3 file.


a:1:{i:0;a:10:{s:3:"URI";s:57:"http://www.website.com/podcast/PBC_20111222p340.mp3";s:5:"title";s:15:"PBC podcast 340";s:4:"type";s:9:"audio_mp3";s:4:"size";s:8:"29066814";s:8:"duration";s:8:"01:09:13";s:12:"previewImage";s:86:"http://website.com/wp/wp-content/plugins/podpress/images/vpreview_center.png";s:10:"dimensionW";s:1:"0";s:10:"dimensionH";s:1:"0";s:3:"rss";s:2:"on";s:4:"atom";s:2:"on";}}



By: backwards guitar

Fri, 03 Feb 2012 21:34:28 -0800

Are there forums for podpress? Perhaps look at the plugins changelog and see if there is anything listed that may be causing the problem.



By: steinsaltz

Sat, 04 Feb 2012 15:34:46 -0800

Tried that already :(



By: backwards guitar

Mon, 06 Feb 2012 09:16:17 -0800

Are you able to retrieve the podcast mp3 information using get_post_meta()



By: steinsaltz

Tue, 07 Feb 2012 12:39:17 -0800

That's a good question. The above code was found in the get_post_meta() values but I haven't checked to see if the PHP command will grab it OK.