Script / Tracker repeat

I am running the below script which seems to be doing its job to a certain extent.
Once the script runs and the sim fails over, the tracker does not restart its timer until the tracker has changed to up.
What I am after is for the script to run as below, but to keep running the ping tests and if the tracker fails over but stays down for another 15 minutes to run again, and then again after another 15 minutes and keep repeating every 15 minutes until the tracker changes to up.
So the unit is swapping the sim every 15 minutes until it receives a signal. This is because one sim may run out of data allowance and the 2nd sim may have no signal.
no track 2 ip sla 20 reachability
no ip sla 20
no event manager applet SimFailover
track 2 ip sla 20 reachability
 delay down 180 up 180
ip sla 20
 icmp-echo 8.8.8.8 source-interface Vlan1
 frequency 30
ip sla schedule 20 life forever start-time after 00:15:00
event manager applet SimFailover
 event track 2 state down
 action 1.0 syslog msg "No connectivity, failing over sim"
 action 0.1 cli command "enable"
 action 0.2 cli command "show cellular 0 security"
 action 0.3 regexp "Active SIM = ([0-9])" $_cli_result match sim
 action 0.4 if $sim eq 0
 action 0.5 cli command "cellular 0 lte sim activate slot 1"
 action 1.1 else
 action 1.2 cli command "cellular 0 lte sim activate slot 0"
 action 1.3 end

What you should do is have your track down applet install another applet that actually does the swapping:
event manager environment q "
event manager environment cr $_cli_result
event manager environment s $sim
event manager applet SimFailover
 event track 2 state down
 action 001 cli command "enable"
 action 002 cli command "config t"
 action 003 cli command "event manager applet SimTimer"
 action 004 cli command "event timer watchdog time 900"
 action 005 cli command "action 0.1 cli command enable"
 action 006 cli command "action 0.2 cli command $q show cellular 0 security$q"
 action 007 cli command "action 0.3 regexp $q ?Active SIM = ([0-9])$q $cr match sim"
 action 008 cli command "action 0.4 if $s eq 0
 action 009 cli command "action 0.5 cli command $q cellular lte sim activate slot 1$q"
 action 010 cli command "action 1.0 syslog msg $q No connectivity, failing over sim$q"
 action 011 cli command "action 1.1 else"
 action 012 cli command "action 1.2 cli command $q cellular lte sim activate slot 0$q"
 action 013 cli command action 1.3 end"
 action 014 cli command "end"
event manager applet SimTrackUp
 event track 2 state up
 action 1.0 cli command "enable"
 action 2.0 cli command "config t"
 action 3.0 cli command "no event manager applet SimTimer"
 action 4.0 cli command "end"

Similar Messages

  • Is there a limit to track repeat, or an automatic time-out?

    I have a single track off a white noise cd that I listen to while I sleep to minimize my tinnitus (ear ringing). My current solution is a cd player on repeat, but i thought I could just rip the track I want to mp3 and use itunes instead of the old cd player.
    Question - If I place a track on repeat, does it only repeat for a given number of plays, or does it go on until I stop it. (remember I need about 8hrs of play and the track is 12 minutes)
    Alternate Question - If iTunes has a max on track repeat, then I could alternatively create a playlist consisting of this same track 40 times in a row. My guess is that this would work assuming itunes doesnt have some auto stop feature.
    All of this assumes obviously that my mac is on and running.
    Thanks for any insight on this topic.
    Paul

    "Repeat One" will repeat the currently playing track endlessly an infinite number of times until you stop it.

  • Script keeps repeating

    Hi All --
    I have a script that is supposed to retrieve some information from two tables based upon a select statement. Then write the data to a file. However, the script keeps repeating and does not break out of the loop. It doesn't give me any errors and eventually the server times out. When I run the select statement by itself, it only retrieves about 15 records. Not sure why it doesn't break out of the loop. Any ideas? My code is below:
    Thanks,
    Donna
    CREATE OR REPLACE PROCEDURE CourseMem_Extract IS
    filehandler UTL_FILE.FILE_TYPE;
    counter Number := 0;
    Begin
    filehandler := UTL_File.FOPEN('d:\files', 'BbCourseMem'| |To_Char(sysdate, 'mm-dd-yyyy-hhmi')| |'.txt', 'w');
    For Faculty_Cursor IN
    Select Distinct a.Course_Number, a.Course_Section, a.Campus_code, a.Year, a.Term, a.Course_Length,
    c.Faculty_First_Name, c.Faculty_Last_Name, c.Cohort_Number, c.birth_date
    from Course a, Faculty c
    Where (
    (Course_Section Is Not Null AND
    (a.Faculty_SSN = c.social_security_number )
    AND Active_Status = 'A')
    Loop
    counter := counter + 1;
    UTL_FILE.PUT(filehandler, Faculty_Cursor.Course_Number);
    UTL_FILE.PUT(filehandler, Faculty_Cursor.Campus_Code);
    UTL_FILE.PUT(filehandler, Faculty_Cursor.Course_Length);
    UTL_FILE.PUT(filehandler, Faculty_Cursor.term);
    UTL_FILE.PUT(filehandler, Faculty_Cursor.Year);
    UTL_FILE.PUT(filehandler, Faculty_Cursor.Course_Section);
    UTL_FILE.PUT(filehandler, '|');
    utl_file.put(filehandler, Faculty_Cursor.Faculty_First_Name);
    utl_file.put(filehandler, Faculty_Cursor.Faculty_Last_Name);
    utl_file.put(filehandler, (Lower(Faculty_Cursor.Cohort_Number)));
    UTL_FILE.PUT(filehandler, (To_Char(Faculty_Cursor.birth_date, 'mm/dd/yyyy')));
    UTL_FILE.PUT(filehandler, '|');
    UTL_FILE.PUT(filehandler, 'Instructor');
    UTL_FILE.PUT(filehandler, '|');
    UTL_FILE.PUT(filehandler, 'Enabled');
    UTL_FILE.PUT(filehandler, '|');
    UTL_FILE.PUT(filehandler, 'Y');
    UTL_FILE.PUT(filehandler, '|');
    UTL_FILE.PUT(filehandler, ' ');
    utl_file.New_Line(filehandler);
    END LOOP;
    UTL_FILE.PUT(filehandler, '***FileFooter|'| |counter| |'|'| |To_Char(sysdate, 'hh:mi:ss dd/mm/yyyy'));
    UTL_FILE.FFLUSH(filehandler);
    UTL_FILE.FCLOSE(filehandler);
    EXCEPTION
    when utl_file.invalid_path then
    raise_application_error(-20001, 'INVALID_PATH: File loc or name was invalid.');
    when utl_file.invalid_mode then
    raise_application_error(-20002, 'INVALID_MODE: open_mode in FOPEN was invalid.');
    when utl_file.invalid_filehandle then
    raise_application_error(-20002, 'INVALID_FILEHANDLE: The file handle was invalid.');
    when utl_file.invalid_operation then
    raise_application_error(-20003, 'INVALID_OPERATION: The file could not be opened or operated on as requested.');
    when utl_file.read_error then
    raise_application_error(-20004, 'READ_ERROR: An OS error occurred during the read operation.');
    when utl_file.write_error then
    raise_application_error(-20005, 'WRITE_ERROR: An OS error occurred during the write operation.');
    when utl_file.internal_error then
    raise_application_error(-20006, 'INTERNAL_ERROR: An unspecified error in PL/SQL.');
    end CourseMem_Extract;
    Execute CourseMem_Extract;
    null

    Well, I changed the code to an explicit cursor and the first part of it works. But my second cursor is not working. It now hangs. Could it be caused by the version of Oracle (Oracle8 Enterprise Edition Release 8.0.6.0.0 ) or by the OS being NT? Here is the modified code:
    CREATE OR REPLACE PROCEDURE CourseMem_Extract IS
    filehandler UTL_FILE.FILE_TYPE;
    counter Number := 0;
    Cursor l_Faculty is
    Select a.Course_Number, a.Course_Section, a.Campus_code, a.Year, a.Term, a.Course_Length,
    c.Faculty_First_Name, c.Faculty_Last_Name, c.Cohort_Number, c.birth_date
    from Course a, Faculty c
    Where (
    (a.Course_Section Is Not Null AND c.Active_Status = 'A' AND (a.Faculty_ID = c.Identification_number ) ) );
    Faculty_Cursor l_Faculty%RowType;
    Begin
    filehandler := UTL_File.FOPEN('d:\files', 'BbCourseMem2'| |To_Char(sysdate, 'mm-dd-yyyy-hhmi')| |'.txt', 'w');
    UTL_FILE.PUT_LINE(filehandler, 'External_Course_Key|External_Person_Key|Role|Row_Status|Available_Ind|New_Data_Source_Key');
    Open l_Faculty;
    Loop
    Fetch l_Faculty INTO Faculty_Cursor;
    Exit When l_Faculty%NotFound;
    counter := counter + 1;
    UTL_FILE.PUT(filehandler, Faculty_Cursor.Course_Number);
    UTL_FILE.PUT(filehandler, Faculty_Cursor.Campus_Code);
    UTL_FILE.PUT(filehandler, Faculty_Cursor.Course_Length);
    UTL_FILE.PUT(filehandler, Faculty_Cursor.term);
    UTL_FILE.PUT(filehandler, Faculty_Cursor.Year);
    UTL_FILE.PUT(filehandler, Faculty_Cursor.Course_Section);
    UTL_FILE.PUT(filehandler, '|');
    utl_file.put(filehandler, Faculty_Cursor.Faculty_First_Name);
    utl_file.put(filehandler, Faculty_Cursor.Faculty_Last_Name);
    utl_file.put(filehandler, (Lower(Faculty_Cursor.Cohort_Number)));
    UTL_FILE.PUT(filehandler, (To_Char(Faculty_Cursor.birth_date, 'mm/dd/yyyy')));
    UTL_FILE.PUT(filehandler, '|');
    UTL_FILE.PUT(filehandler, 'Instructor');
    UTL_FILE.PUT(filehandler, '|');
    UTL_FILE.PUT(filehandler, 'Enabled');
    UTL_FILE.PUT(filehandler, '|');
    UTL_FILE.PUT(filehandler, 'Y');
    UTL_FILE.PUT(filehandler, '|');
    UTL_FILE.PUT(filehandler, ' ');
    UTL_FILE.PUT(filehandler, '');
    utl_file.New_Line(filehandler);
    Commit;
    END LOOP;
    Close l_Faculty;
    Cursor l_Course is
    Select Distinct a.Course_Number, a.Course_Section, a.Campus_code, a.Year, a.Term, a.Course_Length,
    c.Student_First_Name, c.Student_Last_Name, b.Cohort_Number, d.birth_date
    from Course a, Student b, applicant c, demography d
    Where (
    (a.Course_Number = b.Course_Number_One AND
    b.Course_Section1 Is Not Null AND
    b.Stage_Grade Is Null AND b.Termination_Status Is Null)
    OR
    (a.Course_Number = b.Course_Number_Two AND
    b.Course_Section2 Is Not Null AND
    b.Indep_Study_Grade Is Null AND b.Termination_Status Is Null)
    AND
    ( c.Identification_number = b.Identification_number )
    and
    ( c.Identification_number = d.Identification_number )
    and
    ( d.Identification_number = b.Identification_number )
    Course_Cursor l_Course%RowType;
    Begin
    Open l_Course;
    Loop
    Fetch l_Course INTO Course_Cursor;
    Exit When l_Course%NotFound;
    counter := counter + 1;
    UTL_FILE.PUT(filehandler, Course_Cursor.Course_Number);
    UTL_FILE.PUT(filehandler, Course_Cursor.Campus_Code);
    UTL_FILE.PUT(filehandler, Course_Cursor.Course_Length);
    UTL_FILE.PUT(filehandler, Course_Cursor.term);
    UTL_FILE.PUT(filehandler, Course_Cursor.Year);
    UTL_FILE.PUT(filehandler, Course_Cursor.Course_Section);
    UTL_FILE.PUT(filehandler, '|');
    utl_file.put(filehandler, Course_Cursor.Student_First_Name);
    utl_file.put(filehandler, Course_Cursor.Student_Last_Name);
    utl_file.put(filehandler, (Lower(Course_Cursor.Cohort_Number)));
    UTL_FILE.PUT(filehandler, (To_Char(Course_Cursor.birth_date, 'mm/dd/yyyy')));
    UTL_FILE.PUT(filehandler, '|');
    UTL_FILE.PUT(filehandler, 'Student');
    UTL_FILE.PUT(filehandler, '|');
    UTL_FILE.PUT(filehandler, 'Enabled');
    UTL_FILE.PUT(filehandler, '|');
    UTL_FILE.PUT(filehandler, 'Y');
    UTL_FILE.PUT(filehandler, '|');
    UTL_FILE.PUT(filehandler, ' ');
    UTL_FILE.PUT(filehandler, '');
    utl_file.New_Line(filehandler);
    Commit;
    END LOOP;
    Close l_Course;
    UTL_FILE.PUT(filehandler, '***FileFooter|'| |counter| |'|'| |To_Char(sysdate, 'hh:mi:ss dd/mm/yyyy'));
    UTL_FILE.FFLUSH(filehandler);
    UTL_FILE.FCLOSE(filehandler);
    EXCEPTION
    when utl_file.invalid_path then
    raise_application_error(-20001, 'INVALID_PATH: File loc or name was invalid.');
    when utl_file.invalid_mode then
    raise_application_error(-20002, 'INVALID_MODE: open_mode in FOPEN was invalid.');
    when utl_file.invalid_filehandle then
    raise_application_error(-20002, 'INVALID_FILEHANDLE: The file handle was invalid.');
    when utl_file.invalid_operation then
    raise_application_error(-20003, 'INVALID_OPERATION: The file could not be opened or operated on as requested.');
    when utl_file.read_error then
    raise_application_error(-20004, 'READ_ERROR: An OS error occurred during the read operation.');
    when utl_file.write_error then
    raise_application_error(-20005, 'WRITE_ERROR: An OS error occurred during the write operation.');
    when utl_file.internal_error then
    raise_application_error(-20006, 'INTERNAL_ERROR: An unspecified error in PL/SQL.');
    end CourseMem_Extract;
    Execute CourseMem_Extract;
    null

  • Regarding a script tracking system

    hi all,
    I have created one generalized system for script tracking on particulare user.
    Suppose we have a one application user(DB) scripts -- to create user, DDL and DML etc.
    and i future any patch script can also be there. and i want to keep track of all the scripts
    which are run are not run etc
    For that i have developed one java/ Pl-sql program which will get all the file which are exists in
    one particular given folder.
    Now i want to run all the scripts which are exists in that particlare folder and also
    keep try of all the scripts which are already runned on that particular user by making one track_table.
    my pl/sql code is as follows.
    SET SERVEROUTPUT ON;
    DECLARE
         FILE_PATH_V      VARCHAR2(1000);
         VERSION_NO_V     VARCHAR2(50);
    BEGIN
         FILE_PATH_V := '&FILE_PATH';
         FOR I IN (select COLUMN_VALUE from TABLE ( cast (GETFILES_FUN( FILE_PATH_V ) as List) ))
         LOOP
              if instr(UPPER(i.column_value),'.SQL') >0 THEN
                   dBMS_OUTPUT.PUT_LINE(I.COLUMN_VALUE);
                   -- EXEUCTE SCRIPT
              END IF;
         END LOOP;          
    END;
    /As i searched on net & forum i am not able to get the method to run the *.sql file in pl-sql block.
    Any body have any other idea how i can achieve that?
    Note:: I have not permission to change the sql files ......
    Regards
    Singh

    This task could easily be done from the OS. But it is "almost" impossible in PL/SQL.
    In unix you could do something like (crude pseudocode):
    For file in all_files_in_folder_with_ending_sql do
         sqlplus user/password@database @file
         save $file in tracking file
    end for
    [pre]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Incoming calls not using Bluetooth / Music tracks repeating

    I've been having a problematic issue with Bluetooth since upgrading to iOS 7. I have my iPhone 5 paired with my 2013 Hyundai Elantra's Bluetooth system.
    Outbound calls use Bluetooth just fine, as does Siri, but any incoming calls all use my iPhone's headset by default. I have to manually switch the phone's output back to my car's bluetooth in order to talk using my car's hands-free system... which really defeats the purpose of hands-free.
    I'll note that this is happening both when my iPhone is plugged in via USB and listening to music on the car's stereo, as well as when the iPhone is simply idle in my pocket. I have not tested what happens when the car is playing my iPhone's music via Bluetooth (the audio quality is sub-par to a direct connection and doesn't display the artist/track/album on the console when playing via Bluetooth - ergo I rarely use it)
    Secondly, I am having another issue, this time with playing music. I don't believe it's related to the above Bluetooth issue, but it may be related to my car.
    Like I said above, I often use my Elanta's USB port to directly plug in my iPhone so I can a) listen to music on the car's stereo and b) skip tracks with the wheel-mounted controls. This all worked flawlessly with iOS 6.
    Now, if I skip a track with my car's controls, the Music app will repeat that next track... over and over. When the song is completed, it will attempt to move on to the next song, then immediately backtrack and start playing the previous song again (you can tell so by watching the Music app. The album art will swipe over, then quickly swipe back). I have to manually skip forward to play a new song... Highly irritating.
    I'll also note that skipping songs via the wheel-mounted controls is considerably slower than it was with iOS 6. It's definitely a couple seconds after I press a button before the next song starts to play. It used to be near-immediate.
    Anyone else having either of these issues? Hopefully it's something Apple picks up on and fixes soon!

    Don't know if you got this yet, but I came here looking for answer. Since I just found one, figured I'd pass it on for others:
    You have to set your phone's incoming calls to "headset" under accessibility. (Silly, I know, considering, if you hook up a bluetooth, it should automatically default there, but no ...) This walks you through:
    http://www.imore.com/how-set-default-call-answer-mode-iphone

  • Tracks repeating in playlists on Connect

    Hi there,
    I use Spotify connect to play playlists from my phone, and notice that when I play any playlist, it will not play the songs in order, and repeat songs that have played already even when shuffle mode is off. The expected song order would be 1,2,3,4,5 but the typical output is 1,2,1,3,4,2 or something similar.
    I use a Beep device as the Connect player, and their tech support said this is a known bug with Spotify Connect. Can it be fixed?

    I too have a Beep and have the same/similar problem. I run Spotify connect from my phone or laptop and connect to the Beep. When playing a playlist or radio station it will often repeat tracks and sometimes just get stuck playing the same couple of tracks over and over. If I try and queue tracks it is even worse. For example if I queue tracks 1, 2, 3 ,4 and 5. It will play tracks 1, 2, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4, 5. This seems to have been a problem ever since Spotify introduced the "Play Queue" screen showing "Current Track", "Queued Track" and "Next track". The "Queued Tracks" will list the tracks I have queued, i.e. 1, 2, 3, 4, 5. But the "Next Tracks" will list tracks 1, 2, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4, 5.  And that is what plays. This makes queuing absolutely useless. Infact the whole "Current Track", "Queued Track" and "Next track" thing is a complete mess.

  • Problem with track layering: How do I make only one track repeat?

    When I am working on a specific track, if I want it to be a repetition, you can drag the green line above to cover the notes you want to repeat, however, when I do this it repeats all tracks.
    So how can I have a drum pattern that repeats over and over and then have a different instrument that I don't want to repeat?

    You are doin'it wrong!
    The green bar is for cycling play and record not to loop.
    When you select a track in the left pane there is a Loop option: activate it.
    cheers
    rob

  • Video from middle of track repeated at end of track after build.

    DSP3.0.2
    QT6.5.2
    I been using DSP3 for years and haven't encountered this rather odd problem before.
    I have a basic DVD with menu and 3 tracks. Each track is about 30 mins. I've placed a chapter marker at 5 min intervals throughout each track and one chapter marker 1 second before the end of each track.
    From the menu you can jump to any track by selectiing it's button.
    The end jump for each track is to jump to the next track in turn, with the 3rd jumping back to the menu. In simulation everything works fine.
    After the build which completes successfully I find that track 1 and track 2 are fine, however at the end of track 3, 5 mins from between two of track 3s chapter markers, is repeated.
    I deleted all the chapter markers in track 3 and re-created them as before to no avail, same result.
    Has anyone any idea what's happening?
    Why would 5 mins of video be repeated at the end of the track?
    Many Thanks.
    Here the build log if it helps: (I use DVD2One to compress afterwards).
    Building Project Ghost Stories 2007_01
    21/01/07 10:25:00
    Build Folder /Volumes/Video02/x05-DVD_Movies/Built Projects/GhostStories2007-01
    Starting DVD Build GHOST_STOPRIES...
    Compiler Initializing...
    Precompiling Project GHOST_STOPRIES
    Compiling VMG Information...
    Created 17 PGCs in VTSM1
    Created 5 PGCs in VTSM2
    Created 5 PGCs in VTSM3
    Created 8 PGCs in VMG.
    4 Menu(s) will be created...
    Compiling Menu PGCs...
    Compiling Menu#1 (dummy 1)...
    dummy 1 : No Buttons defined!
    Compiling Menu#2 (Copyright)...
    Copyright : No Buttons defined!
    Compiling Menu#3 (dummy 2)...
    dummy 2 : No Buttons defined!
    Compiling Menu#4 (Main Menu 2)...
    Rendering Menu:Main Menu 2,Language:1...
    Generating Transition: VTSM #01, VOB #1...
    Generating Transition: VTSM #01, VOB #2...
    Writing VIDEO_TS.VOB
    Compiling Menu PGCs...
    Writing VTS020.VOB
    Compiling Menu PGCs...
    Writing VTS030.VOB
    3 VTSs and 3 Titles will be created...
    Compiling VTS#1 (001)...
    Muxing VTS011.VOB
    Done.
    Compiling VTS#2 (002)...
    Writing VTS020.VOB
    Muxing VTS021.VOB
    Done.
    Compiling VTS#3 (003)...
    Writing VTS030.VOB
    Muxing VTS031.VOB
    Done.
    Linking VMG...
    Linking VTS#1...
    Linking VTS#2...
    Linking VTS#3...
    Writing VTS#1...
    Writing VTS#2...
    Writing VTS#3...
    Writing VMG...
    Writing Layout Info...
    Build Warning: Compiled project is 1717.2 MB too large for currently selected disc media.
    Compile Completed Successfully

    Thanks Jason.
    I may have explained it poorly, but the original m2v file didn't have any footage repeated at the end after encoding the MOV footage. What you describe is obviously possible, but it isn't what was happening here.
    The repeated footage only appeared after the project build. It as though something in the build process decided to go back and repeat some footage at the end of that track. Weird.
    Anyway I eventually re-encoded all the m2v from the project, (after deleting all the original), using the same settings as before, same bit rate etc, and tried again. This time the build didn't repeat any footage atthe end of the track.
    So all is fine now, but as to what caused the problem, I have no idea.

  • ITunes play count not increasing on track repeat

    I had put I recently downloaded song on repeat in iTunes today. After a few plays, I noticed that the play count had not increased at all. I do have cross fade endabled, so when there is 3 seconds left in the song, the next song would fade in. Maybe a glitch?

    This is a bug that has been there since the release of itunes 11.
    Turn crossfade off, completely, quit itunes completely and reopen. The play count should work now.

  • Script output repeat

    hi all
    user has printed the document some 3 months back . now they have archived that data. now if the user reprints the data by issuing the same out putwhich he has used 3 months back , will the user gets the current data or the data he got 3 months back. (Assuming he has authorization to print the archived data)

    Hi the document is invoice document. VF03 transaction,
    the following is the issue given to us.
    we have a problem in SAP with the 'archived' invoices. When I have to create to invoices for one contract at the same day, because I have two different POs with different amounts, the system shows on the re-print only the last PO no, what is still mentioned in the contract. The system doesn't archive my print-out with the other PO no.
    The problem is now we have the original invoice with the correct PO no and the Re-print invoice with the wrong PO no.
    So one invoice with two different PO no.
    Plz tell me where is the problem

  • A script that can be used to track text content changes in indesign?

    Is there a possibility a script that can be used to track text content changes in indesign. My Indesign software's version is CS3. As you can see below, I have deleted some texts and added some. I did it in another software.
    I have been searched for a long time. Because of my poor English, I still can't come up with any Object Model related to the script yet.
    Here is some idea of mine:
    Use the script tracking my revising texts. When I  add some new texts, the texts will be underlined. When I delete some texts, the position of the first character of the removed text will be added a small red triangle or something.
    Thanks in advance.

    Hidden dragon, what does that mean?
    I can't comprehend fully what you said.
    Is IDML short for Indeisgn Markup Language?
    I think you are telling me that I can open the Indeisgn document by using the software InCopy. Then I have change some contents. InCopy will help me tracking the revision.
    getZinger. Do I get your point?

  • How to repeat track in music, how to repeat track in music

    how do go to the track repeat & random in iphone 4S with the new IOS 6?

    Hello DJGrits7,
    Thank you for using Apple Support Communities!
    From your description it sounds like the music file is missing.
    This article may help you find it:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/TS1408
    It is possible you may have to delete the missing entry from your iTunes library and re download the purchase from the iTunes store.
    iTunes 11 for Mac: Download previous purchases from the iTunes Store
    http://support.apple.com/kb/PH12283
    All the very best,
    Sterling

  • Gap in "gapless" track when "repeat one" in use

    I have some short tracks meant to be played on an infinite loop -- babbling brook sound and such. As you can imagine, though these sound fine when played in a truly seamless loop, if there's even a small gap when the track repeats, they sound horrible.
    The tracks play just fine in iTunes -- no gaps, seamless, perfect. But when played on my iPod Classic, there's a brief gap when the track repeats. Just a fraction of a second glitch, but it's enough to change the effect from relaxing to horribly jarring. Unusable, in short.
    Is this a known iPod bug, or is there something I can do to fix it? (Yes, I have considered taking the short tracks and dup'ing them a few hundred times in a sound editor to create one big truly gapless music file with lots of repetitions, but that seems like a very ugly hack.)

    The term "gapless" when referring to the iPod is usually understood to mean no gap between one track _and the next_ , and so expecting the iPod to manage gapless transitions when repeating the same track is probably asking a bit much of it. Perhaps someone else reading this may disagree...
    By the way, I believe that the iPod's gapless feature is designed to work as follows: when you select "crossfade playback" (in iTunes, Edit/Preferences/Playback) each song is faded into the next - except for any albums marked as gapless. (I have not actually tried crossfade playback yet, but I have read about it in other posts.)
    You could always try the crossfade playback and see what happens, but I think your ugly hack may be the only answer! Actually, one last thought, how long are these short tracks? The Classic iPod models must buffer the output from the hard drive to the headphones (again, I'm sure someone will disagree ) and if the track is very short, the buffer may not have time to find the start of the track before it finishes. Do you get the gap if you let the track play through to a third time?

  • Unexpectedly Repeating tracks Zen X-Fi 1

    So, I select a random song from the music library (Music -> All Tracks ) and then just let it continue to play tracks at random. It says it's on a playlist of 2682 songs. But if I go to Music -> DJ -> Random Play All, it makes a playlist of 2007 songs. I'm not sure which songs aren't on the list exactly, But I do find that curious.
    The even more curious part, though, is that in either case, about every 0-5 songs it decides to play the exact same song twice in a row. It seems clear that it's picking the next song to have some sort of association with the previous song, sometimes. But why the exact same song so often? Has anyone else noticed this? Is there any way to modify this behavior?
    I upgraded the firmware to .03.0, but the behavior persists. 'Play Mode' is set to 'Shuffle'. I took it off 'Shuffle Repeat', but that didn't change anything.

    Hi Folks,
    It appears that taking the lock off does not help. I was unable to repeat what I reported earlier about any given track not repeating itself if the player is unlocked. It does not matter if I queue a genre or playlist or the numbers of tracks, tracks repeat every 3 to 8 songs. I just experienced a fluke when a track did not repeat itself before. Guess what! I came across two other bugs. Once, the information of a song being displayed was not what was playing. The tags did not match the current song. Also, for whatever reason, my time and date were reset. I did nothing to change the date and time. It was set for February (I think) of 2009. PLEASE CREATIVE LABS! PLEASE FIX THESE BUGS SOON!

  • A LOT of iTunes broken links/tracks after Music folder move...

    So yeah, I'm getting a TON of broken links / dead track links in iTunes after having to do two things to my iTunes install recently and I'm at wits end trying to fix it.
    I keep my iTunes Music Folder on an external and share the iTunes library between my work Macbook Pro and my home Macbook. Every Friday I drag my iTunes folder and all contents from my MBP onto an external and replace the iTunes folder on the 'weekend' MB, then do the same back on Monday. I keep my iTunes music 'View' as 'Date Added' so that I can always be listening to whatever is newest. It's how I roll.
    Well, this week I had some data problems during the transfer and had to use a previous week's iTunes Music Folder, which was fine as I hadn't added much this week.
    I also got a new external because the old one was getting a little shady, so after doing the iTunes Music Folder replacement I moved my music all over to a new external drive, told iTunes where it all was at. iTunes did it's thing, 'organized' my stuff and all seemed good - until I got back deeper into the catalogue of music and started getting a LOT of broken tracks. The songs are still there, in the correct folders and all, but for some reason iTunes isn't finding them.
    When I say a LOT, I mean so far it's hundreds of my 13,000 songs.
    Now I COULD use the 'Super Remove Dead Tracks' script from Doug's to find all the broken files then re-add the whole library, but it will add all the old songs out of order because they will get a new 'Added' date.
    I could also manually move thru my whole library holding down the arrow key for 'Next' to find all the broken links then go thru, select them, and use the 'iTunes Track CPR' script from Doug's to re-add them to the library with ratings intact, but still they will be out of order time-wise.
    I cannot find a script that will parse my library, find broken links, and re-associate them with their tracks, nor can I figure out why this happened and any other way to fix it. Repairing permissions hasn't helped. Any other ideas?

    Just to follow up with a more comprehensive example of looping through a Library to detect & repair "missing" file-tracks:
    <pre>
    property kErrAENoSuchObject:(-1728)
    on run
    tell (application "iTunes")
    set theLibraryPlaylist to (first library playlist)
    tell theLibraryPlaylist
    set theNumCandidateFileTracks to (count (every file track))
    repeat with i from 1 to theNumCandidateFileTracks by 1
    -- Get a reference to this file-track
    set thisFileTrackRef to (file track i)
    -- Get this file-track's info (useful for debugging, etc.)
    set thisArtist to (artist of thisFileTrackRef)
    set thisAlbum to (album of thisFileTrackRef)
    set thisName to (name of thisFileTrackRef)
    set thisFileTrackInfo to (thisArtist & " > " & thisAlbum & " > " & thisName)
    -- Display a diagnostic message every 500th file-track
    if ((i mod 500) = 0) then
    tell me
    display dialog ("Checking file-track #" & i & ": " & ¬
    return & return & thisFileTrackInfo) ¬
    buttons {"Cancel", "•"} giving up after 2.5
    end tell -- me
    end if
    -- Retrieve this file-track's target file (an AS 'alias' object), if any
    -- {!!! NOTE: Due to a bug in iTunes 7.x+ (esp. when downloading), AS might
    -- be unable to access the 'location' field of some file-tracks !!!}
    try
    set thisFileTrackTargetFile to (location of thisFileTrackRef)
    on error errMsg2 number errNum2
    -- Check whether it's that bizarre error: (-1728) "Can't get location of …"
    if (errNum2 = (kErrAENoSuchObject of me)) then
    -- Set up to just skip this track (assume it's being downloaded)
    set thisFileTrackTargetFile to (anything) -- (Other than 'missing value')
    else (* Re-signal all other errors *)
    error errMsg2 number errNum2
    end if
    end try
    -- Check whether this file-track is "missing" its target file
    if (thisFileTrackTargetFile = (missing value))
    -- Inform the user
    tell me
    display dialog ("Repairing this missing file-track: " & ¬
    return & return & thisFileTrackInfo) ¬
    buttons {"Cancel", "•"} giving up after 2.5
    end tell -- me
    -- Set up this target file's new pathname (e.g., via explicit user input, or
    -- better yet automatically reconstructed from this file-track's tags such
    -- as Artist, Album, Name, Kind, etc.)
    -- ... Translate this file-track's kind into a filename-extension
    set thisKind to (kind of thisFileTrackRef)
    set thisNameExt to "m4a" -- ... Default
    if ({thisKind} is in {("Protected AAC audio file")}) then -- Older DRM'd file
    set thisNameExt to "m4p"
    else if ({thisKind} is in {("MPEG audio file")}) then -- MP3
    set thisNameExt to "mp3"
    else if (thisKind contains "movie file") then -- E.g., interactive booklet
    set thisNameExt to "mov"
    end -- (thisKind = "MPEG audio file") ... else if ... else ...
    -- ... Auto-build this target file's new pathname
    set thisTargetFileNewPathname to ("New Disk:New Path:" & ¬
    thisArtist & ":" & thisAlbum & ":" & thisName & "." & thisNameExt)
    -- Assign this new target file (as an AS 'alias' object) to this file-track
    -- (This is the crucial step that was impossible in older versions of iTunes!)
    set (location of thisFileTrackRef) to (alias thisTargetFileNewPathname)
    end if -- (thisFileTrackTargetFile = (missing value))
    end repeat -- with i from 1 to theNumCandidateFileTracks by 1
    end tell -- theLibraryPlaylist
    end tell -- (application "iTunes")
    end run
    </pre>
    Regards,
    --P

Maybe you are looking for