Discriminating "Streaming" from "Local files" on AppleTV ?

Hi,
Here's a small problem I am running into whilst setting up my AppleTV.
I have an iMac whit a shared iTunes library that can be seen on my AppleTV.
But once I synchronize some iTunes music with my AppleTV, how can I tell if the files are played from the AppleTv's hard drive or streamed from my iMac ?
Thanks for your answers.
Regards.
FRED

I solved it by turning off iTunes and "My Music" (the latter of which does not exist on the modern Mac) and using Add a Source to add the "iTunes Music" folder. Now it shows all 30,000 tracks. It looks like I have a CPU tax now...Spotify Helper runs at a constant 4%...I assume it's constantly checking for "iTunes Music" folder updates now. Anyway, thanks for the suggestions

Similar Messages

  • RTP streaming from local file

    I've a problem with JMF, in particular when I transmit a stream from a local file updated from receveing process. The file is "uLaw 8Khz, 8Bit".
    It would seem that when the processor is running is made of a photo of current file size; this implies that is sent only part of the file accessed. The rest of the file is discarded and JMF raises the event EndOfStream.
    Here's the source:
                   // encoding = ULAW, sampleRate = 8000.0Hz, sampleSizeInBits = 8bit, channels = mono(1) or stereo(2)
                   this.format = new AudioFormat(this.audioFormat, 8000, 8, 1);
                   MediaLocator mlIn = null;
                   if (rtpFilename != null && rtpFilename.startsWith("file://"))
                        mlIn = new MediaLocator(rtpFilename);
                   else
                        mlIn = new MediaLocator("file://" + rtpFilename);
                   logger.debug("Input Media locator URL: " + mlIn);
                   if ((processor = createProcessor(mlIn)) != null) {
                        // configure the processor
                        stateHelper = new StateHelper(processor);
                        if (stateHelper.configure(10000)) {
                             processor.setContentDescriptor(new ContentDescriptor(ContentDescriptor.RAW_RTP));
                             // Go through the tracks and try to program one of them to output gsm data
                             boolean encodingOk = false;
                             TrackControl track[] = processor.getTrackControls();
                             if (track != null) {
                                  logger.debug("Track found: " + track.length);
                                  for (int i = 0; i < track.length; i++) {
                                       if (!encodingOk && track[i] instanceof FormatControl) {
                                            if (((FormatControl) track).setFormat(format) == null) {
                                                 track[i].setEnabled(false);
                                            } else {
                                                 encodingOk = true;
                                       } else {
                                            // we could not set this track to gsm, so disable it
                                            track[i].setEnabled(false);
                             // At this point, we have determined where we can send out format data or not
                             logger.debug("Encoding " + this.format.getEncoding() + " result: " + encodingOk);
                             if (encodingOk) {
                                  // realize the processor
                                  if (stateHelper.realize(10000)) {
                                       try {
                                            // hand this datasource to manager for creating an RTP
                                            // datasink our RTP datasink will multicast the audio
                                            String locator = "rtp://" + this.ip + ":" + this.port + "/audio/1";
                                            MediaLocator mlOut = new MediaLocator(locator);
                                            logger.error("Output Media locator URL: " + mlOut);
                                            // create a send stream for the output data source of a processor and start it
                                            dsource = processor.getDataOutput();
                                            dsink = Manager.createDataSink(dsource, mlOut);
                                            dsink.open();
                                            // now start the datasink
                                            dsink.start();
                                            logger.debug("Data sink created for Media locator: " + mlOut);
                                            if (stateHelper.prefetch(10000)) {
                                                 stateHelper.playToEndOfMedia(60000);
                                            } else {
                                                 logger.warn("Processor prefetch failed");
                                       } catch (Exception e) {
                                            logger.error(e.getMessage(), e);
                                            running = false;
                                       } finally {
                                            if (stateHelper != null)
                                                 stateHelper.close();
                                            if (dsink != null) {
                                                 dsink.close();
                                                 logger.debug("Datasink closed");
                                            try {
                                                 if (dsource != null)
                                                      dsource.stop();
                                            } catch (IOException e) {
                                                 logger.debug(e.getMessage(), e);
                                  } else {
                                       logger.warn("Processor realization failed");
                             } else {
                                  logger.warn("Encoding failed");
                        } else {
                             logger.warn("Processor configuration failed");
                   } else {
                        logger.warn("Processor creation failed");
    Thanks in advance mariusv5.

    Hi,
    I think you should go for BDC , using call transaction 'SE11' you can upload data from flat file. and Use FM gui_download to download the data from z table
    thanks,
    Prashant

  • Live Streaming from Video File

    Hi everyone,,, im newbie in programming streaming video with flash....ater reading documentations i tried the instructions on doc, i got a question that i've not been solved. How to make a "live streaming" from "video file". It likes a live streaming from camera but it uses video file  as the source.... many thanks

    Do you mean you have video file but you want to publish it as live stream , am i right? If yes following is the solution, but before that let me clarify you will need server to do it , i mean there is no way Flash client (i.e. .swf file running in Flash Player) can publish file from local disk.
    Now let me tell you how to do it from server:
    Place your video file under "streams" folder of your application i.e. say "myVideo.flv" under  <FMS root>/applications/myApp/streams/_definst_
    Now write following code in your main.asc file (this file would be under <FMS root>/applications/myApp )
    var mystream;
    application.onAppStart = function(){
         mystream = Stream.get("livestream");
         mystream.play("myVideo",0,-1,true);
    This will publish "myVideo" file as live stream under name of "livestream". Client would have to subscriber using NetStream and
    use ns.play("livestream",-1,-1)
    You might have to write some extra code if you want to loop same file else once play of recorded file gets over , live publish will automatically stop.
    let me know if this solves your problem

  • Import data from local file: insufficient privilege

    As part of a project I'm working on, I have to load data (only a few thousand records) into a HANA Development instance on HCP. Last week I did this several times with no problem using File > Import from HANA Studio and choosing Data From Local File. Yesterday and today I get this message (most of the time, but not all the time): SAP DBTech JDBC: [258]: insufficient privilege: Not authorized.
    Does anybody know why this might be and what do to about it?
    Are there batch alternatives? I have not found any. The INPUT INTO statement also gives authorization problems.

    Thanks for Your replies.
    Jochen - I can't find schema.ini file and your link doesn't work - I mean that site is under construction
    Mahesh - I tried to changed cells' format in excel, but file is saved without changes (as csv).
    Pandey - I read about DTW but I can't find it anywhere. Is there a site where it could be downloaded from?
    Finally I solved this problem. After saving file as xls I could changed cells' format and save with changes. It helped - data '1-10-103' is imported correctly.
    Regards,
    Hmg

  • While uploading data from local file

    Hi,
    While uploading data from local file having the header text into interal table using the GUI_UPLOAD function module,there is problem in upload because of header text in file, do we have any option in this FM itself to skip this header text and upload from sdecond line because as per our requirement we can't delete this header text from the file.

    Hi Manish,
    Do you have the problem while uploading? Is it giving any error?
    If not, if your uploading is successful into the internal table, then delete the first row, which is header, from the internal table using index eq 1.
    Regards,
    Chandra Sekhar

  • How to get folder(directory path only not file path) from local file system

    Hi Firends,
    How to get folder(directory path only not file path) from local file system , whenevr i will click on browse button.
    Please give reply for this one , if anybody knows.
    Thanks,
    Anderson.

    Hi Anderson,
    if you're using flash.filesystem.FileReference - then it is run in black box - except of filename, size and creation data (and few other properties available after some operation succeeded). This is part of security features in Flash runtime (described in header section):
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/FileReference .html
    This for example implies that user can download a content to local machine - but that content cannot be loaded back into Flash runtime. For this you would need either Air runtime flash.filesystem.File:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.h tml
    (so you would created Air runtime based application: desktop or mobile but not web, even as standalone project) or you would need one of 3rd party tools that add file access/file information features to standard Flash runtime applications converted to standalone native applications.
    hth,
    kind regards,
    Peter

  • Can GBTV be streamed from my Mac to AppleTV?

    Can GBTV be streamed from my Mac to AppleTV?

    The only way to stream from a Mac to ATV is through iTunes.

  • Importing previously exported data (from local file)

    After having searched to no end I still cannot find the answer to my question....
    Our current environment is an SAP and FLM system (forms livecycle management) using livecycle designer for design and all users on at least reader 9.
    I would like to know if it is possible for a user to fill in a form and save the entered data (to a local file) so the following week they can then open latest version of the PDF (requested from the FLM portal to be either completed online (portal) or offline (email)) they would then import the data, make any minor updates and submit. The forms should have reader extensions applied but as yet unsure of the exact settings (if any) as this happens automatically within FLM. The form shouldn’t change in future, more than some additional validation, but allow form numbers and versions within FLM to be better maintained. Plus to ensure users do not keep or use outdated forms.
    From my understanding there are 2 ways to import data, either folder level javascript or via certifying the form. For our setup folder level scripts are a non-starter as would have no way to maintain these on every PC (far to many) so that leave us with certifying forms....from the limited information I have found on this it appears that the certification may break when importing data, have very very basically tested this and appears to be true.
    So the last thought was if I can import data programmatically via javascript and fill fields in etc would this still have the same affect of breaking certification?
    Appreciate any advice

    > Hi Srdjan.
    >
    > Are you familiar with the MDM Import Manager?
    >
    > Best regards,
    > Nir
    Hi
    I haven't tried the MDM Import manager..but I solved it with LSMW. I created a recording for one record entry, then I specified the rest of the data in a text file, and passed it to LSMW..It worked (almost) perfectly!
    Thanks for the suggestion though, I'll give it a try some other time
    Best regards,
    S.

  • IOS: (not) playing sound from local file system - Error #2032

    Dear all,
    I am working on an app where I want to (among others) play sound files from the local file system.
    I have added a few mp3 files into my .ipa file.
    With a small file browser in my app I can select any one of them which returns me a File object.
    I then use this File object to do a URLRequest to load the sound:
    var req:URLRequest = new URLRequest(file.nativePath);
    sound = new Sound();
    sound.addEventListener(IOErrorEvent.IO_ERROR, soundLoadError);
    sound.addEventListener(Event.COMPLETE, soundLoaded);
    sound.load(req);
    It works in flash, but fails on the iPAD. Everytime I try to load, I get a IOErrorEvent with error code Error #2032
    When I replace new URLRequest(file.nativePath) with URLRequest("http://.../testfile.mp3"), everything works fine!
    Any help appreciated.
    Is this a matter of Security settings? Can I change those?
    Something to do with Sandboxing (whatever that is)?
    or something to do with cross-domain access?
    I have been looking around for days now and any help would be appreciated!
    I am using Flash CS5.5 & AIR 2.7
    Thanks, Marcus.

    Hi Sanika,
    this was something closer to that paragraph for "nativePath":
    Some Flex APIs, such as the source property of the SWFLoader class, use a URL (the url property of a File object), not a native path (the nativePath property).
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.h tml#nativePath
    but that is not exactly what I've read (maybe that was A-blog or post on someone from A-team on his personal blog or post on stackoverflow).
    (myself I'm using and providing solutions for paths using FILE protocol - file URI schemes - mostly whenever I can and where it is supported)
    regards,
    Peter

  • Get image from local file system for printing

    If a user clicks Print, I would like to be able to print the
    stationery header if the user wants to print on plain paper. Can I
    pick up the image from the users local file system and add it
    directly to the print send object? Prior to this the user would
    simply upload the location of the image to the remote server where
    the swf resides, or do I have to ask him to upload the image itself
    and then download it again every time he uses the program?
    Doug

    Here is a snippet from the Flex 2 user guide about urlloader:
    When using this method, consider the Adobe® Flash®
    Player security model:
    For Flash Player 8 and later:
    Data loading is not allowed if the calling SWF file is in the
    local-with-file-system sandbox and the target resource is from a
    network sandbox.
    Data loading is also not allowed if the calling SWF file is
    from a network sandbox and the target resource is local.
    As far as I know there is no way for a user to "trust" an swf
    file. This is not like an activeX control.

  • Can an applet loading from a browser read from local file system?

    I have to load my applet from a browser, and the "browse" button on it should be able to select and read certain files in the local file system( or the files located under the server's home directory). Is there a way to address the security issue? I know there are ways to enable an appletviewer to do it, but how about a browser?

    You'll need to have a signed applet.

  • Issues w/ iPod audio streaming from iPad 2 to AppleTV 2?

    Are there known issues with streaming music from iPad 2 to ATV2 via AirPlay? Streaming the exact same music at the exact same bit rate from my iPhone 4 works flawlessly. However, from the iPad 2, 256K MP3s are extremely choppy -- whether I'm using the iPad or not.
    Video streaming from the iPad is flawless. The network is fine. And like I said, the iPhone 4 handles streaming from the iPod app perfectly.
    Any help is appreciated.
    Thanks

    Good signal strength is not necessarily an indication you don't have issues with your network. Any devices that are capable of being connected by ethernet and with in close proximity to each other should be.
    Intermittent problems are often a result of interference. Interference can be caused by other networks in the neighbourhood or from household electrical items.
    You can download and install iStumbler (NetStumbler for windows users) to help you see which channels are used by neighbouring networks so that you can avoid them, but iStumbler will not see household items.
    Refer to your router manual for instructions on changing your wifi channel.

  • How can i Store rtmp streaming into local File System?

    I use socket and netstream.appendBytes to receive and play flv frames.
    now I got the BytesArray,but how can i store them into local File?
    FlashPlayer can't use Air File APIs.

    This is by design.  Content on the Internet does not have access to your local filesystem.  We offer Local Shared Objects (LSOs) for storing small amounts of information, but this would not be suitable for scraping a video feed to disk.

  • Live streaming from mp4 file

    Hello everybody,
    I know that's a noob question (as I am) but i can't make it run.
    I have an mp4 file and the folders structure is....
    Application/test/sources/_definst_
    in _definst_ source.mp4
    in test folder main.asc file
    main.asc file contains
    var mystream;
    var intervalID;
    application.onAppStart = function(){
    mystream = Stream.get("mylive");
    intervalID = setInterval(startPublish,100); / checking every 100 ms if we can start publish
    function startPublish(){
    if(checkTime() == true){
    clearInterval(intervalID ); //clearing the interval so that startPublish won't be called again
    myStream.play("mp4:sample.mp4",0,-1,true) //starting the live publish of recorded file sample.mp4
    function checkTime(){
    myDate = new Date();
    if(myDate.getHours() == 21) // This means its 2 PM
    return true;
    else
    return false;
    All this stuff doesn't work. When I go to the admin panel and select test under new instance the stream appears on the left side but if press enter on _definst_ it disappears from the column.
    What's wrong?
    Is possible with this code run that video on ios devices?
    Thank you very much

    Hi,
    By default the FMS looks for the media under <application>/streams/_definst_/ and not sources/_definst_/. In case you want to specify the media location then copy the Application.xml from the vod sample application and edit the Streams tag. For eg :
    <StreamManager>
                        <VirtualDirectory>
          <!-- Specifies application specific virtual directory mapping for recorded streams.   --> 
           <Streams>/;<root_install>/applications/vod/sources/_definst_/</Streams>    
                        </VirtualDirectory>
    </StreamManager>
    This should solve your problem. The main.asc is fine.
    Hope this helps.
    Thanks,
    Apurva

  • Stream from Macbook Pro to AppleTV with no internet

    Help, I have just moved temporarily to a house with no wireless internet access. I want to stream content from my Macbook Pro to my apple tv, but it doesnt show up on the AppleTVs computer choices. At my old place with an iMac sharing internet connection everything was fine. Do I need an internet connection to stream to ATV? What can I do to get the ATV adn Macbook pro to talk to each other.
    Ive tried an ethernet cable between the two which is fine, except my itunes purchases wont copy because they cant authorize through the internet.

    cchoppmann wrote:
    but it doesnt show up on the AppleTVs computer choices. At my old place with an iMac sharing internet connection everything was fine.
    I suspect you need to configure the computer to 'create a network', then join the Apple TV to that network.
    except my itunes purchases wont copy because they cant authorize through the internet.
    I think this problem will exist whether you have wireless connection between the ATV and the computer or not.
    hth,
    b.

Maybe you are looking for

  • Trying to save as (print to) pdf, saves as multiple files

    Hello, I'm trying to print to a pdf file from my version of word (not the most recent version, but the one right before that). It is being saved as two separate files, the first containing the first page, the next containing the second and third page

  • Add on

    I have a wrt54G router, I have four ports one hard wired to desk top, the other is a wireless laptop.I want to connect another wireless laptop and I am having difficulty connecting without wired cable.I tried LEAL and it said wire was not connected t

  • Router with BRI interface

    i need your support to know model Router with BRI interface

  • Photoshop Elements--No Organizer

    After installing a paid-for version (Dec. 1, 2012)  of Elements 11, my Organizer stopped working. It fails to boot up--no windows, nothing except the words ORGANZIER on the top menu bar. And when I look at the icon for the Organizer in my iMAC applic

  • Webapp should dynamically choose second DB when first DB is down.

    I need to create a web app, considering disaster recovery situation. I have to DBs on two remote locations. Now what necessary steps should I take, so that when one DB is down, my app will pick Another DB? Please help me out...!!! Note: I'm using Jde