Forum Activity for @nate

nate
@nate
05/14/15 03:51:14PM
917 posts

Admin Hover menu


Jamroom Developers

I see. Well that's more work than it sounds lol.
nate
@nate
05/14/15 03:44:41PM
917 posts

Admin Hover menu


Jamroom Developers

paul:Do you have a div with id="header" as a location for the menu?

This did nothing.
updated by @nate: 05/14/15 03:46:39PM
nate
@nate
05/14/15 02:13:23PM
917 posts

Admin Hover menu


Jamroom Developers

I had none of that. Thanks.
nate
@nate
05/14/15 10:56:09AM
917 posts

Admin Hover menu


Jamroom Developers

I appreciate that. This is a developer's forum. The basics are assumed covered. Thanks tho, I do appreciate it.
updated by @nate: 05/14/15 10:57:12AM
nate
@nate
05/14/15 09:26:29AM
917 posts

Admin Hover menu


Jamroom Developers

I have a custom skin and the admin hover menu doesn't show. Is there something I need to do to the skin?
updated by @nate: 05/29/15 08:18:36AM
nate
@nate
04/28/15 12:01:55PM
917 posts

Specific domain whitelist by filetype for s3


Jamroom Developers

We basically need to stream the mp4 but only to tiwtter.
nate
@nate
03/24/15 11:41:25AM
917 posts

Upload Audio File Duration


Jamroom Developers

I need to get the duration of an uploaded audio file. I am saving it and I see the size but no file_length.

This is how I am saving
jrCore_save_media_file('xtDistribLicense', 'distriblicense_upload_file', $_user['user_active_profile_id'], $_post['id']);

This is what gets saved
Quote:distriblicense_upload_file_type - audio/mpeg
distriblicense_upload_file_time - 1427221647
distriblicense_upload_file_size - 1489351
distriblicense_upload_file_name - Demo_Track_One.mp3
distriblicense_upload_file_extension - mp3

How do I get the duration?
updated by @nate: 04/25/15 10:18:13PM
nate
@nate
03/19/15 02:43:09PM
917 posts

jrCore_confirm_media_file_is_local returns array


Jamroom Developers

We updated the S3 Modules last night and now the below function returns an array. Is this how it should work? Or is the code written wrong?

$input_file = jrCore_confirm_media_file_is_local($_queue['profile_id'], basename($input_file), $_it);

updated by @nate: 04/20/15 03:23:19PM
nate
@nate
03/19/15 01:15:23PM
917 posts

unable to confirm local audio file for conversion3


Jamroom Developers

This is now returning an array

  $input_file = jrCore_confirm_media_file_is_local($_queue['profile_id'], basename($input_file), $_it);
Quote:Array ( [_created] => 1426795788 [_updated] => 1426795789 [_user_id] => 90 [audio_bpm] => 22 [audio_key] => A-sharp minor [audio_isrc] => [audio_text] => 22 [_profile_id] => 106 [audio_album] => Demos [audio_genre] => Breaks-Big Beat [audio_split] => {"106":"100"} [audio_title] => N8 S2 [audio_active] => on [audio_lyrics] => 22 [audio_pending] => 0 [audio_remixer] => [audio_explicit] => off [audio_agreement] => agree [audio_album_url] => demos [audio_file_name] => Demo_Track_Three.mp3 [audio_file_size] => 1424716 [audio_file_time] => 1426795789 [audio_file_type] => audio/mpeg [audio_genre_url] => breaks-big-beat [audio_title_url] => n8-s2 [audio_file_title] => Track 03 [audio_file_track] => 1 [audio_image_name] => bxp70277h.jpg [audio_image_size] => 1241030 [audio_image_time] => 1426795789 [audio_image_type] => image/jpeg [audio_remix_type] => {"106":"mechanical"} [audio_file_length] => 00:01:29 [audio_file_bitrate] => 128 [audio_file_smprate] => 44100 [audio_max_end_date] => [audio_release_date] => 1426737600 [audio_advance_price] => 0.00 [audio_display_order] => 0 [audio_min_lic_price] => 0.00 [audio_advance_status] => 0 [audio_catalog_number] => [audio_file_extension] => mp3 [audio_min_start_date] => [audio_image_extension] => jpg [audio_distrib_lic_count] => 0 [audio_territories_covered] => WW [_item_id] => 192 )

Causing conversion to fail and reporting this
Quote:[Artist N8]: invalid file type received for conversion: - type is not supported

updated by @nate: 03/19/15 01:16:52PM
nate
@nate
03/19/15 08:53:47AM
917 posts

unable to confirm local audio file for conversion3


Jamroom Developers

This is the code that fails
$input_file = jrCore_confirm_media_file_is_local($_args['profile_id'], basename($input_file),$_args);
	//return false;
    if (!$input_file) {
        jrCore_logger('CRI', "Unable to create waveform image. Audio file not found");
        return true;
    }

What we're after is a workaround to avoid failure. We need to create a waveform image from the audio file.



updated by @nate: 03/19/15 08:58:39AM
  62