Realplayer MIME type x-pn-realaudio

Author Message

Softriva .com

Tuesday 13 March 2007 8:18:42 am

I am using the mime type part to get the type of uploaded file. For mp3 I get mp3 for wave I get wav; however, for ram (realplayer) I get x-pn-realaudio. How can I make ez returns ram for realplayer files.

{$audio.data_map.file.content.mime_type_part}

Kristof Coomans

Tuesday 13 March 2007 9:46:06 am

The file extension to mime type mapping array is defined in lib/ezutils/classes/ezmimetype.php (at the bottom). I already requested that it is moved to an INI file: http://issues.ez.no/10424

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 20:54:01
Script start
Timing: Jan 18 2025 20:54:01
Module start 'layout'
Timing: Jan 18 2025 20:54:01
Module start 'content'
Timing: Jan 18 2025 20:54:02
Module end 'content'
Timing: Jan 18 2025 20:54:02
Script end

Main resources:

Total runtime0.8008 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.0313152.6406
Module start 'layout' 0.00590.0035 740.671939.4609
Module start 'content' 0.00940.7897 780.1328520.1797
Module end 'content' 0.79910.0016 1,300.31258.1563
Script end 0.8007  1,308.4688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4220160.0002
Check MTime0.00150.1903160.0001
Mysql Total
Database connection0.00080.099510.0008
Mysqli_queries0.755094.2794540.0140
Looping result0.00060.0793520.0000
Template Total0.761795.120.3809
Template load0.00220.271320.0011
Template processing0.759594.850120.3798
Template load and register function0.00030.031210.0003
states
state_id_array0.00150.192310.0015
state_identifier_array0.00130.167420.0007
Override
Cache load0.00170.217180.0002
Sytem overhead
Fetch class attribute can translate value0.00080.105520.0004
Fetch class attribute name0.00190.231430.0006
XML
Image XML parsing0.00150.191720.0008
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00240.2963160.0001
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs