Cap files in demo2.scr file

I'm trying to create my own scr file for an applet that I've created, and I'm using the demo2.scr file as a guide. What do all the cap files included in the scr file do for each applet, and how do they relate to the applet they are specified for? If anyone can help me out on this I'd appreciate it. Thanks

It's similar to how Java executes. Since there isn't a CLASSPATH for Java Cards, this is how the JC resolves classes that are required to execute your applet.
DON'T create that by hand. Use the scriptgen tool to do that.

Similar Messages

  • I can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name

    can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name. My original external has an error and needs to be reformatted but I dont want to lose this informations its my entire Itunes library.

    Sounds like the source drive is formatted as case sensitive and the destination drive is not. The preferred format for OS X is case insensitive unless there is a compelling reason to go case sensitive.
    Why can't you change the filename? Is it because the source drive is having problems?  If so is this happening with only one or two or a few files? If so the best thing would be to copy those over individually and then rename them on the destination drive.
    If it is more then you can do manually and you can't change the name on the source you will have to reformat the destination as case sensitive.
    Btw this group is for discussion of the Support Communities itself, you;d do better posting to Lion group. I'll see if a host will move it.

  • Question about .scr file while running jcwde ???

    I have a tutorial about java card. it has some information about that tutorial.
    AID: 0x00:0x01:0x02:0x03:0x04:0x05:0x06:0x07:0x0b:0x1
    Package ID : 0x00:0x01:0x02:0x03:0x04:0x05:0x06:0x07
    in .scr file I found this part of script:
    0x80 0xB8 0x00 0x00 0x2e 0x0a 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x0b 0x1 0x22 0x00 0x00 0x00 0x45 0x32 0x37 0x2d 0x30 0x31 0x39 0x33 0x2f 0x30 0x31 0x4d 0x49 0x43 0x48 0x41 0x45 0x4c 0x00 0x00 0x00 0x4b 0x41 0x4d 0x55 0x4e 0x47 0x45 0x00 0x00 0x00 0x7f;
    I guess
    0x80 = CLA
    0xB8 = INS
    0x00 = P1
    0x00 = P2
    0x2e = Lc
    and one of the last of script (0x7f) = Le.
    and the other as DATA.
    there are two part in DATA, namely :
    (I) 0x0a 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x0b 0x1 0x22 0x00 0x00 0x00
    (II) 0x45 0x32 0x37 0x2d 0x30 0x31 0x39 0x33 0x2f 0x30 0x31 0x4d 0x49 0x43 0x48 0x41 0x45 0x4c 0x00 0x00 0x00 0x4b 0x41 0x4d 0x55 0x4e 0x47 0x45 0x00 0x00 0x00 = first name , last name and student ID
    but I confuse on part (I)... what's it ???
    please explain for my confusing..
    thank for u all.

    Thanks for your reply.
    I found the answers by creating and testing a very simple example in inDesign.
    This all applies to inDesign files exported as FLA files and opened in Flash cs5.5.
    My goal was to create a simple but interactive magazines  in inDesign, and bring them into Flash, to compile as an App as described in many of the Adobe.tv videos.
    The page transitions do not port to flash.
    You have to code new page transitions, one for each frame, manually with your own code, as the inDesign pages are each put on a separate page when brought into Flash.
    Video and Sound is not ported into Flash in the FLA file. This is documented by Adobe. You have to re-add it once in Flash.
    Simple animations made on the inDesign page, do port into Flash as separate movie clips and play automatically, when the playhead goes to the frame, where the movieclip lives.
    Page spreads from inDesign, are saved as movieclips on each page frame, in flash. They are named Spread_1, etc.
    You will see them play automatically, if you code the frames, using something like gottoAndStop().
    It seems that this would be good to let people know in inDesign, so they do not spend a lot of time creatng effects or working with video and sound. If their goal is to port it to Flash and save as an Air app. All the video's on the subject, (and I have watched them all), show inDesign files porting into Flash, and then they  just add some animation in Flash and compile and it all works. It is not that simple. You have to basically build again, all the page transitions. And the page curl does not port.
    I thought other beginners with these goals, might find this helpful. I was able to successfully compile the file for an Air App, though  I found some differences in how it works, if compiled for Air vs compiled for SWF. I have created another post, asking about these issues.
    Thanks very much.
    e
    e

  • Creating Screensaver .scr file

    Does anyone know how to create a .scr file for Windows screensavers? Is there a way to export it directly from FCP, or use Compressor or QT Pro? I have created a movie for a client, but they would like a short clip in a screensaver and I really don't have a clue how to do this.
    Any help would be appreciated,
    Lawrence

    Ok,
    Well, I think I've found an application that will do this, but I can't get to the company's website to see if they have a version mac version available because of my Web Nanny where I work (offshore).
    The app is called iScreensaver Designer 3. For anyone searching posts for a similar issue, I'll post an update when I get home on the first of the year. If anyone discovers an app that works well with FCP or even QT, please let me know.
    Thanks,
    Lawrence

  • What is .SCR file??

    Hi guyz,
    Can anyone tell me what is ".SCR" file extension and in which environment we use this??
    Thanks

    It's a ESSCMD script files.
    Example:
    ESSCMD LOAD.SCR
    If not %errorlevel%==goto Error
    ESSCMD CALC.SCR
    If not %errorlevel%==goto Error
    ESSCMD REPORT.SCR
    If not %errorlevel%==goto Error
    Echo All operations completed successfully
    EXIT

  • Pages Importing from pages file to another pages file

    Is it possible to Import from a separate pages file to another pages file
    IF so HOW?????

    Tulse, I'm using Pages 2 too. The first thing I'd tried this on had only a simple drop cap in a text box, fixed on page. That didn't copy - or at any rate didn't paste. The text box had been sent back to overlay it with inline spaces to clear the capital. These reproduced, but the capital didn't. Neither did kerning or baseline adjustments, nor my inserted guides for "leading" the text to the same depth on every page
    Also page set-up details were not transferred in this way: i.e., if you change the margins in a template (even the blank one) the margins don't transfer. Logical enough, page set-up belongs to the document, not the section.
    Looking at this again, in the Extreme Newsletter template, imported graphics transferred, and inserted text transferred, but layering and placement information did not. I'd made my own pages by altering this, generally using text boxes or shapes to compose picture pages rather than using those in the template. But the copied and pasted sections were all over the place.
    So it may be the case that if you're copying from a section to a document with identical layout, page set-up & etc. to the one you're copying from, the result will contain most of the content. But the layering, placement on page of fixed objects, etc., would seem to be decidedly iffy.
    I've tried it on title page sections, where the info in fixed text boxes copied, but neither their placement nor relative placement, and (in the newsletter template) with both my own and the provided sections, with no consistent results. If it works in some cases, then that would be handy.
    It's easy enough to try, and undo if it doesn't work.
    But it's certainly no subsitute for being able to insert one Pages document into another; nor even always bits of it. I'd be inclined to conclude that copying and pasting in this way uses something less than the full Pages file format.
    Cheers.
    iBook G4   Mac OS X (10.4.7)  

  • I downloaded mountain lion and then the new office suite (word, ppt, excel) but now when I try to display one of my ppt's it says 'ppt cannot open the file...the file may be corrupt, in use, not a type recognized by ppt etc.." how can I fix it?? HELP

    I downloaded mountain lion and then the new office suite (word, ppt, excel) but now when I try to display one of my ppt's it says 'ppt cannot open the file...the file may be corrupt, in use, not a type recognized by ppt etc.." how can I fix it?? HELP

    Did you try to open teh fle by double-clicking its icon? If the file was made with an older version of Office, you may get that message. Try opeing PP and, from its "File" menu, see if you can open the ppt. I've foundthat often gets around that message and then yo ucan save the file from the newer version.
    If that doesn't work, consider asking in the Microsoft Office: Mac forums here:
    Office for Mac forums
    PowerPoint is not an Apple product and it seems a lot of people around here avoid Office.

  • ITunes v10.6.1.7 "Copying files failed. The File name was invalid or too long."

    I'm trying to organize my music files using iTunes 10.6.1.7 and I keep getting the error message "Copying files failed. The File name was invalid or too long."
    I've got music folders by artist in both the iTunes Music folder and the iTunes Media/Music folder. When I add certain files by drag/drop they sometimes get lost and I don't want that to happen anymore. I used to just consolidate my music files using the File/Library/Organize Library option and that worked, however now when I do that, I get the error message.
    I'm a novice and the only online stuff I see is both confusing and refers to earlier versions of iTunes.
    My concern is that I have heard that people lose entire libraries of their music when they trry to fix things like this and I don't want that. If this is of any importance, I have several files called iTunes library and temp library. I have no idea what that all means but I'm scared to death of it.
    Also, I can't get to the "re-organize library" link at all. It won't let me.
    One thing that be of some interest is that when I pull up the properties of the music and media/music files they are marked "read only" I'm also afraid to touch that!
    Please help and please know that I am a dummy. Be kind and be clear. Step by step would be great, with images even better. Thanks.

    Perhaps nobody knows the answer? We're fellow users here answering questions in our free time when we think we've something useful to contribute.
    You can choose to *Consolidate selected tracks* with a right-click menu. Perhaps if you can identify a specific track that won't consolidate and examine the full path to the file & the path that iTunes would create when it consolidates the problem might become apparent. For example iTunes may not be able to move files if the source or destination path length exceeds 255 characters.
    tt2

  • Cannot publish Flash Updates Verification of file signature failed for file SCUP 2011, SCCM 2012 R2 and WSUS all on same Windows Server 2012 machine

    I am attempting to distribute Adobe Flash updates using SCUP 2011, SCCM 2012 R2, WSUS ver4 and Windows Server 2012.  Everything installs without error.  I have acquired a certificate for SCUP signing from the internal Enterprise CA.  I have
    verified the signing certificate has a 1024 bit key.  I have imported the certificate into the server's Trusted Publishers and Trusted Root CA stores for the computer.  When I attempt to publish a Flash update with Full content I receive the following
    error:
    2015-02-13 23:00:48.724 UTC Error Scup2011.21 Publisher.PublishPackage PublishPackage(): Operation Failed with Error: Verification of file signature failed for file:
    \\SCCM\UpdateServicesPackages\a2aa8ca4-3b96-4ad2-a508-67a6acbd78a4\3f82680a-9028-4048-ba53-85a4b4acfa12_1.cab
    I have redone the certificates three times with no luck.  I can import metadata, but any attempt to download content results in the verification error.
    TIA

    Hi Joyce,
    This is embarrassing, I used that very post as my guide when deploying my certificate templates, but failed to change the bit length to 2048.  Thank you for being my second set of eyes.
    I changed my certificate key bit length to 2048, deleted the old cert from all certificate stores, acquired the a new signing cert, verified the key length was 2048, exported the new cert to pfx and cer files, imported into my Trusted publishers
    and Trusted Root Authorities stores, reconfigured SCUP to use the new pfx file, rebooted the server and attempted to re-publish the updates with the following results:
    2015-02-16 13:35:44.006 UTC Error Scup2011.4 Publisher.PublishPackage PublishPackage(): Operation Failed with Error: Verification of file signature failed for file:
    \\SCCM\UpdateServicesPackages\a2aa8ca4-3b96-4ad2-a508-67a6acbd78a4\3f82680a-9028-4048-ba53-85a4b4acfa12_1.cab.
    Is there a chance this content was already created and signed with the old cert, so installing the new cert has no effect?  In ConfigMgr software updates I see 4 Flash updates, all marked Metadata Only (because they were originally published as "Automatic." 
    No Flash updates in the ConfigMgr console are marked as downloaded.  I can't find any documentation on how the process of using SCUP for downloading content for an update marked Metadata Only actually works. 
    Comments and suggestions welcome.

  • How to exreact multiple pdf files from a zip files from application server to presentation server

    Hello exprts,
    I am passing one pdf file and one text file to zip file in apllication server through my custom program and then downloading it using standard function module to my desktop. its working fine. Then I added  another pdf file to my zip file. But only single pdf file is getting download . So can you please help me regardiong this issue? 

    Dear Experts ,
    I finded out the way to extrcat pdf files in presentation server. But now my problem is that I am not able to add multiple pdf files in a zip file. When I am adding new pdf file then older one is not coming in read data set. So please kindly tell me how can I add multiple pdf file in my zip file and again I can get all the pdf files from here.

  • Using a JAR file as a project file

    My application allows the user to create projects. Previously, a project file was simply an XML file. Now, a project file needs to also contain many images.
    I thought it would be a good idea to simply use a JAR file as my project file.
    Since I've really never really worked with JAR files and the java.util.Jar package directly, I have a few questions.
    1) Would it be better just to simply store the images as binary in the XML file? I just spent a good amount of time making the XML file very readable so I thought it would be better to keep the images separate while still having a single "project" file.
    2) Is there anything inherently wrong with the way I'm working with the JAR file in the code below?
    Simple XML file:
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE project [
      <!ELEMENT project (img+)>
      <!ELEMENT img EMPTY>
      <!ATTLIST img src CDATA #REQUIRED>
    ]>
    <project>
         <img src="blah.jpg"/>
    </project>
    import java.io.*;
    import java.util.jar.JarFile;
    import javax.xml.parsers.*;
    import org.xml.sax.*;
    import org.xml.sax.helpers.DefaultHandler;
    public class LoaderTest {
        private String imageName;
        public LoaderTest() {
            InputStream i = null;
            JarFile jf = null;
            try {
                jf = new JarFile("project.jar");
                i = jf.getInputStream(jf.getJarEntry("project.xml"));
                // Here's my simple XML parser to load the project and images
                SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
                parser.parse(new InputSource(i), new DefaultHandler() {
                    @Override
                    public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
                        // Right now we only care about images
                        if (qName.equalsIgnoreCase("img")) {
                            imageName = attributes.getValue("src");
                // Load the image from the inputstream
                java.awt.image.BufferedImage img = javax.imageio.ImageIO.read(jf.getInputStream(jf.getJarEntry(imageName)));
                // Display the image in a JFrame
                javax.swing.JFrame f = new javax.swing.JFrame();
                f.setLayout(new java.awt.BorderLayout());
                f.setSize(800, 600);
                f.getContentPane().add(new javax.swing.JLabel(new javax.swing.ImageIcon(img)), java.awt.BorderLayout.CENTER);
                f.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLOSE);
                f.setVisible(true);
            } catch (ParserConfigurationException ex) {
                ex.printStackTrace();
            } catch (SAXException ex) {
                ex.printStackTrace();
            } catch (IOException ex) {
                ex.printStackTrace();
            } finally {
                // Do our best to close the input streams
                if (i != null) {
                    try {
                        i.close();
                    } catch (IOException ex) {}
                if (jf != null) {
                    try {
                        jf.close();
                    } catch (IOException ex) {}
        public static void main(String[] args) {
            new LoaderTest();
    }Thank you!

    1) I also think it's much better to keep your images separate from your XML, this prevents a lot of in case you just want to read XML data
    2) What's exactly going wrong here? For the project.xml, make sure it's not inside a directory within the JAR file, or else the variable i will be null. Otherwise it looks fine..

  • Can Netbeans put a jar file In a jar file?

    I just went through the process of getting Eclipse to create a jar file that would execute from a command prompt using a plugin called fatjar :
    http://fjep.sourceforge.net/
    Details from other thread :http://forum.java.sun.com/thread.jspa?threadID=5219638&tstart=0
    I really would like to use netbeans but i now have the exact same problem trying to make a jar file in netbeans 5.5.1
    I am using a package from icaste.com It has a
    .dll file to put in the windows directory
    JCommSerial_3_0.jar file that contains all the classes
    I can compile and run a file in the IDE and it works fine
    The Jar file does not contain the classes so i get errors when running from command line.
    Here is the layout of my screen and result of run command in IDE
    http://www.acousticlights.com/netbeans.png
    What do I need to try?

    georgemc wrote:
    Why is everyone so obsessed with doing this? The gains are minimal and the problems numerousBecause we are new and don't understand how the java VM actually runs code and the error messages sent by the java machine are cryptic.
    My first attempt at using an external jar in a java program lead me to believe that all of the code for a java program would be in a jar file including external jar files, after all the JDK standard library has tons of jars in it so I assumed the external jar file would be linked (as most other programming compiler/linkers I have worked with in my top down programming life).
    I find out the answer is so simple that the external jar file could not be found by the VM running my jar file. Like I said, if the VM would have just gave me an error that it could not find a file on a specific directory i never would have perused the idea of jar in a jar (fatjar plugin for Eclipse for example)
    Really this is like getting into a race car and not knowing at what RPM to shift gears, sure you can press the pedal and make it go but if you don't understand how it works under the hood you are going to blow the engine if you keep it in first gear.
    I have read many posts on these errors, the reason is the error message is just not very descriptive of the original problem. If I try and open a database called xyz.dbf that has one field defined as lastname, in C for example, I would not give the error message "Lastname could not be found) when indeed the lastname could not be found but the reason it could not be found was because the database xyz.dbf could not be found. Further , adding to the error message that the system is looking for xyz.dbf on drive X- subdirectory -mydatabases would complete the error message and allow the user to fix the error. Just what is a non java programmer that is using my java program suppose to do with an Ecception Error in (main) bla bla bla... I know now I need to check for library files myself within my own java programs and give a better error message to the user before the java VM sends out it's cryptic message.
    Edited by: metron9 on Sep 25, 2007 11:00 AM

  • Jar Files in a Jar File - Classpath Error

    Hi,
    I created a jar file that will have all the class files of the application. In the manifest file class path, I have the jar files the application is dependent on. The dependent jar files were kept outside of the application jar file. I was able to execute the main file in the application jar file. Then I created another jar file that holds all the dependent jar files the application is dependent on along with the application jar file into one super jar file. configured the main class attribute of the super jar file to that in the application jar file. When I try to execute it, I'm getting an error saying Class Not Found. Can someone guide me in setting the classpath for this super jar file in its manifest file.
    Presently my manifest file classpath variable in the super jar file is set as App.jar Depend1.jar Depend2.jar
    Thanks,
    E H

    Java's standard class loaders do not support jar files inside of other jar files, and will give the error you see.
    You can write your own customized class loader, use a 3rd-party solution (onejar at sourceforge is one), or remove the interior jars.

  • [SOLVED] unable to play mp3 or flac files in mpd, .dts files play fine

    I had a perfect running mpd setup before I tried to fiddle around with some dependancies to get xbmc-svn to compile without errors. I installed some AUR packages (ffmpeg-svn, x264-git, libva-sds, libvpx, libid3tag).
    After that I started to experience trouble with mpd, it start fine and says it plays audio files just fine but whenever i play a mp3 or flac file the progress bar just looks like it's playing the file but I hear no sound. Whenever I play a .dts file i hear the sound correct.
    I'm very curious to why this happends.
    I rolled back the packages mentioned above but the issue remains unsolved.
    My setup: pc is connected to receiver by hdmi cable using the latest alsa version with digital passthrough over hdmi, currently using mpd-git from AUR
    mpd -v --no-daemon shows the following:
    # mpd -v --no-daemon /etc/mpd.conf
    config: loading file /etc/mpd.conf
    listen: binding to address for 192.168.1.3
    listen: binding to socket address 192.168.1.3:6600
    path: path_set_fs_charset: fs charset is: UTF-8
    database: reading DB
    disabling the last.fm playlist plugin because account is not configured
    daemon: opening pid file
    daemon: writing pid file
    snippet from mpd.log:
    Jun 28 00:54 : client: [0] process command "playlistfind filename "Lossy - Tagged and Sorted/Wild Oats/WO-0001 - Kyle Hall - Worx Of Art EP 1 - 2008/Kyle Hall - 01 - Fuse N Me .mp3""
    Jun 28 00:54 : client: [0] command returned 0
    Jun 28 00:54 : client: [0] process command "addid "Lossy - Tagged and Sorted/Wild Oats/WO-0001 - Kyle Hall - Worx Of Art EP 1 - 2008/Kyle Hall - 01 - Fuse N Me .mp3""
    Jun 28 00:54 : add to playlist: Lossy - Tagged and Sorted/Wild Oats/WO-0001 - Kyle Hall - Worx Of Art EP 1 - 2008/Kyle Hall - 01 - Fuse N Me .mp3
    Jun 28 00:54 : database: get song: Lossy - Tagged and Sorted/Wild Oats/WO-0001 - Kyle Hall - Worx Of Art EP 1 - 2008/Kyle Hall - 01 - Fuse N Me .mp3
    Jun 28 00:54 : client: [0] command returned 0
    Jun 28 00:54 : client: [0] process command "playid "7""
    Jun 28 00:54 : playlist: play 7:"Lossy - Tagged and Sorted/Wild Oats/WO-0001 - Kyle Hall - Worx Of Art EP 1 - 2008/Kyle Hall - 01 - Fuse N Me .mp3"
    Jun 28 00:54 : decoder_thread: clearing mixramp tags
    Jun 28 00:54 : decoder_control: mixramp_start = NULL
    Jun 28 00:54 : decoder_control: mixramp_prev_end = NULL
    Jun 28 00:54 : client: [0] command returned 0
    Jun 28 00:54 : client: [0] process command "status"
    Jun 28 00:54 : client: [0] command returned 0
    Jun 28 00:54 : client: [0] process command "idle"
    Jun 28 00:54 : client: [0] command returned 1
    Jun 28 00:54 : client: [0] process command "playlistid "7""
    Jun 28 00:54 : client: [0] command returned 0
    Jun 28 00:54 : mad: detected LAME version 3.97 ("LAME3.97 ")
    Jun 28 00:54 : mad: LAME peak found: 0.000000
    Jun 28 00:54 : mad: LAME track gain found: -5.000000
    Jun 28 00:54 : mad: encoder delay is 576, encoder padding is 1818
    Jun 28 00:54 : decoder: audio_format=44100:24:2, seekable=true
    Jun 28 00:54 : alsa: default period_time = buffer_time/4 = 185759/4 = 46439
    Jun 28 00:54 : client: [0] process command "plchangesposid "2""
    Jun 28 00:54 : client: [0] command returned 0
    Jun 28 00:54 : alsa: buffer_size=8192 period_size=2048
    Jun 28 00:54 : output: opened plugin=alsa name="My ALSA Device" audio_format=44100:32:2
    Jun 28 00:54 : output: converting from 44100:24:2
    Jun 28 00:54 : Failed to open mixer for 'My ALSA Device': no such mixer control: PCM
    mpd.conf:
    # An example configuration file for MPD
    # See the mpd.conf man page for a more detailed description of each parameter.
    # Files and directories #######################################################
    # This setting controls the top directory which MPD will search to discover the
    # available audio files and add them to the daemon's online database. This
    # setting defaults to the XDG directory, otherwise the music directory will be
    # be disabled and audio files will only be accepted over ipc socket (using
    # file:// protocol) or streaming files over an accepted protocol.
    music_directory "/media/media9/Muziek/"
    # This setting sets the MPD internal playlist directory. The purpose of this
    # directory is storage for playlists created by MPD. The server will use
    # playlist files not created by the server but only if they are in the MPD
    # format. This setting defaults to playlist saving being disabled.
    playlist_directory "/var/lib/mpd/playlists"
    # This setting sets the location of the MPD database. This file is used to
    # load the database at server start up and store the database while the
    # server is not up. This setting defaults to disabled which will allow
    # MPD to accept files over ipc socket (using file:// protocol) or streaming
    # files over an accepted protocol.
    db_file "/var/lib/mpd/mpd.db"
    # These settings are the locations for the daemon log files for the daemon.
    # These logs are great for troubleshooting, depending on your log_level
    # settings.
    # The special value "syslog" makes MPD use the local syslog daemon. This
    # setting defaults to logging to syslog, otherwise logging is disabled.
    log_file "/var/log/mpd/mpd.log"
    # This setting sets the location of the file which stores the process ID
    # for use of mpd --kill and some init scripts. This setting is disabled by
    # default and the pid file will not be stored.
    pid_file "/var/run/mpd/mpd.pid"
    # This setting sets the location of the file which contains information about
    # most variables to get MPD back into the same general shape it was in before
    # it was brought down. This setting is disabled by default and the server
    # state will be reset on server start up.
    state_file "/var/lib/mpd/mpdstate"
    # The location of the sticker database. This is a database which
    # manages dynamic information attached to songs.
    #sticker_file "~/.mpd/sticker.sql"
    # General music daemon options ################################################
    # This setting specifies the user that MPD will run as. MPD should never run as
    # root and you may use this setting to make MPD change its user ID after
    # initialization. This setting is disabled by default and MPD is run as the
    # current user.
    user "mpd"
    # This setting specifies the group that MPD will run as. If not specified
    # primary group of user specified with "user" setting will be used (if set).
    # This is useful if MPD needs to be a member of group such as "audio" to
    # have permission to use sound card.
    #group "nogroup"
    # This setting sets the address for the daemon to listen on. Careful attention
    # should be paid if this is assigned to anything other then the default, any.
    # This setting can deny access to control of the daemon.
    # For network
    bind_to_address "192.168.1.3"
    # And for Unix Socket
    #bind_to_address "~/.mpd/socket"
    # This setting is the TCP port that is desired for the daemon to get assigned
    # to.
    port "6600"
    # This setting controls the type of information which is logged. Available
    # setting arguments are "default", "secure" or "verbose". The "verbose" setting
    # argument is recommended for troubleshooting, though can quickly stretch
    # available resources on limited hardware storage.
    log_level "verbose"
    # If you have a problem with your MP3s ending abruptly it is recommended that
    # you set this argument to "no" to attempt to fix the problem. If this solves
    # the problem, it is highly recommended to fix the MP3 files with vbrfix
    # (available from <http://www.willwap.co.uk/Programs/vbrfix.php>), at which
    # point gapless MP3 playback can be enabled.
    #gapless_mp3_playback "yes"
    # This setting enables MPD to create playlists in a format usable by other
    # music players.
    #save_absolute_paths_in_playlists "no"
    # This setting defines a list of tag types that will be extracted during the
    # audio file discovery process. Optionally, 'comment' can be added to this
    # list.
    #metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
    # This setting enables automatic update of MPD's database when files in
    # #music_directory "path_to_your_music_collection"
    auto_update "yes"
    # Limit the depth of the directories being watched, 0 means only watch
    # the music directory itself. There is no limit by default.
    #auto_update_depth "3"
    # Symbolic link behavior ######################################################
    # If this setting is set to "yes", MPD will discover audio files by following
    # symbolic links outside of the configured #music_directory "path_to_your_music_collection"
    #follow_outside_symlinks "yes"
    # If this setting is set to "yes", MPD will discover audio files by following
    # symbolic links inside of the configured #music_directory "path_to_your_music_collection"
    #follow_inside_symlinks "yes"
    # Zeroconf / Avahi Service Discovery ##########################################
    # If this setting is set to "yes", service information will be published with
    # Zeroconf / Avahi.
    #zeroconf_enabled "yes"
    # The argument to this setting will be the Zeroconf / Avahi unique name for
    # this MPD server on the network.
    #zeroconf_name "Music Player"
    # Permissions #################################################################
    # If this setting is set, MPD will require password authorization. The password
    # can setting can be specified multiple times for different password profiles.
    #password "password@read,add,control,admin"
    # This setting specifies the permissions a user has who has not yet logged in.
    #default_permissions "read,add,control,admin"
    # Input #######################################################################
    input {
    plugin "curl"
    # proxy "proxy.isp.com:8080"
    # proxy_user "user"
    # proxy_password "password"
    # Audio Output ################################################################
    # MPD supports various audio output types, as well as playing through multiple
    # audio outputs at the same time, through multiple audio_output settings
    # blocks. Setting this block is optional, though the server will only attempt
    # autodetection for one sound card.
    # See <http://mpd.wikia.com/wiki/Configuration#Audio_Outputs> for examples of
    # other audio outputs.
    # An example of an ALSA output:
    audio_output {
    type "alsa"
    name "My ALSA Device"
    device "hw:0,3" # optional
    ## format "44100:16:2" # optional
    ## mixer_type "hardware" # optional
    ## mixer_device "default" # optional
    ## mixer_control "Master" # optional
    ## mixer_index "0" # optional
    # An example of an OSS output:
    #audio_output {
    # type "oss"
    # name "My OSS Device"
    ## device "/dev/dsp" # optional
    ## format "44100:16:2" # optional
    ## mixer_type "hardware" # optional
    ## mixer_device "/dev/mixer" # optional
    ## mixer_control "PCM" # optional
    # An example of a shout output (for streaming to Icecast):
    #audio_output {
    # type "shout"
    # encoding "ogg" # optional
    # name "My Shout Stream"
    # host "localhost"
    # port "8000"
    # mount "/mpd.ogg"
    # password "hackme"
    # quality "5.0"
    # bitrate "128"
    # format "44100:16:1"
    ## protocol "icecast2" # optional
    ## user "source" # optional
    ## description "My Stream Description" # optional
    ## genre "jazz" # optional
    ## public "no" # optional
    ## timeout "2" # optional
    ## mixer_type "software" # optional
    # An example of a recorder output:
    #audio_output {
    # type "recorder"
    # name "My recorder"
    # encoder "vorbis" # optional, vorbis or lame
    # path "/var/lib/mpd/recorder/mpd.ogg"
    ## quality "5.0" # do not define if bitrate is defined
    # bitrate "128" # do not define if quality is defined
    # format "44100:16:1"
    # An example of a httpd output (built-in HTTP streaming server):
    #audio_output {
    # type "httpd"
    # name "My HTTP Stream"
    # encoder "vorbis" # optional, vorbis or lame
    # port "8000"
    ## quality "5.0" # do not define if bitrate is defined
    # bitrate "128" # do not define if quality is defined
    # format "44100:16:1"
    # max_clients "0" # optional 0=no limit
    # An example of a pulseaudio output (streaming to a remote pulseaudio server)
    #audio_output {
    # type "pulse"
    # name "My Pulse Output"
    ## server "remote_server" # optional
    ## sink "remote_server_sink" # optional
    ## Example "pipe" output:
    #audio_output {
    # type "pipe"
    # name "my pipe"
    # command "aplay -f cd 2>/dev/null"
    ## Or if you're want to use AudioCompress
    # command "AudioCompress -m | aplay -f cd 2>/dev/null"
    ## Or to send raw PCM stream through PCM:
    # command "nc example.org 8765"
    # format "44100:16:2"
    ## An example of a null output (for no audio output):
    #audio_output {
    # type "null"
    # name "My Null Output"
    # mixer_type "none" # optional
    # This setting will change all decoded audio to be converted to the specified
    # format before being passed to the audio outputs. By default, this setting is
    # disabled.
    #audio_output_format "44100:16:2"
    # If MPD has been compiled with libsamplerate support, this setting specifies
    # the sample rate converter to use. Possible values can be found in the
    # mpd.conf man page or the libsamplerate documentation. By default, this is
    # setting is disabled.
    #samplerate_converter "Fastest Sinc Interpolator"
    # Normalization automatic volume adjustments ##################################
    # This setting specifies the type of ReplayGain to use. This setting can have
    # the argument "off", "album" or "track". See <http://www.replaygain.org>
    # for more details. This setting is off by default.
    #replaygain "album"
    # This setting sets the pre-amp used for files that have ReplayGain tags. By
    # default this setting is disabled.
    #replaygain_preamp "0"
    # This setting enables on-the-fly normalization volume adjustment. This will
    # result in the volume of all playing audio to be adjusted so the output has
    # equal "loudness". This setting is disabled by default.
    #volume_normalization "no"
    # MPD Internal Buffering ######################################################
    # This setting adjusts the size of internal decoded audio buffering. Changing
    # this may have undesired effects. Don't change this if you don't know what you
    # are doing.
    #audio_buffer_size "2048"
    # This setting controls the percentage of the buffer which is filled before
    # beginning to play. Increasing this reduces the chance of audio file skipping,
    # at the cost of increased time prior to audio playback.
    #buffer_before_play "10%"
    # Resource Limitations ########################################################
    # These settings are various limitations to prevent MPD from using too many
    # resources. Generally, these settings should be minimized to prevent security
    # risks, depending on the operating resources.
    #connection_timeout "60"
    #max_connections "10"
    #max_playlist_length "16384"
    #max_command_list_size "2048"
    #max_output_buffer_size "8192"
    # Character Encoding ##########################################################
    # If file or directory names do not display correctly for your locale then you
    # may need to modify this setting.
    #filesystem_charset "UTF-8"
    # This setting controls the encoding that ID3v1 tags should be converted from.
    #id3v1_encoding "ISO-8859-1"
    # SIDPlay decoder #############################################################
    # songlength_database:
    # Location of your songlengths file, as distributed with the HVSC.
    # The sidplay plugin checks this for matching MD5 fingerprints.
    # See http://www.c64.org/HVSC/DOCUMENTS/Songlengths.faq
    # default_songlength:
    # This is the default playing time in seconds for songs not in the
    # songlength database, or in case you're not using a database.
    # A value of 0 means play indefinitely.
    # filter:
    # Turns the SID filter emulation on or off.
    #decoder {
    # plugin "sidplay"
    # songlength_database "/media/C64Music/DOCUMENTS/Songlengths.txt"
    # default_songlength "120"
    # filter "true"
    Whenever I run xbmc using the hdmi digital output it just plays mp3 and flac files without problems.
    Anyone any clues on how to solve this issue?
    TIA, dafart
    Since
    Last edited by dafart (2010-07-01 00:38:09)

    aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    Which correspondents fine with the
    device "hw:0,3"
    in my mpd.conf alsa section.
    Also sound worked fine withh this config before I started installing ffmpeg-svn and alikes
    hokasch:
    I tried changing the mixer to "Master" but that did not change much.

  • Adding Data file to existing primary file group with 1 data file

    Currently our databases are configured to only have 1 data file and 1 log file.  I am looking at adding a 2nd data file to the primary group, which will be on a separate lun.
    Will we benefit from adding the 2nd data file (same size as 1st data file and same autogrowth rate) , or should we create a new database with 2 data files (equal size and autogrowth rate), and import the data from the database with the single data file.
    Thanks.
    DJ

    Having another data file pointing to different Physical Volume
    will give you better performance gains. Additionally, you should pre-size them (Same as First Data File) with same growth settings (Preferably in Mb
    instead of Percentages) .
    It is perfectly OK to add another data file to PRIMARY file-group as well and SQL Server will automatically balance the data across multiple files over the period time (Due to Data Striping)
    HTH
    Good Luck! Please Mark This As Answer if it solved your issue. Please Vote This As Helpful if it helps to solve your issue

Maybe you are looking for

  • Call an RFC from a PC (C++ program)

    Hello, I would like to call an RFC Function from a PC program. (The PC program is writen in C++.) I am experienced in ABAP coding and in SE37, but for PC programming, I would confess to be a "rookie". I know that I will have to learn a lot, but I do

  • Problem with CardLayout

    I ve got a JFrame object and i want to put in it a JMenuBar and a CardLayout that contains two JPanel. 1. Is it possible to do that 3. how to do it.(I have already created my JMenuBar in my JFrame)

  • Java 1.4.2_04 Aggressive Heap on Windows 2000 Server

    Hi all I seem to be having trouble ith the JVM switch of -XX:+AggressiveHeap I have Tomcat 4.1 running with the following extra JVM options -server -XX:+AggressiveHeap -XX:+UseParallelGC -XX:+UseAdaptiveSizePolicy -XX:+DisableExplicitGC Its a quad pr

  • Concurrent transactions in servlets using HttpConnectionURL class

    I have tested our application for multiple transactions i.e. concurrent transactions between two servers with IIS and Tomcat environment. We found some unexpected result and which is irrespective of the data (size ranging from 10 bytes to 10 kb, 50kb

  • TA48312 i have mac os x 10.5.8 desktop what to update

    I have a desktop Mac os x 10.5.8.  What would I need next to update to currant os?