Forum

Thread tagged as: Problem, Error, Podcasts

Podcast App 1.2, Duration Detection not Detecting

Hello!

I’ve just installed version 1.2 of the Podcast App, and all seems mostly cool — the defaults for file location, local/remote, and resource bucket now "stick", yay!

However, while testing this upgrade I found that duration detection no longer seems to work. I tested deleting and then re-adding an episode that worked previously, the file size successfully is detected, but duration is not.

I was hesitant to post this to the forums because I am intentionally not running the most current version of Perch. I’ve held off upgrading this month because my client's site relies heavily upon the use of radio buttons and I’ve confirmed for myself on a staging copy of their site that upgrading to version 2.8.23 causes problems.

I am, however, running version 2.8.18, which I believe is the minimum requirement for the Podcast App. So, I thought it best to report this issue, anyway.

The duration auto-detect is not a deal breaker, I will likely launch this to production, anyway. Because the audio player in the admin interface displays the duration (in only MM:SS mind you, not HH) that value can be copied and entered manually by the user. But, there is a risk of user error which makes me a bit queasy since duration is part of the information that is sent to iTunes via RSS.

I’ve attached my diagnostics:

PERCH INFORMATION

Perch: 2.8.18
Production mode: Development (10)
Installed apps: content (2.8.18), assets (2.8.18), categories (2.8.18), perch_blog (5.0), perch_forms (1.8.3), perch_podcasts (1.2), perch_twitter (3.5.1)
DB driver: PDO
DB tables: perch2_blog_authors, perch2_blog_comments, perch2_blog_index, perch2_blog_posts, perch2_blog_posts_to_tags, perch2_blog_sections, perch2_blog_tags, perch2_blogs, perch2_categories, perch2_category_counts, perch2_category_sets, perch2_content_index, perch2_content_items, perch2_content_regions, perch2_forms, perch2_forms_responses, perch2_navigation, perch2_navigation_pages, perch2_page_templates, perch2_pages, perch2_podcasts, perch2_podcasts_downloads, perch2_podcasts_episodes, perch2_resource_log, perch2_resource_tags, perch2_resources, perch2_resources_to_tags, perch2_settings, perch2_twitter_scheduled_tweets, perch2_twitter_settings, perch2_twitter_tweets, perch2_user_privileges, perch2_user_role_privileges, perch2_user_roles, perch2_users
Users: 3
App runtimes:
<?php
    $apps_list = array(
        'content', 
        'categories',
        'perch_blog',
        'perch_forms',
        'perch_podcasts',
        'perch_twitter'
    );
Scheduled tasks for perch_twitter: post_tweets (1 mins)
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Editor plug-ins: markitup, redactor
H1: 74fe7cd4e475621db0f198bcf9fc735d
L1: 7329a6b741e1afaf9f6a964ef537216d
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 0
content_collapseList: 1
lang: en-gb
update_2.8.7: done
latest_version: 2.8.15
on_sale_version: 2.8.23
headerScheme: light
content_frontend_edit: 1
dashboard: 0
hide_pwd_reset: 0
content_hideNonEditableRegions: 1
perch_blog_post_url: /blog/{postSlug}/
perch_blog_slug_format: %Y/%m/%d/{postTitle}
perch_blog_akismet_key: 9bae445cf88f
perch_blog_max_spam_days: 0
perch_blog_comment_notify: 1
perch_blog_update: 5.0.1
perch_twitter_update: 3.5
update_2.8.8: done
update_2.8.10: done
update_2.8.11: done
update_2.8.13: done
update_2.8.14: done
update_2.8.16: done
update_2.8.18: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_PRODUCTION_MODE: 10
PERCH_SECURITY_HEADERS:
PERCH_DB_PREFIX: perch2_
PERCH_TZ: America/Los_Angeles
PERCH_LOGINPATH: /perch
PERCH_RESPATH: /perch/resources
PERCH_HTML5: 1
PERCH_RWD: 1
PERCH_RUNWAY:
PERCH_ERROR_MODE: DIE
PERCH_DATE_LONG: %d %B %Y
PERCH_DATE_SHORT: %d %b %Y
PERCH_TIME_SHORT: %H:%M
PERCH_TIME_LONG: %H:%M:%S
PERCH_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_HTML_ENTITIES:
PERCH_SSL:
PERCH_STRIPSLASHES:
PERCH_PROGRESSIVE_FLUSH: 1
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
PERCH_SESSION_TIMEOUT_MINS: 20
PERCH_APPS_EDITOR_PLUGIN: markitup
PERCH_APPS_EDITOR_MARKUP_LANGUAGE: textile
HOSTING SETTINGS

PHP: 5.6.16
Zend: 2.6.0
OS: FreeBSD
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: 3c688b6bbc30d36af3ac34fdd4b7b5b787fe5555 $
MySQL server: 5.5.35-log
Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dba, dom, hash, fileinfo, filter, ftp, gd, gettext, gmp, SPL, iconv, session, intl, json, ldap, mbstring, mcrypt, mssql, standard, mysqlnd, mysqli, odbc, pcntl, mysql, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, Reflection, imap, SimpleXML, soap, sockets, exif, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, cgi-fcgi, PDFlib, mhash
GD: Yes
ImageMagick: No
PHP max upload size: 4M
PHP max form post size: 8M
PHP memory limit: 128M
Total max uploadable file size: 4M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: Yes
PATH: /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
ORIG_SCRIPT_NAME: /fcgi-bin/php5_wrapper.sh
ORIG_PATH_INFO: /perch/core/settings/diagnostics/index.php
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
REQUEST_URI: /perch/core/settings/diagnostics/?extended
QUERY_STRING: extended
REQUEST_METHOD: GET
SERVER_PROTOCOL: HTTP/1.1
GATEWAY_INTERFACE: CGI/1.1
REDIRECT_URL: /perch/core/settings/diagnostics/index.php
REDIRECT_QUERY_STRING: extended
REMOTE_PORT: 59622
SERVER_SOFTWARE: Apache/2.2.31
HTTP_COOKIE: __utma=114422544.1938340636.1440173459.1440173459.1440173459.1; __utmz=114422544.1440173459.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); cmsa=1; _ga=GA1.2.1938340636.1440173459; _gat=1; PHPSESSID=u5juun5k2hccs8q1njtfgifbr2
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8
HTTP_ACCEPT_ENCODING: gzip, deflate, sdch
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_CONNECTION: close
UNIQUE_ID: Vp1kptiSwzYAACFoYU0AAAAU
REDIRECT_STATUS: 200
REDIRECT_HANDLER: application/x-httpd-php
REDIRECT_UNIQUE_ID: Vp1kptiSwzYAACFoYU0AAAAU
FCGI_ROLE: RESPONDER
PHP_SELF: /perch/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1453155494.902
REQUEST_TIME: 1453155494
Abby Larsen

Abby Larsen 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Do you get anything in your browser console? I'm wondering if the request is being blocked.

Abby Larsen

Abby Larsen 0 points
Registered Developer

Nope. Browser console is blank. It does take a while for the file to be loaded, though, from the file origin. Only interesting thing I could find poking around with the browser inspector.

Podcast App Episode Editor — Chrome Inspector Timeline

(Oh, and have upgraded to Perch 2.8.26 since three months ago!)

Drew McLellan

Drew McLellan 2638 points
Perch Support

Have your files always been M4A files?

Abby Larsen

Abby Larsen 0 points
Registered Developer

Yes. There are 52 of 'em that I imported from an rss feed initially without a hitch. The test I mentioned in my first post in this thread was conducted on a podcast episode that had had its duration detected just fine before. I only performed the test as a matter of due diligence after updating the podcast app.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, that's interesting, thanks. I'll need to run some tests to try to reproduce it.