WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Podcasting] MP3s not saved in Podcast RSS Feed (78 posts)

  1. beano
    Member
    Posted 5 years ago #

    Hi,

    I've been working on a new website that will include a wordpress blog with podcasting plugin (hopefully anyway).

    It works fine on my development server (Vista, WP 2.5) but when I upload to the hosted Linux server (which will be the public one eventually and is running WP 2.6) the audio files appear in the posts in the blog (i.e. in the flash player, which works ok) but the podcast feed is empty. It's really strange.

    Also, on the working server when I go back to the post the podcast file's URL is still in the "Podcasting" section beneath where you type the post. On the non-working server it appears to have "forgotten" it.

    Can anyone help?

  2. beano
    Member
    Posted 5 years ago #

    It seems like this problem only happens with 2.6. I downgraded to WP 2.5 on the server and everything seems to work! Nasty. If it's a compatibility problem I guess I might have to switch to podPress :(

  3. cavemonkey50
    Member
    Posted 5 years ago #

    Are you using the latest Podcasting beta version (beta 5)? I had a few people who experienced this issue that had their problem resolved with the latest beta.

    If you are on the latest beta, can you send me a database dump (ron at cavemonkey50 dot com)? I want to try and find the source of this issue.

  4. juicysauce
    Member
    Posted 5 years ago #

    I'm having the exact same problem as beano, and I'm running beta 5.

    My post:
    http://motionographer.com/2008/09/08/podcast-episode-01-this-way-up/

    My podcast feed:
    http://motionographer.com/feed/podcast/

    Just like beano's experience above, things work on my dev server, but not on my live server. And in the Podcasting field of the post, the URL is empty.

    Thanks for your help, cavemonkey!

  5. cavemonkey50
    Member
    Posted 5 years ago #

    juicysauce,

    Delete all enclosures from the troublesome post(s), and readd the files. This should correct the issue.

    I'm assuming you were running an older version before upgrading? If not, and you've always been running the latest 2.0 beta, please let me know. There may be another bug not addressed in the current version.

  6. juicysauce
    Member
    Posted 5 years ago #

    Thanks so much for your response. I'm not exactly sure what deleting enclosures involved, but as a test, I created a new post with no content. I then uploaded an mp3 and pasted its URL into the Podcasting file input. When I hit Save, the page reloaded, but the Podcasting fields had reset themselves, just as beano described in his initial post.

  7. dudup
    Member
    Posted 5 years ago #

    Hi cavemonkey50,

    I'm having the same problem for a while: whenever I try to add an enclosure, as soon as I save the post all podcasting fields come reset. I was using 1.65, and after reading this, I upgraded to 2.0 beta 5 (some hot stuff in there, thanks a lot), but no luck.

    My current feed is http://www.submusica.com/feed/podcast, and it's working fine -- the problem seems to be on adding enclosures.

    I'm trying to observe in deep detail what's happening and will keep on watching this thread.

    Thanks a lot for your awesome dedication. If only half of WP plugins were elegant like this... :)

  8. cavemonkey50
    Member
    Posted 5 years ago #

    Hello juicysauce and dudup,

    What's exactly happening after saving the post? Is the enclosure disappearing completely or is remaining, just missing some details? If completely disappearing, how are you adding files? Are you using the full URL to the file? If you are, can you provide an example URL so I can test adding that file to my installation?

  9. juicysauce
    Member
    Posted 5 years ago #

    It's disappearing completely for me. I uploaded the audio file through WP and then pasted the full URL in the Podcasting file field:

    http://motionographer.com/wp-content/uploads/2008/09/motionographer01-this-way-up.mp3

    I was able to do this on my local installation of WP and everything worked great. For some reason on my live server, it's not working.

  10. cavemonkey50
    Member
    Posted 5 years ago #

    I just did some testing and that URL works fine on several different installs. Perhaps your server is not recognizing mp3s correctly. Try adding this line to your .htaccess file (found in the root directory of your WordPress install):

    AddType audio/mpeg mp3

  11. dudup
    Member
    Posted 5 years ago #

    cavemonkey50,

    It disappears completely after I save the article.

    It seems to me that the bug we're facing is related to this specific, because everything previously uploaded is working fine, as you can see on my feed.

    As soon as I get to work, I'll try to disable plugins and run more specific tests.

    Thanks a lot for your support

  12. juicysauce
    Member
    Posted 5 years ago #

    Adding "AddType audio/mpeg mp3" to my .htaccess didn't seem to help. I did install the plugin on another WP blog and got it to work successfully. So strange...

    Let us know what you find, dudup. Thanks!

  13. juicysauce
    Member
    Posted 5 years ago #

    I've discovered a workaround that *kinda* fixes things: Add a new Custom Field for the post, using "enclosure" for type. Paste the URL to your mp3 in the Value field.

    I also re-pasted the URL in the Podcasting field. This time, when I saved my post, the URL stayed in the Podcasting field. All the other Podcasting values (e.g. keywords, author, length, etc.) were gone, but at least the URL remained.

    When I check my podcast feed, I now see the post that contains the podcast. I don't see the podcast (i.e. the mp3 file) itself, though...

  14. juicysauce
    Member
    Posted 5 years ago #

    (Sorry for rambling. I'm sure you guys know much more about this than me, but in the hopes that I might say something useful, I'm writing all my discoveries here.)

    I was looking through my wp_postmeta table in the database and I found that for some reason it looks like WP stopped creating enclosure meta data right around April, which is when I upgraded to WP 2.5, I believe.

    I don't know, just another clue. :-)

  15. bobnik
    Member
    Posted 5 years ago #

    It appears I have the identical problem. I am running WordPress 2.6, with all but the Podcasting plugin disabled for testing purposes. I specify a full URL to a MP3 file and add it in the Podcast panel. When I save the post, it disappears and no enclosure meta value exists for the post in the database. I have tried both 1.65 and 2.0 beta 5 with no luck.

  16. cavemonkey50
    Member
    Posted 5 years ago #

    Thanks for the feedback, guys. It appears the WordPress enclosure function (which I take advantage) seems to be extremely weird since 2.6. I'm going to look into more tonight and see what can be done.

  17. cavemonkey50
    Member
    Posted 5 years ago #

    Alright, for those of you having issues with the files disappearing, I have an experimental release out. Download 2.0 beta 5 if you don't have it already, then replace podcasting.php with this version:

    http://plugins.trac.wordpress.org/export/64197/podcasting/trunk/podcasting.php

    Make sure the file downloaded starts with <?php and not HTML because that occasionally happens with Trac.

    After replacing the file, let me know if you have any issues with enclosures. Right now, the code I wrote will enclose anything. I will eventually limit this to podcast-type files, but for testing this will work.

  18. dudup
    Member
    Posted 5 years ago #

    Yay, it's working!!!
    The podcast feed is now updating normally, as it can be seen on http://www.submusica.com/feed/podcast

    Thank you so much, Ronald, you rule!

  19. juicysauce
    Member
    Posted 5 years ago #

    YES! It's working for me, too!

    http://motionographer.com/feed/podcast/

    Thanks so much, Ron. You kick all kinds of ass.

  20. cavemonkey50
    Member
    Posted 5 years ago #

    Glad to hear it's working for you guys. As I suspected, you both are having server issues that related to the files not being enclosed in the previous version.

    Since my update will enclosure anything, the files are added successfully, however, certain podcatchers may run into trouble downloading given your issues. If I were you guys, I would look into resolving these server issues by talking with your host, developer, etc.

    dudup, your server is not reporting the correct mime type for mp3s. It's reporting an application. However, I notice you're not linking to the actual mp3 files. You're linking to a folder URL which I assume is used for stat tracking. iTunes probably will not download this file if it's showing an application, so whatever stat tracking software you're using should be looked into so it reports an audio/mpeg mime.

    juicysauce, you have a strange issue. Your server is reporting your mp3s are 0 bytes, which is why they didn't enclose before. Are you doing any .htaccess stat tracking? If not, can you try uploading another file and testing it. Technically, you shouldn't have a problem with iTunes if the file is showing 0 bytes, but I'm not positive of that.

  21. SmockLady
    Member
    Posted 5 years ago #

    I am using the WP2.6.1 and 2.0b5 and when I add any alternate text to the fields in the admin my player disappears. For now I have taken out all text. Also, my player is showing an added text of "unidentified" in the title, even though it is titled. clear as mud? and there is no sound even though I am seeing the progress bar and the time change.

    this is on a site that is not public yet, so I can e-mail you a "back door" link if it would help.

    what other info would help in identifying and fixing my problem?

  22. SmockLady
    Member
    Posted 5 years ago #

    back to say I got the sound working. sorry. typo. my bad. but I'm still having problems with the "unidentified" showing up with the file name. and the player disappearing if I try to add anything to the customizing fields in the admin.

  23. cavemonkey50
    Member
    Posted 5 years ago #

    theSmockLady, I assume your speaking solely of the audio player, correct? If so, make sure your MP3s have ID3 tag information. That may be the reasoning for the unidentified.

    As far as the customizing fields, can you provide me an example of what you're trying to add to that field?

  24. dudup
    Member
    Posted 5 years ago #

    Ron, thanks for the tip.

    I am trying to edit the posts, and linking directly to the file on the server, bypassing the stat tracking. But another funky thing is happening:

    1 - I enter the post, remove the actual enclosure on Podcastion section. Save.
    2 - Podcasting section returns clean as expected, no enclosures.
    3 - I add the new URL enclosure, directly to the file. Save.
    4 - When the post reloads, here comes the older enclosure, without any traces of the previous one.

  25. cavemonkey50
    Member
    Posted 5 years ago #

    dudup, is this a reproducible problem? I've been noticing a similar issue on my test installation, but I have not been able to track it down as it only occurs sporadically.

    If you are able to reproduce this issue, I'm wondering if you could help me out with some debugging information. If you familiar with creating database backups, I'm wondering if you could send me a database output of after adding the first enclosure, after removing that enclosure, and after adding a new enclosure. You can send the databases to ron at cavemonkey50 dot com. Thanks.

  26. cavemonkey50
    Member
    Posted 5 years ago #

    For those of you who are having problems with your files disappearing / not displaying, upgrade to 2.0 Beta 6. Some significant work has been done in this area to be more robust.

    As always, if anyone still has problems, don't hesitate to respond. I want to make sure this issue is completely resolved before 2.0 goes final.

    And, thanks to people who tested the experimental release. Your testing helped make this fix possible.

  27. sakoacc
    Member
    Posted 5 years ago #

    Cavemonkey50 -

    Some similar problems as above with enclosures. Do you recommend:

    1. Upgrade to 2.0 Beta 6
    OR
    2. Download the podcasting.php and install?
    Sorry for the ignorance, but where in WP file structure is the old podcasting.php?

  28. cavemonkey50
    Member
    Posted 5 years ago #

    Technically, at the moment going either way will get you the same file (that link will always point to the latest dev file), but definitely go for beta 6. Beta 6 should have everything you need to resolve the issue.

  29. graphikjunkie
    Member
    Posted 5 years ago #

    The replies herein just saved me a whole heap of extra headaches on my site, so thanks to everyone who commented here.

  30. vicki.farmer
    Member
    Posted 5 years ago #

    Okay, I'm running 2.0 B6, with WP 2.6.2, and I'm having the problem of my podcasting info disappearing. The podcast plays just fine, but the RSS feed is empty. I've added the mp3 line to my .htaccess file, and implemented juicysauce's semi-fix of adding a custom field for "enclosure," and now I'm getting an error message:

    Non-valid mime type detected. File reports itself as . Some podcatchers (such as iTunes) may not see this file. Contact your host if you are unsure how to correct this problem.

    The podcasting fields are finally retaining the file URL (that was not happening before I added the custom "enclosure" field), but entries into the author and link fields are still not being retained.

    Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic