How to restore podcast files that go missing from Wordpress?
February 3, 2012 1:07 PM   Subscribe

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";}}
posted by steinsaltz to Computers & Internet (4 answers total)
 
Are there forums for podpress? Perhaps look at the plugins changelog and see if there is anything listed that may be causing the problem.
posted by backwards guitar at 9:34 PM on February 3, 2012


Response by poster: Tried that already :(
posted by steinsaltz at 3:34 PM on February 4, 2012


Are you able to retrieve the podcast mp3 information using get_post_meta()
posted by backwards guitar at 9:16 AM on February 6, 2012


Response by poster: 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.
posted by steinsaltz at 12:39 PM on February 7, 2012


« Older Sleeping child   |   My face on the wall Newer »
This thread is closed to new comments.