WordPress.org

Ready to get started?Download WordPress

Forums

podPress
[resolved] podcast episode duration problem (28 posts)

  1. katco
    Member
    Posted 2 years ago #

    for some reason my podcast episodes are not registering the entire duration of my shows. The files are uploaded and available through my blog using the plugin, but my itunes podcast isn't registering at all.

    here's my site: http://alikat.ca

    here's my podcast: http://itunes.apple.com/us/podcast/chump-n-hounds-featuring-alikat/id530490772

    if i use the auto detect duration feature, i get a different value each time, none are even close to the actual duration of my episodes.

    seriously does anyone have any idea?

    I used to use this plugin about 8 months ago and it worked perfectly.

    I've also adjusted my permissions so it should be completely accessible.

    Im at my wits end and i really don't want to use any of the other available WP podcast plugins. Id be willing to make a donation to the developers if they provided a solid fix for this issue.

    thank you

    http://wordpress.org/extend/plugins/podpress/

  2. ntm
    Member
    Plugin Author

    Posted 2 years ago #

    if i use the auto detect duration feature, i get a different value each time, ...

    Do you how long this auto detection process takes? It is possible that it reaches a time limit, does not complete correctly and returns a wrong value.
    I have downloaded alikat-cover-sesh-05.29.2012.mp3 and twentyfour.mp3 and uploaded them to my local test blog (not on a public server). The auto detect function retrieves 158:45 min and 58:41 min. Both values are always the same regardless how often I repeat the auto detection. That is why I think that it may have something to do with the server of your blog.

    ...none are even close to the actual duration of my episodes.

    If I play the twentyfour.mp3 file with a audio player on my computer (e.g Rhythmbox) then the player displays 1:14:00 as duration but at 58:41 the player jumps to the end or stops playing. Another player software does show a different duration 1:00:06 and stops approximately at 59:40. I don't know why this happens.

    It would be good if you could whether you produce your podcasts with a different software or different settings compare to older episodes. Maybe do a test of the duration auto detect function with a smaller file. If the problem is a time limit then it should be possible to retrieve always the same duration with a smaller file.

    In the meantime while we are trying find the cause of the problem, you may enter the correct duration values manually.

    I've also adjusted my permissions so it should be completely accessible.

    0755 for the folder and 0644 for the file is enough.

    Regards,
    Tim

  3. ntm
    Member
    Plugin Author

    Posted 2 years ago #

    The files are uploaded and available through my blog using the plugin, but my itunes podcast isn't registering at all.

    I don't understand. All episodes which are in http://alikat.ca/feed/podcast are available on the iTunes page. If you want to see older episodes in the feed and at the iTunes page then go to the Reading settings of your blog: http://codex.wordpress.org/Settings_Reading_Screen
    and increase the "Syndication feeds show the most recent ..." value (and wait 24h).
    If it is not possible to listen to some of the episodes via the preview play button on the iTunes page then set the file size value and the duration value correctly (eventually by hand at the moment).

  4. ntm
    Member
    Plugin Author

    Posted 2 years ago #

    The file twentyfour.mp3 seems to be a special file. My iTunes client software shows as the duration 1:14:07. The Windows Media Player shows for the same file 1:00:31. Both players play the file with these durations and stop at these times.
    I have converted the file with iTunes to a AAC version. Afterwards the new duration was 00:58:31. The library which podPress uses to detect the duration detects this duration correctly.

  5. katco
    Member
    Posted 2 years ago #

    Hi, wow, thank you for your quick response. When I said it 'doesn;t resgiser at all" that was the wrong wording, because it does show on my podcast, its the duration that I am having problems with.

    Do you how long this auto detection process takes? It is possible that it reaches a time limit, does not complete correctly and returns a wrong value.

    it usually finishes in a few seconds, but i read all of your posts, and figured it must be a plugin issue. so i disabled all plugins except podpress, tried the auto detect again, and it took about 45 seconds and came up with the correct value.

    im using a theme from rockettheme (with gantry) and its a bit outdated as my subscription ended in 20111. perhaps that was the issue.

    if you like i could post all the other plugins i had active so you could test where the conflict was.

    anyhow, thank you for all your responses and trouble shooting. this error was completely on my side. my bad.

    :)

  6. katco
    Member
    Posted 2 years ago #

    ok wait, so i thought it was it was a plugin issue, but its not.

    one thing is that auto detect is taking longer and the duration values are more than they were before, but everytime i click on it, it does give me a different value.

    I'd be willing to create you an admin account if you'd like to see what's going on and don't worry, I'll donate. In fact, I'll donate a bit right now, and more if you can fix this for me.

    I've also switched my theme to default twenty eleven, but it doesnt seem to have helped.

  7. katco
    Member
    Posted 2 years ago #

    i just donated and I don't know what happened there, I'll put more money in my bank and donate again tomorrow. Im willing to pay a lot more than $8 for some support with this issue. I just entered $8, cause that's all i had in my paypal, but apparently you only accept echecks anyhow.

    if you send me an email address i can make you an admin account, and i can even get you access to my bluehost account.

    im quite techy myself, while i don't program, im fluent with html/css, cpanel, etc... so i can also follow instructions very well.

    can you please help me? I really like this plugin.

    One thing Im thinking is that is an old website that was on another domain, which expired, i moved it, resurrected it, and only now im having these issues.

  8. katco
    Member
    Posted 2 years ago #

    i guess i could do a test with a fresh install, see if that helps.

  9. ntm
    Member
    Plugin Author

    Posted 2 years ago #

    it usually finishes in a few seconds, but i read all of your posts, and figured it must be a plugin issue. so i disabled all plugins except podpress, tried the auto detect again, and it took about 45 seconds and came up with the correct value.

    I haven't thought that this might be related to other plugins. But if deactivating the other plugins made a difference then I would like to know which other plugin you have running.

    My initial guess was and still is that the max_execution_time limit is a problem. Your files are partially 300-450 MB big and it may take some time to process those files - maybe to much time.

    Since retrieving the duration (or ID3 tag) information from a file is more complex and a problem with it may have one of various reasons, podPress has a debugging mechanism for this part of the plugin.
    Basically you need to define a PHP constant with the value TRUE. If this constant is defined podPress will log all steps during the duration detection process in a .dat file. podPress will save also the time limit value in this file.
    Besides defining the constant the plugin (the script) should be allowed to create and write to the log file. Sometimes this is allowed by default. On other servers it is necessary that the log file folder has the same owner and group as the PHP scripts (or nobody:nogroup).

    A good way to define the constant is to create in the folder /wp-content/plugins/ the sub folder podpress_config/ and create a PHP file with the name pordpress_config.php in this folder. This file may contain this:

    <?php
    if ( ! defined( 'PODPRESS_DEBUG_LOG' ) ) { define( 'PODPRESS_DEBUG_LOG', TRUE ); }
    ?>

    podPress recognise the file and the definition in this file and write all its action into the podpress_log.dat file in the /wp-content/plugins/podpress/ folder.
    If the constant is defined, click on Auto Detect duration and wait until the result is back. Afterwards set the constant to FALSE to prevent unnecessary load and logging actions.

    I would like to see the content of the log file. You may use one of the pastebin services (or send me an email).

    Regards,
    Tim

    btw: I have no donation button. (The one you can find is the one of the original author Dan (seek3r) Kuykendall. Your donations will not reach me.) But I'm here and I will try to help anyway.

  10. ntm
    Member
    Plugin Author

    Posted 2 years ago #

    ... but everytime i click on it, it does give me a different value.

    Please, try the auto detection with a smaller file. Maybe the twentyfour.mp3. The duration value of the auto detection should be 58:41. (This value maybe different to the one you can see in one of your audio players. But that is the value I get in my test environment each time I use the auto detect function with this file.)

    tried the auto detect again, and it took about 45 seconds and came up with the correct value.

    Which file was it? Can you reproduce this result?

  11. katco
    Member
    Posted 2 years ago #

    wow, amazing support, thank you!
    re donation button, i had to search for it on the plugin.

    Im going to try your php file fix, I'll be in touch with the plugins I was using and whether or not the fix worked for me.

    what is your email? I'd like to send you a donation for your help.

    I'll be in touch, thank you for keeping this wonderful plugin alive.

    Ali

  12. katco
    Member
    Posted 2 years ago #

    here are the plugins i had activated:

    Akismet
    Activate | Edit | Delete
    Used by millions, Akismet is quite possibly the best way in the world to protect your blog from comment and trackback spam. It keeps your site protected from spam even while you sleep. To get started: 1) Click the "Activate" link to the left of this description, 2) Sign up for an Akismet API key, and 3) Go to your Akismet configuration page, and save your API key.

    Version 2.5.6 | By Automattic | Visit plugin site
    Select Allow Shortcodes in Text Widgets
    Allow Shortcodes in Text Widgets
    Activate | Edit | Delete
    This plugin allow the blog-owner to enable/disable the usage of shortcodes in the default text widget provided by WordPress along with smilies if enabled for the blog.

    Version 1.0 | By Robert Wise | Visit plugin site
    Select BackUpWordPress
    BackUpWordPress
    Activate | Edit | Delete
    Simple automated backups of your WordPress powered website. Once activated you'll find me under Tools → Backups.

    Version 1.6.8 | By Human Made Limited | Visit plugin site
    Select Extended Google Analytics
    Extended Google Analytics
    Activate | Edit | Delete
    With this plugin you can very easely add Google analytics to your website. It will also add tracking events for outbound links and download links.

    Version 1.1 | By Sitebase | Visit plugin site
    Select Gantry Template Framework
    Gantry Template Framework
    Activate | Edit | Delete
    This is a Framework to support easily modifiable themes that are very extensible.

    Version 1.23 | By RocketTheme | Visit plugin site
    Select Gravity Forms
    Gravity Forms
    Activate | Edit | Delete
    Easily create web forms and manage form entries within the WordPress admin.

    Version 1.6.2 | By Rocketgenius Inc. | Visit plugin site
    Select Post Snippets
    Post Snippets
    Activate | Edit | Delete
    Build a library with snippets of HTML, PHP code or reoccurring text that you often use in your posts. Variables to replace parts of the snippet on insert can be used. The snippets can be inserted as-is or as shortcodes.

    Version 2.0 | By Johan Steen | Visit plugin site
    Select RokAjaxSearch
    RokAjaxSearch
    Activate | Edit | Delete
    RokAjaxSearch is a truly powerful plugin that brings fantastic search functionality to WordPress, using the powerful and versatile javascript library, Mootools as well as full Google Search integration.

    Version 1.11 | By RocketTheme, LLC | Visit plugin site
    Select RokBox
    RokBox
    Activate | Edit | Delete
    RokBox, the successor of our popular RokZoom plugin, is a mootools powered JavaScript slideshow that allows you to quickly and easily display multiple media formats including images, videos (video sharing services also) and music.

    Version 2.5 | By RocketTheme, LLC | Visit plugin site
    Select RokNewsPager
    RokNewsPager
    Activate | Edit | Delete
    RokNewsPager is an post previewer and rotator. It displays posts, in a summarised form and, using mootools based javascript transition, rotates through a series of pages displaying articles in a contracted list format.

    Version 1.8 | By RocketTheme, LLC | Visit plugin site
    Select RokStories
    RokStories
    Activate | Edit | Delete
    RokStories is a great widget to display your posts and accompanying images as a featured item. The widget itself is facilitated by Mootools to transition between images and articles seamlessly. Perfect for showcasing featured posts or image on your site.

    Version 1.10 | By RocketTheme, LLC | Visit plugin site
    Select RokTabs
    RokTabs
    Activate | Edit | Delete
    RokTabs is a fully independent and incredibly flexible standalone version of the popular theme feature, RokSlide. That being, a widget that displays content in tabs that are scrollable and can rotate automatically.

    Version 1.15 | By RocketTheme, LLC | Visit plugin site
    Select Shortcode Reference
    Shortcode Reference
    Activate | Edit | Delete
    This plugin will provide the details about all available shortcodes when you'll need it most: when you're editing your content

    Version 0.1 | By Bart Stroeken | Visit plugin site
    Select Terms Descriptions
    Terms Descriptions
    Activate | Edit | Delete
    This plugin allows you to create list of terms and assign links to them. Plugin automatically replaces terms occurrences in your posts with appropriate links. You can control the number of replacements. After activation you can create terms list on plugin administration page (Tools -> Terms Descriptions).

    Version 3.0.4 | By Vladimir Statsenko | Visit plugin site
    There is a new version of Terms Descriptions available. View version 3.0.5 details or update automatically.
    Select WP-DownloadManager
    WP-DownloadManager
    Activate | Edit | Delete
    Adds a simple download manager to your WordPress blog.

    Version 1.60 | By Lester 'GaMerZ' Chan | Visit plugin site

  13. katco
    Member
    Posted 2 years ago #

    also i just realized you didnt send me a fix, but a way to log debug data, i'll do that now.

    Ali

  14. katco
    Member
    Posted 2 years ago #

    ahh, i see the podcast_config sample file in the directory... ok!

    getting it.

  15. katco
    Member
    Posted 2 years ago #

    omg, im so bad at this, i just saw you made another post:

    ... but everytime i click on it, it does give me a different value.

    Please, try the auto detection with a smaller file. Maybe the twentyfour.mp3. The duration value of the auto detection should be 58:41. (This value maybe different to the one you can see in one of your audio players. But that is the value I get in my test environment each time I use the auto detect function with this file.)

    tried the auto detect again, and it took about 45 seconds and came up with the correct value.

    Which file was it? Can you reproduce this result?

    i tried auto detect on twentyfour: it was 2:44 originally
    then it went to: 100:21
    i tried again and it changed to: 111:41
    the third time it changed to: 88:09

    also, I am confused a bit. I created a new folder: wp-content/plugins/podpress_config

    and added the php file which I named podpress_config.php and it contained this:

    <?php
    if ( ! defined( 'PODPRESS_DEBUG_LOG' ) ) { define( 'PODPRESS_DEBUG_LOG', TRUE ); }
    ?>

    ---------------------------

    i thought that maybe that might be the incorrect directory so I did the same for:
    wp-content/plugins/podpress/podpress_config

    --------------------------

    and I don't see a .dat file anywhere.
    Am I doing this right?

    thanks again for you help.
    Ali

  16. katco
    Member
    Posted 2 years ago #

    also:

    Which file was it? Can you reproduce this result?

    it was this one:
    http://alikat.ca/chump-n-hounds-06-09-2012/

    and no I can't reproduce the result exactly, i tried and this time it gave me 133:44

    im going to try to set up another site on a fresh install on a subdomain and see if i am still having this problem.

  17. ntm
    Member
    Plugin Author

    Posted 2 years ago #

    You are right. The folder/file name should be wp-content/plugins/podpress_options/podpress_config.php.

    I'm sorry!

  18. ntm
    Member
    Plugin Author

    Posted 2 years ago #

    (Another way to set the PODPRESS_DEBUG_LOG constant to TRUE is to modify it in the podpress.php file.)

    It would be great if you could create a log for one duration detection and one ID3 tag detection ("Show ID3 tags") for the same file.

  19. ntm
    Member
    Plugin Author

    Posted 2 years ago #

    (You can reach me at the moment via Skype: podpress2010.)

  20. katco
    Member
    Posted 2 years ago #

    Hi there, sorry I was tied up for a bit. Ok, I corrected the path to the config file, and I do have a data file now. I attempted auto detect on one file, and then ID3 tag right after, seems like some data was written to the file.

    I can either post here, or send to you. I've added you on skype, currently pending contact request.

    I really appreciate all your help. thank you so very much.

    Ali

  21. katco
    Member
    Posted 2 years ago #

    AH HA!
    EUREKA!

    ok, so i removed the file for: twentyfour.mp3

    Updated the post

    then re-added it, pressed auto detect and it came up with the correct value, which you posted earlier: 58:41

    I'm going to try to do this to the other posts and see if the issue is corrected, I'll repost once I know.

    Ali

  22. katco
    Member
    Posted 2 years ago #

    Dang, I thought that fixed it, but it did not, when i tried to re-add a larger file, it still didn't give the entire duration.

    However, I just realized you pointed out that I could add the duration manually, I tried to do that before, but I didn't have the correct time code form. for example i was entering : 03:24:43 when it should have been 204:43

    Anyhow, as long as I can enter it manually, it's no skin off my back. thanks a lot for your help and all the wicked support.

    I'll continue to use this plugin.
    thanks

    A

  23. ntm
    Member
    Plugin Author

    Posted 2 years ago #

    I installed
    Akismet
    Allow Shortcodes in Text Widgets
    BackUpWordPress
    Gantry Template Framework
    Post Snippets
    Shortcode Reference
    Terms Descriptions
    WP-DownloadManager
    and tried to retrieve the duration value of the twentyfour.mp3 and other files. It was always possible and the values were always the same.

    But to find out whether a certain other plugin is involved, it would be best that you deactivate them in your blog one-by-one and check which influence that has on the duration detection.

    But I guess during these attempts

    i tried auto detect on twentyfour: it was 2:44 originally
    then it went to: 100:21
    i tried again and it changed to: 111:41
    the third time it changed to: 88:09

    to use the Auto Detect button, the plugin were deactived.

  24. icemaax
    Member
    Posted 2 years ago #

    Hi! have the same problem.
    Only entering manually, work :(

  25. ntm
    Member
    Plugin Author

    Posted 2 years ago #

    @icemaax: In Alisons case the problem is that the files are stored outside the default upload folder of the blog (wp-content/uploads). If the files are store some place the auto detection mechanism can not determine whether the file is a file on the same domain as the blog or not. If the file is (or seems to be) at a remote location the mechanism starts downloading the media file to a tmp/ folder. The reason for that is that mechanism can only retrieve the duration value from a local file.
    The problem with the download is that it may take some time depending on the file size. But PHP scripts like podPress are usually only allowed to run for a limited amount of time (max_execution_time) e.g. 30 seconds. If the download takes to long podPress returns not the correct duration (or simply UNKNOWN).
    That the duration detection does not work may have other reasons. But all are related to the situation that the file is not (or does not seem to be) a local file.
    In order to tell you more about the situation in your blog I would need to see the log file (see above).

    Regards,
    Tim

  26. katco
    Member
    Posted 2 years ago #

    AH AHAHAHAH! I finally figured out the problem, it was totally my fault.

    I had changed my domain name, but did not change the setting: URL of the media files directory

    I am really truly sorry for overlooking something so simple and taking up your time.

    Ali

  27. katco
    Member
    Posted 2 years ago #

    Thanks Again! This topic is totally resolved!

  28. icemaax
    Member
    Posted 1 year ago #

    Thanks :)
    Have bigger mp3 files, but working perfect.
    Good Plugin

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic