[RESOLVED] MPD can't add files to db, says ignoring unrecognized file

Sorry to bother you guys with this, but I have searched a while on google and the forums and come up empty.
I'm trying to add some music to my database with mpd and ncmpcpp. I start mpd and it starts fine, and start ncmpcpp and it starts fine, and hit the 'u' key to update. Then I look at my library. It has all the folders that are in my music folder, but none of the .mp3 files are listed. So I started mpd with
mpd --verbose --stdout --no-daemon
And hit the 'u' key in ncmpcpp again, and for every file in my music folder, mpd says such things as
update: ignoring unrecognized file Snow Patrol/Chocolate.mp3
I am running mpd as a user (not as root or as a daemon) and even then I checked all the permissions on all the relevant files and directories and they all seem to be good.
I searched a lot and didn't find this error. Has anyone else had this problem and fixed it?
Last edited by kens (2011-11-16 22:25:47)

Here's the output of mpd --version:
mpd (MPD: Music Player Daemon) 0.16.5
Copyright (C) 2003-2007 Warren Dukes <[email protected]>
Copyright (C) 2008-2010 Max Kellermann <[email protected]>
This is free software; see the source for copying conditions. There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Supported decoders:
[mad] mp3 mp2
[vorbis] ogg oga
[oggflac] ogg oga
[flac] flac
[sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2
[audiofile] wav au aiff aif
[faad] aac
[mp4ff] m4a m4b mp4
[mpcdec] mpc
[wavpack] wv
[modplug] 669 amf ams dbm dfm dsm far it med mdl mod mtm mt2 okt s3m stm ult umx xm
[ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv g726 gsm gxf iss m1v m2v m2t m2ts m4a m4b m4v mad mj2 mjpeg mjpg mka mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav wma wmv wsaud wsvga wv wve
Supported outputs:
shout null fifo alsa ao oss pulse jack httpd recorder
Supported encoders:
null vorbis lame wave flac
Supported protocols:
file:// http:// mms:// mmsh:// mmst:// mmsu:// gopher:// rtp:// rtsp:// rtmp:// rtmpt:// rtmps://
It seems to support mp3 but it's still giving the "ignoring unrecognized file" thing.

Similar Messages

  • Using the value "Image/*" for the accept attribute of the HTML input Element, how can I add .pdf to the array of preconfigured file types (.jpe, .jpg, .jpeg, .?

    On a form, using the value "image/*" for the accept attribute of the HTML input Element, how can I add .pdf to the array of pre-configured file types (.jpe, .jpg, .jpeg, .gif, .png, .bmp, .ico, .svg, .svgz, .tif, .tiff, .ai, .drw, .pct, .psp, .xcf, .psd, .raw)?
    Say I wanted to add .gif, .jfif or .ico. I find this array limited, how can I add types to image?
    <input type="file" name="file" accept="image/*" id="file" />
    mimeTypes.rdf does not seem to allow this.

    ''mimeTypes.rdf'' has nothing to do with web development. It's a file that stores your file handling preferences (e.g. if you want ZIP files automatically saved or opened).
    You can't change the file types of the pre-defined content specifiers (audio/*, video/*, image/*), but you can specify additional MIME types. To add PDF to your above example,
    <pre><nowiki><input type="file" name="file" accept="image/*,application/pdf" id="file" /></nowiki></pre>
    For details, see
    * [https://developer.mozilla.org/En/HTML/Element/Input developer.mozilla.org/En/HTML/Element/Input]

  • How can I add links to open xml and csv files stored in another location? Please advice how to place links in my frame maker document?

    Hi,
    I would like to know as to how can I add links to open xml and csv files stored in another location? Please advice how to place links in my frame maker document?
    Kindly advice.
    Thanks
    Priya

    Special > Hypertext > Command "open document" will do its best to open the target document inside FrameMaker, which may not be much help; Special > Hypertext > Command "message …" will use the application you specify. The user guide for 7.0 says this about absolute links, and I don't think anything has changed since:
    For example, to start PaintBrush and open the Ship.pcx file on drive C you would use the command message system pbrush.exe C:/Ship.pcx
    I've not often used a relative link, and not recently: the same source says
    folder levels are separated by a slash / even in Windows and Mac
    [relative links] FrameMaker searches for a relative pathname beginning in the folder that contains the current document
    [absolute links] FrameMaker searches for an absolute pathname beginning at the top of the file system. In Windows, the absolute pathname begins with the drive specifier, a colon and a slash.

  • How to fix file when it says, "Cannot open file " ". Adobe Indesign does not support the file format, a plug-in that supports the file may be missing, or file may be open in another application." It worked one second, I saved and closed the file, then tri

    How to fix file when it says, "Cannot open file " ". Adobe Indesign does not support the file format, a plug-in that supports the file may be missing, or file may be open in another application." It worked one second, I saved and closed the file, then tried to reopen and now it won't work. I am using Adobe InDesign CS5. It is the only version on my comp. I have tried opening on another comp & copying the file – same error comes up. PLEASE HELP

    First check the version of the document with Jongware's script "Identify.jsx" (ExtendScript/JavaScript).
    You can find it here:
    [Ann] Identify Your InDesign File
    If it is CS 5.5 or above, you need someone to open it in the version the script says and export an IDML representation from that. Another way would be to install a 30days version of CS6 or above (CC) and do it yourself.
    In regards of the script showing a result for InDesign files higher than CS6:
    CS7 = CC v9
    CS8 = CC v10 = CC-2014 or CC2014.1
    Uwe

  • How can I add account privileges to a newly created file?

    I have multipe accounts on my Mac.  Two of them need to share certain files, but not with everyone else so I can't use the Shared folder.  When I create a new text file with AppleScript it has default ownership to the account that created it, but I need to give read & write privilages to it to the other account as well.  I can do this manually, but there are lots of files sometimes.  One trick I've found is to reset privilages from the next higher folder.  This saves time, but sometimes I forget.  Also when I do this it causes Time Machine to think all the files in that folder have been updated.  If the folder is large it may cause Time Machine to purge a old backup version.  What I'd like to do is find some AppleScript code I can use to add user "A" with read & write access to the permissions of a new file at the time my AppleScript creates that file.  Any ideas?

    Thanks for the reference.  It was interesting and provided me with a direction I hadn't thought of: User Groups and Terminal commands which led to DO SHELL SCRIPT.
    The approach in your reference wasn't practical for me because I already have about 10,000 folders in a 4-deep tree structure on a 2 TB hard disk.  The inheritance method whould have taken a lot of work.
    I did some more researching and experimentation and here's what I ended up with.
    First I created a User Group and assigned the two accounts that needed to share files to it.  By the way, I have two accounts so I can run time-consuming AppleScripts in one while doing work in the other.  This way I'm not disturbed by the AppleScripts and, since some of them use System Events, they aren't disturbed by me.  Anyway, I set up a User Group.  For some reason, the first group didn't work properly.  When I assigned it to a folder or file, one of the account names appeared next to the group icon in the Get Info window of Finder.  I tried everything I could think of to make it work and failed.  Then I created a second User Group and it worked fine, so I just deleted the first group.  I wonder what went wrong the first time?
    Next I used the Finder's Get Info window to apply the new Group privilages to all items in my very large shared data folder on that hard drive.  This took about an hour.
    Finally I created the following AppleScript code taking most of it from what I found on the Internet and fixing problems using other things found on the net.  I've built the following code into a number of AppleScripts that create folders containing 20-200 files.  I've run two of the scripts and created about 200 files in a few dozen folders and it seems to work fine.  Oh, one more thing: For some reason I couldn't assign group membership by name.  I kept getting an error message.  When I substitued the group number - 505, it worked fine.  Go figure!
    tell application "Finder"
    ... lots of finder code ...
    set these_items to every item in folder (target_folder & folder_name)
    tell me
                                            set this_POSIX to quoted form of POSIX path of ((target_folder & folder_name) as alias)
                                            do shell script "chown -R  " & "Programming:505 " & this_POSIX user name "Richard" password "xxx" with administrator privileges
                                            do shell script "chmod -R 770 " & this_POSIX user name "Richard" password "xxx" with administrator privileges
                                            repeat with this_item in these_items
                                                      set this_POSIX to quoted form of POSIX path of (this_item as alias)
                                                      do shell script "chown -R  " & "Programming:505 " & this_POSIX user name "Richard" password "xxx" with administrator privileges
                                                      do shell script "chmod -R 770 " & this_POSIX user name "Richard" password "xxx" with administrator privileges
                                            end repeat
                                  end tell
    ...more finder code
    end tell
    Note: The tell me was recommended by someone on the net.  There was a caution about do shell script failing inside a Tell application "Finder".  I didn't test this.
    I'm a happy camper now.  I don't think I'd have found my way without the reference you provided.

  • HT1725 Many of my songs can not be accessed.  It says the orignal file could not be located.  When I click locate it might show the song under documents but in faded print.  Can not access.

    It says the original file can not be located.  If I do find it under documents it can not be accessed.  (faded prilnt)

    Probably not every one, but you will have to do it several times. Right click on the name of the song, show in window's explorer and when it can't it should give you a dialogue to find the song.
    Once it finds one it'll offer to find more and you can locate stuff that way.

  • How can I add random mail signatures from a text file?

    I'm trying to add a different quote to every email that I write... is there a program or way for Mail to pluck and append a quote at random from a external file of quotes?  (I'm not talking about the standard "Random" feature built into Mail.)
    There must be one out there, but I can't find it.  I'm using Snow Leopard and Mail 4.5

    Hello,
    Here is a running start on getting specific lines in the case lines starting with ComboBox. I took your data and placed it into a text file named TextFile1.txt in the bin\debug folder. Code below was done in
    a console app.
    using System;
    using System.IO;
    using System.Linq;
    namespace ConsoleApplication1
    internal class Program
    private static void Main(string[] args)
    var result =
    from T in File.ReadAllLines(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "TextFile1.txt"))
    .Select((line, index) => new { Line = line, Index = index })
    .Where((s) => s.Line.StartsWith("ComboBox"))
    select T
    ).ToList();
    if (result.Count > 0)
    foreach (var item in result)
    Console.WriteLine("Line: {0} Data: {1}", item.Index, item.Line);
    Console.ReadLine();
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my webpage under my profile but do not reply to forum questions.

  • How can i add or create Layers into existing PDF File

    How can i create or add new Layers into new or existing PDF file using DLE JAVA API (Datalogics API)

    sandyrock,
    The PDFL, as Adobe distributes it, only has a C/C++ interface.
    The JNI APIs are developed and supported by Datalogics, the company you licensed your copy of the PDFL from. Have you contacted them? Support for their API extensions to the PDFL should be included with your licensing fee and they have many tips and ready-made examples specific to their API extensions they could give you.

  • How can I add ?xml-stylesheet to an XML file?

    Hi guys,
    I have a java code that writes out an XML file. I want to specify the name of a stylesheet in the XML file. How can I do that?
    This is the source code I have:
    //---------- Create XML File ------------------
    private void createXMLFile(Document doc) throws Exception
    try
    TransformerFactory tF = TransformerFactory.newInstance();
    Transformer tr = tF.newTransformer();
    FileOutputStream outXml = new FileOutputStream(xmlFile, false);
    tr.transform(new DOMSource(doc), new StreamResult(outXml));
    outXml.close();
    catch (java.io.FileNotFoundException exc)
    throw new Exception(exc.getMessage());
    catch( TransformerConfigurationException exc )
    throw new Exception(exc.getMessage());
    catch( TransformerException exc )
    throw new Exception(exc.getMessage());
    Thank you
    Murat

    The solution from dvohra09 will output a file outXml that uses the format rules from stylesheet.
    But how can I write out the following 2 lines to outXml? contextHandler.startDocument() will only write out the first line, but not the second line...
    <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/xsl" href="mytest.xsl"?>
    Thanks for all pointers!
    Philip

  • How can I add an expiration date to a pdf file?

    How can I apply an expiration date to a pdf document in Acrobat Pro X? Can this be done in Acrobat XI?

    Read this:
    http://forums.adobe.com/thread/1085319?tstart=0

  • Can you add your own designed frames, a psd file, to images in Aperture 3 and save this action to repeat?

    Hi, i'm an event photoger and trying to figure out the least expensive way to process numerous 5x7 images with a predesigned psd template/frame for print. All the images will have the same frame on it as well be the same size. Current process is too put each individual image into the psd template and print. Trying to find a way to automate/batch this action.

    Check out the Border FX plug-in for Aperture.  It's free.  If it can do what you want, then you can just select the border preset on export and go have an espresso. 

  • Can i add play/pause button when playback swf file??

    Hi all
    i have a script to convert ms office docs to pdf then to swf files and display it in my web site, the problem is that the output files (swf file) contain each page of my documents in a separated frame and when i load the page there no possibilitie to control this file (play / stop) or (next/previous) buttons, the only way is to use the right click menu options.
    i am asking if there are any solution to embed my converted swf files and control it.
    thanks

    Hi,
    It sounds like you'll want to talk with the author of the script that builds the swf.  If that's you, then I'd recommend reposting this question over on the Flash Professional forums.
    Thanks,
    Chris

  • Can not add songs to ipod--says not space when there should be

    I have deleted many, many songs from my ipod but when I try to add just one song, I get the message that there is not enough space for the file. Also, the space available is not going down when I delete songs. Help!! Do I need to delete everything and start over?? Many thanks for any help.

    Are you deleting actual songs and not just deleting playlists?
    Deleting playlists (which are links to the songs) will not free up space on an iPod.

  • Can't add addon of Autofill, says it's not compatible

    I just downloaded newest version of Mozilla and trying to use Add-0n of Auto Fill Form and it won't download....says it's not compatible with this version.

    4.0 needs 10.5 and an Intel processor. <br />
    http://www.mozilla.com/en-US/firefox/4.0/system-requirements/
    For older Macs that aren't supported in Firefox 4.0, try TenFourFox for PowerPC's running Mac 10.4.11 & 10.5.8 . <br />
    http://www.floodgap.com/software/tenfourfox/

  • 0 down vote favorite        I would like to ask the following question. I am using mac os x 10.9 maverics me quicktime player version 10.3. Can I trim a video recording without having to press the pause or save it as a file? Or can I add a new recording t

    0 down vote  favorite  
    I would like to ask the following question. I am using mac os x 10.9 maverics me quicktime player version 10.3. Can I trim a video recording without having to press the pause or save it as a file? Or can I add a new recording to a video file? Thanks in advance

    Well,
    I tried the "Internet Recovery" option and finally saw Mac OS X Mountain Lion's install page but after waiting 7 hours when I just thought its going to start installing, I got another progress bar with 36 hours remining time to download "Additional Components" then after progressing 2-3 hours, it shows "Unable to write installation something..., Contact Apple Care"
    Then I accidently rebooted the machine and now it seems Internet Recovery don't work anymore, it shows "support.apple.com - 40 something!" error, and finally when I tried to reboot using Recovery HD, I found it's gone as-well!
    To be honest, I don't know what to do now, I am and dissapointed... also I do not have any Apple Store nearby, there is an authorized country reseller almost 650/km far away from my residents and they even charges too high (like $250) for doing such repairs (as per phone conversation)
    If anyone have any idea or anything to help me with, please do share- I'd be eternally grateful!

Maybe you are looking for