Displaying 20 results from an estimated 70 matches for "mime_type".
Did you mean:
mime_types
2008 May 09
1
FLAC__metadata_get_picture()
...ta::get_picture() func?
This function is wrapper FLAC__bool FLAC__metadata_get_picture().
flac-1.2.1/src/libFLAC/metadata_iterators.c:
...
285 FLAC_API FLAC__bool FLAC__metadata_get_picture(const char *filename,
FLAC__StreamMetadata **picture, FLAC__StreamMetadata_Picture_Type type,
const char *mime_type, const FLAC__byte *description, unsigned
max_width, unsigned max_height, unsigned max_depth, unsigned max_colors)
286 {
287 FLAC__Metadata_SimpleIterator *it;
288 FLAC__uint64 max_area_seen = 0;
289 FLAC__uint64 max_depth_seen = 0;
290
291 FLAC__ASSERT(0 != filename);...
2010 Dec 31
6
HTTP Accept header wildcard breaks rails app
The thunderstone crawler (http://search.thunderstone.com/texis/
websearch/about.html) sends the folliowing HTTP accept header when
requesting pages
Accept: text/*, application/javascript, application/x-javascript
This results in a "Missing template" exception
text/* is valid. How do I tell my rails app to treat this as rhtml by
default instead of returning a 500?
Missing template
2008 Apr 25
1
attachment_fu and mime type issues
...rails set the content
type based on the mime type? How is it that a file can be uploaded without
any mime type at all? Shouldn''t it at least have application/octet-stream if
the server can''t parse the actual file type? I tried starting mongrel with:
mongrel_rails start -m config/mime_types.yml
and my mime_types.yml file reads:
---
.flac: audio/flac
But this hasn''t helped. Are these configuration loaded mime types only used
for serving files, and not for associating a content type with uploaded form
data?
Thanks in advance for any tips.
Sean
--~--~---------~--~----~-----...
2009 Apr 03
7
RJS not rendering correctly when mime-type is 'iphone'
...template controller_name/
update.erb in view path app/views)
The rjs works fine when viewing the site normally, and it worked when
viewing the iPhone version prior to upgrading Rails to 2.3.2.
Additional info: I have ''Mime::Type.register_alias "text/
html", :iphone'' in mime_types.rb and the respond_to block in the
action is what''d you expect --
respond_to do |format|
format.js
end
What could be the problem? Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rail...
2006 Mar 29
2
inserts now set unset columns to null
...e earlier version of rails, I had insert queries that looked like
this:
Topic Create (0.001189) INSERT INTO topics ("inlibrary",
"irx_display_title", "irx_title", "title", "creation_stamp",
"last_update_stamp", "url", "mime_type", "irx_doc_path", "dr_title",
"irx_machine_id", "source", "keywords") VALUES(''t'', NULL, ''d gdssg sd5
gd5g '', NULL, ''2006-03-29 10:49:23'', ''2006-03-29 10:49:23'', NULL, NUL...
2007 Nov 09
9
fixture_file_upload and edge rspec?
Hi all,
I had some specs that were using fixture_file_upload that were
passing just fine. Then I froze edge rails to get some 2.0
functionality, then a I upgraded to trunk rspec to deal with
uninitialized constant ActionView::Helpers::JavaScriptMacrosHelper
After a couple other of tribulations, I have now gotten down to just
a couple of not passing specs, all using the fixture_file_upload.
2007 Sep 12
0
Changes to include/FLAC/metadata.h
Josh,
I noticed that the prototypes of two functions in the above header
file recently changed from:
FLAC_API FLAC__bool
FLAC__metadata_object_picture_set_mime_type (FLAC__StreamMetadata *object,
const char *mime_type, FLAC__bool copy);
FLAC_API FLAC__bool
FLAC__metadata_object_picture_set_description(FLAC__StreamMetadata *object,
const FLAC__byte *description, FLAC__bool copy);
to:
FLAC_API FLAC__bool
FLAC__metadata_object...
2015 Apr 22
2
semi-OT: t-bird mime type on .pdf attachment is wrong
...finding anything. (I just *adore* the current
google: I have +"all/allfiles" in the search terms, and in the para it
displays on a hit I see "all somethingorother", with the word "all"
bolded....)
Anyone got ideas? I've looked in
.thunderbird/<blah>.default/mime_types.rdf, and everything looks good in
there.
mark
2008 May 15
8
facebooker, respond_to and firefox 3 beta5/pre
Hi there,
I have a controller that responds to fbml and html, with html at the
top.
In all browsers, this works as expected - When I''m hitting the
controller from my normal app, I get html. When I hit it inside
facebook, I get fbml.
However, with Firefox 3 hitting the normal app, I''m getting fbml for
some odd reason.
Am I crazy?
Sudara
2004 Aug 06
4
Ices 2.0 beta3
This is to announce the release of ices 2.0 beta 3. The source client
for streaming Ogg Vorbis to Icecast 2.
After far too much time having passed since beta 2, where many fixes and
updates have been applied, it's time to push for a full 2.0 release.
This beta is really to flush out any remaining issues, so no new
functionality is to be added until after the 2.0 release.
Download from
2004 Aug 06
4
Ices 2.0 beta3
This is to announce the release of ices 2.0 beta 3. The source client
for streaming Ogg Vorbis to Icecast 2.
After far too much time having passed since beta 2, where many fixes and
updates have been applied, it's time to push for a full 2.0 release.
This beta is really to flush out any remaining issues, so no new
functionality is to be added until after the 2.0 release.
Download from
2007 Dec 02
1
Get multiple pictures in Flac tags
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/flac-dev/attachments/20071202/e18cddb2/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: metaflac.flac
Type: audio/x-flac
Size: 10983 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20071202/e18cddb2/metaflac.bin
2016 Apr 15
0
FLAC__metadata_get_picture always return false
...ame, &smet, pic_type, NULL, NULL, (unsigned)(-1) , (unsigned)(-1), (unsigned)(-1), (unsigned)(-1)) )
{
FLAC__StreamMetadata_Picture pict = smet->data.picture;
if ( pict.data_length )
{
printf("found image %s : %s", pict.mime_type, pict.description);
} else printf(« no data %s : %s\n", pict.mime_type, pict.description);
break;
} else printf("get_picture %u returned false\n", pic_type );
}
I have tried to use -1 instead of pic_type as 3rd argument on a single call to FLAC__...
2011 Jan 13
2
parsing an e-mail with perl
Dear List,
I need to be able to pull off attachments from e-mails on the fly and
then demime them and print them. I have been studying MIME::Tools but
was hoping someone could point me to a script example of something I
could use.
Any help would be appreciated - Thanks!
--
Greg Ennis
2007 Nov 06
0
configure.ac src/Makefile.am src/plugin.c
...ed ())
+ return FALSE;
+ module = g_module_open (PLUGIN_DIR G_DIR_SEPARATOR_S "libswfdecmozilla." G_MODULE_SUFFIX, 0);
+ if (module == NULL)
+ return FALSE;
+ g_module_make_resident (module);
+ g_module_close (module);
+ return TRUE;
+}
+
static NPError
plugin_new (NPMIMEType mime_type, NPP instance,
uint16_t mode, int16_t argc, char *argn[], char *argv[],
@@ -138,9 +157,8 @@ plugin_new (NPMIMEType mime_type, NPP instance,
if (instance == NULL)
return NPERR_INVALID_INSTANCE_ERROR;
- if (CallNPN_SetValueProc (mozilla_funcs.setvalue, instance,
- NPPVpluginKeepLibrar...
2009 May 07
1
Paperclip: strange mime type on windows
When i upload a pdf, validations doesn''t work, only images validation
works. Avoiding check, file was loaded but with this content type:
file_content_type: "binary/octet-stream"
How can i solve? I''d like to have "application/pdf"
--
Posted via http://www.ruby-forum.com/.
2008 Jul 18
2
Use script for attachment_fu
Hi -
I would like to iterate through a native folder and execute
attachment_fu per each file. Has anyone done this before? Or have any
tips or code snippets?
Attachment_fu works well via form - but since I have a sizable amount of
files I simply want to batch them in - just as if I were doing it via a
form.
Many thanks!
--~--~---------~--~----~------------~-------~--~----~
You received
2015 Apr 23
1
semi-OT: t-bird mime type on .pdf attachment is wrong
...nt google: I have +"all/allfiles" in the search terms, and in the
para it
>> displays on a hit I see "all somethingorother", with the word "all"
>> bolded....)
>>
>> Anyone got ideas? I've looked in
>> .thunderbird/<blah>.default/mime_types.rdf, and everything looks good in
>> there.
>
> Did you check the mime type of the file? just because it says PDF does
> not make that true.
> You can use file to check it.
>
file docs/*.pdf, and all come back saying that they're PDF document,
version 1.4
I believe this i...
2011 Jun 01
12
[Bug 8201] New: rsync 3.0.8 destroys SELinux security context of symbolic links
https://bugzilla.samba.org/show_bug.cgi?id=8201
Summary: rsync 3.0.8 destroys SELinux security context of
symbolic links
Product: rsync
Version: 3.0.8
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
2012 Jun 08
1
[Rails 3.2.5] Rails: unit test fixture_path : fixture_file_upload cannot find the file ...
I am trying to perform a test unit, using FactoryGirl
include ActionDispatch::TestProcess
FactoryGirl.define do
factory :article do
.......
photo { fixture_file_upload ''/files/test.jpg'', ''image/jpg'' }
end
end
IN mt test_helper.rb I defined the fixture_path
def fixture_path
File.dirname(__FILE__) + "/fixtures/" #