[wp-trac] [WordPress Trac] #42017: Parse the creation date out of uploaded audio files

WordPress Trac noreply at wordpress.org
Fri Sep 29 16:29:32 UTC 2017


#42017: Parse the creation date out of uploaded audio files
--------------------------+------------------------------
 Reporter:  desrosj       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------

Comment (by blobfolio):

 I uploaded a handful of test files to a site and debugged the raw ID3
 data. Here is what that turned up:

 `MP3`, `FLAC`:
   None of these had anything like a file creation timestamp, only meta
 related to the recording like "year".

 `MPC`:
   ID3 error: `Format not supported, module "module.audio.mpc.php" was
 removed.`

 `MP4`:
   This is stored exactly like MP4 video:
 `$metadata['quicktime']['moov']['subatoms']['0']['creation_time_unix']`

 `WMA`:
   Works just like video "asf":
 `$metadata['asf']['file_properties_object']['creation_date_unix']`

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42017#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list