search for: mime_types

Displaying 20 results from an estimated 70 matches for "mime_types".

2008 May 09
1
FLAC__metadata_get_picture()
Hi all! I have a problem to get _all_ images from flac file. I have flac file with 3 images inside ( FLAC__METADATA_TYPE_PICTURE ) How to get _all_ images with bool FLAC::Metadata::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,
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 Rails...
2006 Mar 29
2
inserts now set unset columns to null
Hi, I upgraded to Ruby 1.8.4 and whatever the latest Rails is as of March 29 2006. I am using PostgreSQL 7.4. With the 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",
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,
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
I am using a libFLAC8.dylib that I have compiled with the original Makefile of flac 1.3.1 distribution, in a project with a custom flac.h header file which is an amalgamation of all the flac header files. I can get this pair ( flac.h & libFLAC8.dylib ) working fine to convert flac file to other supported audio file formats both ways. It work also fine to get Vorbis Comment and other metadata (
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
configure.ac | 2 +- src/Makefile.am | 5 +++-- src/plugin.c | 26 ++++++++++++++++++++++---- 3 files changed, 26 insertions(+), 7 deletions(-) New commits: commit ca13a1daef653a80e89250e273496ca01dfccddd Author: Benjamin Otte <otte at gnome.org> Date: Tue Nov 6 21:29:54 2007 +0100 make sure the plugin is never unloaded (#13110, reported by Tom Parker) It seems
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 is...
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/" #