46
Implemented Requests / Re: Play Tracking Suggestion
« on: November 14, 2016, 07:59:49 PM »I assume it's one of the RFC date formats that you'd want (based on what was in the earlier XML example). Just need to know which one and can look to get that added in.
Going with ATF and modifications of it may not be the ultimately best solution but for the most part it should suffice with it being a simpler way to access the metadata and custom data within how Winamp tends to want to work.
As long as the string can be converted with PHP using strtotime(); that's all I need. As it stands, it doesn't work.
Code: [Select]
<p>Time: <?= date('M/d/Y g:i:s A T',strtotime("13_11_2016 - 22:30:28")); ?></p>
Outputs: Time: Dec/31/1969 6:00:00 PM CST
Granted, since I know the format, I can programmatically create a string that will work with the function. A string like "13-11-2016 22:30:28" does work. So I could make the date be "%date% %time%" if date used dashes instead of underscores. Right now, in PHP I could just do a str_replace() to change "_" to "-".